Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'The importance of segregation' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
The importance of segregation
Authored by: macubergeek on Feb 01, '06 03:00:45AM

Here's the thing. If you use your personal mac on the job, you probably don't want to mix your employer's usernames and passwords to things like routers in with your other stuff.

One idea I've had is to create a logon.command file which is a double clickable expect script which would log me onto remote hosts. like so:

#!/usr/bin/expect --
spawn ssh
expect "password"
send "my_password\r"

This will store my password on an encrypted disk, which isn't mixed in with my other personal passwords...I can move the *.img file around on a thumb drive, and it will log me in and give me a shell to the remote host too.

The problem with the keychain is that if you lose control of your logon password you lose everything else stored in the keychain too.

[ Reply to This | # ]