[X4U] OK to keep passwords in Keychain?

Doug McNutt douglist at macnauchtan.com
Sun Dec 4 10:41:30 PST 2005


At 22:05 -0600 12/3/05, net kat wrote:
>Hmmm..I get the feeling yer pullin my leg!

Sometimes I think Steve is pulling my leg with all the fol-de-rol associated with the keychain.

Another option is an old UNIX trick that puts passwords and usernames in a filed .netrc (Note the leading dot) in your home directory. Make the file readable and editable by yourself only (mode 600).

Now the -n option in ftp and curl will pick off required passwords from there.

Yeah. It's not as secure as the keychain but for a machine that's not directly on the internet or in a local network with unknown, to you, users. it's good enough and one hell of a lot simpler.

Google for netrc or check the man page for ftp for more on the format.

-- 
--> Use vowels every day or you'll get consonated <--


More information about the X4U mailing list