Anonymous

Networking/Procedures: Difference between revisions

From London Hackspace Wiki
(some small updates)
Line 138: Line 138:
* 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!
* 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 :)
* 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 :)
* Point them at https://bugs.london.hackspace.org.uk/projects/london-hackspace/ encourage them to fix issues and add things that they think need fixing.
* Point them at https://github.com/londonhackspace/hackneyroad/issues encourage them to fix issues and add things that they think need fixing. (The Ansible repo has a separate set of issues)
* On adminstuff add the ssh pubkey as <code>/etc/ansible/lhs/roles/common/files/<username>.pub</code>
* 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
* edit <code>/etc/ansible/lhs/vars/defaults.yml</code> and add there details under the users: section
* run ansible as usual
* run ansible as usual
* If it all works *don't forget to commit and push your changes*
* on turing (which you may not have access to, if not ask a trustee to do it for you)
* 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>
** add there email to <code>london-hackspace-sysadmins</code> in <code>/etc/aliases</code>
** run <code>newaliases</code>
** run <code>newaliases</code>
** add them to the Admins LDAP group: <code>smbldap-groupmod -m <username> Admins</code>
** add them to the Admins LDAP group: <code>smbldap-groupmod -m <username> Admins</code>