Plan 9: Password Management
An authentication server manages users credentials in a Plan 9 grid. However, if you are just getting started, probably it would be a better idea to directly use factotum for managing credentials for various services.
Create a file keys with the following content.
key proto=pass service=ftp server=10.0.2.2 user=anand !password=<password>
key proto=wpapsk service=wpa essid=Tomato24 !password=<password>
Load the keys in factotum.
read -m keys > /mnt/factotum/ctl
# Verify
cat /mnt/factotum/ctl
Now you can log into the services without manually entering the password.
ftpfs 10.0.2.2
aux/wpa -s Tomato24 /net/ether1
Finally, you can add the command to $home/lib/profile so that it will be executed automatically during bootup.
Comments
Post a Comment