diff options
author | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-05-23 19:01:50 -0400 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-05-23 19:01:50 -0400 |
commit | 6b83b50141e37e2926333dc1aa987bfb50317b5b (patch) | |
tree | f8a9e1ad0165eb3b1abd72c03156718ca3544fca /doc/README | |
parent | 60b8c51d6772a1bd8ba9b2416968a74c09000f3b (diff) |
major overhaul of rhesus:
- much more sophisticated validity checking of keys/uids
- broke out more functions
- cleaned-up/simplified code
- changed to new variable naming standard
Diffstat (limited to 'doc/README')
-rw-r--r-- | doc/README | 49 |
1 files changed, 46 insertions, 3 deletions
@@ -1,5 +1,48 @@ - Monkeysphere - ------------ +Monkeysphere README +------------------- +Default file locations: -This is the README! +MS_HOME=~/.config/monkeysphere +STAGING_AREA=$MS_HOME +GNUPGHOME=~/.gnupg +$MS_HOME/monkeysphere.conf +$MS_HOME/auth_host_ids +$MS_HOME/auth_user_ids +$STAGING_AREA/host_keys/KEYHASH +$STAGING_AREA/known_hosts +$STAGING_AREA/user_keys/KEYHASH +$STAGING_AREA/authorized_keys + +For a user to update their ms known_hosts file: + +$ rhesus --known_hosts + +For a user to update their ms authorized_keys file: + +$ rhesus --authorized_keys + +A system can maintain ms authorized_keys files for it's users. Some +different variables need to be defined to help manage this. The way +this is done is by first defining a new MS_HOME: + +MS_HOME=/etc/monkeysphere + +This directory would then have a monkeysphere.conf which defines the +following variables: + +AUTH_USER_FILE="$MS_HOME"/auth_user_ids/"$USER" +STAGING_AREA=/var/lib/monkeysphere/stage/$USER +GNUPGHOME=$MS_HOME/gnupg + +To update the ms authorized_keys file for user "foo", the system would +then run the following: + +# USER=foo MS_HOME=/etc/monkeysphere rhesus --authorized_keys + +To update the ms authorized_keys file for all users on the the system: + +MS_HOME=/etc/monkeysphere +for USER in $(ls -1 /etc/monkeysphere/auth_user_ids) ; do + rhesus --authorized_keys +done |