diff options
author | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-05-04 21:46:20 -0400 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-05-04 21:46:20 -0400 |
commit | 60b8c51d6772a1bd8ba9b2416968a74c09000f3b (patch) | |
tree | 661b8a2233a3511124fd52417a020968991e66de /rhesus/README | |
parent | f047b198433a0781e35b5ca0cea0bc532d9a64ce (diff) |
major overhaul of rhesus. it now handles creation of both
authorized_keys and known_hosts files, and is capable of being used by
an administrator to maintain authorized_keys files for users.
monkeysphere.conf file was updated for use by system administrator.
Diffstat (limited to 'rhesus/README')
-rw-r--r-- | rhesus/README | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/rhesus/README b/rhesus/README index 226361c..4d383d5 100644 --- a/rhesus/README +++ b/rhesus/README @@ -1,7 +1,30 @@ -rhesus is the monkeysphere authorized_keys generator. +rhesus is the monkeysphere authorized_keys/known_hosts generator. -It's goal is to take a user's auth_user_ids file, which contains gpg -user ids (and possibly authorized_keys options), use gpg to fetch the -keys of the specified users, do a monkeysphere policy check on each -id, and generate authorized_keys lines for verified id. +In authorized_keys mode, rhesus takes an auth_user_ids file, which +contains gpg user ids, uses gpg to fetch the keys of the specified +users, does a monkeysphere policy check on each id, and uses gpg2ssh +to generate authorized_keys lines for each verified id. The lines are +then combined with a user's traditional authorized_keys file to create +a new authorized_keys file. +In known_hosts mode, rhesus takes an auth_host_ids file, which +contains gpg user ids of the form ssh://URL, uses gpg to fetch the +keys of the specified hosts, does a monkeysphere policy check on each +id, and uses gpg2ssh to generate a known_hosts lines for each verified +id. The lines are then combined with a user's traditional known_hosts +file to create a new known_hosts file. + +When run as a normal user, no special configuration is needed. + +When run as an administrator to update system-maintained +authorized_keys files for each user, the following environment +variables should be defined first: + + MS_CONF=/etc/monkeysphere/monkeysphere.conf + USER=foo + +For example, the command might be run like this: + + for USER in $(ls -1 /home) ; do + MS_CONF=/etc/monkeysphere/monkeysphere.conf rhesus --authorized_keys + done |