1,356 reputation
715
bio website mikelward.com
location Mountain View, CA
age 33
visits member for 5 years, 3 months
seen Aug 17 at 14:50

Computer guy from Australia now living in the US.

Part sysadmin, part developer, part web developer.

My name is pronounced like "Michael".


Jan
24
comment Wget a script and run it
Your apt-get install lines? If apt-get would install any extra dependencies, it will ask you, and if it can't it will just exit to be safe. Either add all the dependent packages to the command line arguments, or consider adding -y, e.g. apt-get -y install...
Jan
24
comment AIX swap usage shows ~20%, not even close to maximum load
You also didn't say how much RAM and swap the system had. Try running lsps -s.
Jan
24
comment AIX swap usage shows ~20%, not even close to maximum load
Can you display the VSZ for each process as well as/instead of the SZ? e.g. ps -o pid,ppid,sz,vsz?
Jan
20
comment How to host files from public_html while still preserving security of ~/.ssh/
"Anonymous" is simply wrong. If you are looking for a succinct way to say it, how about "Grant all users search access on your home directory (chmod a+x /home/steve)."
Jan
20
comment How to host files from public_html while still preserving security of ~/.ssh/
+1, but please correct "Anonymous" to "All", as noted by staticsan.
Jan
20
comment How to host files from public_html while still preserving security of ~/.ssh/
I think OpenSSH will, because write access (note the a+rwx) to /home/steve means any user can mv /home/steve/.ssh /home/steve/.ssh.old then create a new /home/steve/.ssh and corresponding authorized_keys. But in that case, checking that steve owned authorized_keys should still be sufficient, so I'm not sure why.
Jan
19
comment Passwords longer than 8 letter in Red Hat 4
It could be using the older crypt algorithm rather than something newer like MD5 or Blowfish, for backwards compatibility. Doesn't really explain the 8-char/16-char discrepancy, but searching for "NIS" and "MD5" might help.
Jan
19
comment How to get given users “Desktop Path”
They specifically asked for a general and correct way, which also handles the case where the directory is not called "Desktop".
Dec
22
comment IPTables: allow SSH access only, nothing else in or out
Thanks for picking that up MadHatter. RELATED? It says things like ICMP errors (hopefully related to the connection attempt) are "RELATED". So if the server is not running, you'd get an ICMP port unreachable immediately. But honestly, it's just an incantation I now type without thinking. What's the downside?
Dec
21
comment tail -f and then exit on matching string
No problem! Glad to help.
Dec
21
comment tail -f and then exit on matching string
Perhaps you saw an earlier draft I was editing. The above version takes 20 seconds, as shown by time ./test2.sh.
Dec
20
comment Bind and Open Ports
That sounds like a different problem. Make sure /etc/resolv.conf is correct. Probably best to create a new question if that doesn't help.
Dec
20
comment Please explain this BASH code (one line)
Dennis rightly pointed out that there is a difference is the case of var being set but null. Updated my answer to reflect that.
Dec
20
comment Please explain this BASH code (one line)
Missed that part. Thanks Dennis. Will update the answer.
Dec
20
comment Please explain this BASH code (one line)
Both are valid. ${var-default} is the old way from Bourne Shell days. ${var:-default} is specified by POSIX. Both work in bash.
Dec
20
comment Interface associated with route
"is this a safe assumption?" Might not be. The format is right, but you might have multiple default routes. (In that case I think the route with the lowest metric is used.)
Dec
20
comment Bind and Open Ports
Looks like Fedora (and so I assume CentOS) calls /usr/sbin/named to start it, so you might be able to get away without it. Try it and see. That's assuming you don't want to use any of the administration commands (see link below).
Dec
20
comment Bind and Open Ports
I'm not sure that's correct. On Debian at least, /etc/init.d/bind9 relies on it. If you disable rndc, you can't start or stop the service.
Dec
20
comment Maximum partition size on Windows 7
By "Server 2003 SP1 and above", I was including Vista and 7.
Dec
17
comment Rpmbuild changes current directory
Can you provide the full paths involved? What does rpmbuild --showrc print?