6,248 reputation
723
bio website timkennedy.net
location Virginia
age 43
visits member for 3 years, 9 months
seen 2 days ago
Father, Husband, SysAdmin, Brother, Son. In reverse chronological order.

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.
Dec
23
revised How to show network adapters with their statistics?
improved formatting, expanded answer, added the '-s' option to netstat.
Dec
23
answered How to show network adapters with their statistics?
Dec
22
comment Gives access to root user for a period of time
Does the user require root access? Or just elevated privileges for specific tasks? As @Gilles mentioned, once you give someone root, there's really no way to guarantee that you can take it back. You'd be better served putting the effort into designing a role account, or a sudo profile that provides exactly the required privileges, with nothing extra.
Dec
16
reviewed Approve suggested edit on Changing hostname doesn't change the terminal name
Dec
16
reviewed Reopen Show application window on workspace on which application was called (dmenu, terminal)
Dec
16
reviewed Close What tool to use to monitor network issues?
Dec
16
comment iSCSI device mapped to different SCSI device
This OP's question wasn't really what I was looking for, but this answer turned out to be the answer I needed. Thank you.
Dec
5
awarded  Nice Answer
Nov
14
comment Is it possible to find out what program or script created a given file?
Sorry. site got hacked, and was down for a while. new page is at timkennedy.net/2010/12/logging-shell-commands-to-syslog-on.html