5,958 reputation
622
bio website timkennedy.net
location Virginia
age 43
visits member for 3 years, 5 months
seen Jul 25 at 15:47
Father, Husband, SysAdmin, Brother, Son. In reverse chronological order.

Jul
20
reviewed Approve suggested edit on Spoofing or removing DHCP client hostname in response to DHCP server
Jul
13
awarded  Nice Answer
Jul
2
awarded  Good Answer
Jun
20
comment Script runs manually but not from cron
Sorry. I meant to say a reduced environment. Cron often doesn't run script with the same environment a user would get in an interactive shell.
Jun
19
comment Script runs manually but not from cron
Thanks, @l0b0 . I guess it just looks funny to me. :)
Jun
19
answered Script runs manually but not from cron
Jun
19
reviewed Approve suggested edit on Script runs manually but not from cron
Jun
16
comment Disallow Changing of Passwords
good suggestion! using a VM in this way would provide a good learning environment.
Jun
16
comment Where should I place my websites files with multiple vhosts?
While the answers are correct that it doesn't really matter where you put them, I would offer that /var/www/site1, /var/www/site2 is a widely used convention that will be familiar to many folks, so standardizing there can be beneficial.
Jun
16
comment Disallow Changing of Passwords
There's really no truly functional way, without going down the rabbit hole of all possible commands, since you have to exclude commands you don't want a user to run, rather than having to specifically include commands they are allowed to use. Meaning you have to prevent things like 'sudo bash' followed by 'passwd root', and if you disallow '/bin/bash', you have to catch 'sudo cp /bin/bash /tmp/bash ; sudo /tmp/bash'.
Jun
16
comment Renaming files with its path name
Thanks, @Graeme. Yet another interesting tool I was unfamiliar with. :)
Jun
16
comment Renaming files with its path name
I like this, but only my linux box has prename. Not on the Mac, nor on Solaris. Interesting tool, though, thanks for introducing it to me.
Jun
16
answered Renaming files with its path name
Jun
11
awarded  Caucus
Jun
11
answered zfs replication temporary file
Mar
26
reviewed Reject suggested edit on Enable superuser when logged in with another user
Mar
26
reviewed Reject suggested edit on What's the easiest way to set up a 2-hour alarm?
Feb
12
awarded  Yearling
Dec
25
comment How does the piping in this command ultimately achieve to kill the process?
actually xargs will batch the commands into groups of 50 or so, so it runs kill 1 1804, and if there were more than 50 PIDs, it would execute more batches. This is why it can be beneficial to do ls | xarg -iz rm z instead of deleting files one by one.
Dec
25
comment Is there any point in using `sudo` when you are the sole user of your machine?
Also, the use of sudo increases the likelihood that you remain the only user of your computer.