Sysadmin/Add shell account: Difference between revisions
Added note about accents |
No edit summary |
||
| Line 1: | Line 1: | ||
'''Users looking for a Sugar Labs account should go to [[Service/Account]].''' | '''Users looking for a Sugar Labs account should go to [[Service/Account]].''' | ||
== Guidelines == | == Guidelines == | ||
| Line 28: | Line 26: | ||
The email is also copied to ~user/welcome, in case they loose the | The email is also copied to ~user/welcome, in case they loose the | ||
original message. | original message. | ||
== Adding accounts on other machines == | |||
Please '''do not create accounts directly with useradd/userdel'''. Instead: | |||
* Log into sunjammer forwarding your ssh agent (ssh -A) | |||
* Become root with `sudo -i` | |||
* Run this shell script to create a user and copy the credentials from sunjammer: | |||
remote-useradd <remotehost> <user> <groups...> | |||
Typically, you'll want to add users to groups `sudo`, `adm`, `libvirtd` and `docker`. | |||
== See also == | == See also == | ||