463 reputation
28
bio website keith-s-thompson.github.com
location San Diego, CA
age 55
visits member for 3 years, 1 month
seen Aug 22 at 20:06

I'm a programmer and all-around nerd living in San Diego, California.
I work at JetHead Development Inc.

E-mail: Keith.S.Thompson@gmail.com


Jul
11
comment How to use rsync over FTP
Looking at the csync web page, it supports sftp but there's no mention of support for plain ftp.
May
2
comment How to hide a password passed as command line argument?
@voretaq7: Yes, as I explicitly acknowleged in the last paragraph of my answer.
May
2
answered How to hide a password passed as command line argument?
Oct
11
comment cannot delete file with rm -rf
Can you mv the offending file somewhere else? That doesn't solve the problem, but it would at least get it out of your way.
Aug
4
awarded  Yearling
Jan
5
comment How to cd into a directory with this name “-2” (starting with the hyphen)?
@sergiol: Either cd -- -- or cd ./-- should work.
Oct
9
comment I've installed “dash” but still see “bash” when I login via SSH
I'd run type -p dash first, just to be certain the system can find it. You don't want to risk setting your default shell to an error message. (Ok, it wouldn't actually do that, but still.)
Sep
25
revised Can a file that is executable be read?
Minor update
Aug
4
awarded  Yearling
Jul
9
revised Can a file that is executable be read?
Mention setuid
Jun
12
comment How to make folders 00-99 with a single command in Ubuntu?
@Patrick: Yes, you can: mkdir `seq -w 0 99` (I couldn't avoid the extra space). See here, but it looks like the trick of including spaces in the delimiters doesn't work here.
May
18
comment Is a Unix group without an entry in /etc/group valid?
In fact you can set ownership to an unnamed group. With GNU coreutils, chgrp +1234 foo sets the group ownership of FOO to the numeric gid 1234. Other versions of the chgrp command might not support this, but the chown system call takes a numeric gid_t argument. Group names are mainly for convenience.
Feb
25
awarded  Critic
Feb
16
comment is it safe to pass passwords in plaintext to a script if you use subshells?
My point, frankly, is that your answer doesn't really provide any information. Some discussion of why it might or might not be a security risk would be useful. It's not "as safe as you deem it to be"; it's as safe as it actually is. (That's not informative either, but I'm not trying to answer the question.)
Feb
16
comment is it safe to pass passwords in plaintext to a script if you use subshells?
Yes; on the other hand, no.
Feb
12
comment Copying Cygwin installation from one computer to another?
I know this doesn't answer your question, but you could just install everything (perhaps manually excluding a few big packages that you know you don't want). If you have a decently sized hard drive, it will probably take less time and effort than you'd spend deciding weeding out what you don't want. Of course if the point is to exactly duplicate an existing system that doesn't help.
Feb
6
answered cron job gives me permission denied errors when running
Jan
23
comment Can a file that is executable be read?
@Sairam: Experiment says no: chmod 111 hello ; gdb ./hello says ./hello: Permission denied.; r says No executable file specified.
Jan
23
awarded  Nice Answer
Jan
20
revised Can a file that is executable be read?
Wrong word