1,103
edits
(move from denning's page) |
(how to add an admin) |
||
| Line 133: | Line 133: | ||
; problem, the sshfp stuff just has hostname. rather than hostname.lan.london.hackspace.org.uk. | ; problem, the sshfp stuff just has hostname. rather than hostname.lan.london.hackspace.org.uk. | ||
: fix: edit /etc/hosts on the effected machine so that both the long and short versions of the hostname are in there. | : fix: edit /etc/hosts on the effected machine so that both the long and short versions of the hostname are in there. | ||
== Making someone an admin == | |||
* Ask them for an ssh pubkey, prefered username, and the email address they want to use. If they already have an LDAP account then use the same username and email! | |||
* Explain that they will get some automated emails from monitoring systems and cron tasks, if the emails indicate problems then they have a part of the responsibility to fix the problems :) | |||
* On adminstuff add the ssh pubkey as <code>/etc/ansible/lhs/roles/common/files/<username>.pub</code> | |||
* edit <code>/etc/ansible/lhs/vars/defaults.yml</code> and add there details under the users: section | |||
* run ansible as usual | |||
* on turing (which you may not have access to, if not ask a trustee to do it for you) | |||
** add there email to <code>london-hackspace-sysadmins</code> in <code>/etc/aliases</code> | |||
** run <code>newaliases</code> | |||
** add them to the Admins LDAP group: <code>smbldap-groupmod -m <username> Admins</code> | |||