Sysadmin/Add shell account: Difference between revisions
No edit summary |
remote-useradd should no longer be run as root |
||
| (One intermediate revision by one other user not shown) | |||
| Line 29: | Line 29: | ||
== Adding accounts on other machines == | == Adding accounts on other machines == | ||
Please '''do not create accounts directly with useradd | Please '''do not create accounts directly with useradd!''' Instead, copy the existing credentials from sunjammer: | ||
* Log into sunjammer, forwarding your ssh keys with the ssh-agent: | * Log into sunjammer, forwarding your ssh keys with the ssh-agent: | ||
ssh -A sunjammer | ssh -A sunjammer | ||
* Run this shell script to create a user and copy the credentials from sunjammer: | * Run this shell script to create a user and copy the credentials from sunjammer: | ||
| Line 44: | Line 42: | ||
Typically, you'll want to add users to groups <tt>sudo</tt>, <tt>adm</tt>, <tt>libvirtd</tt> and <tt>docker</tt>. | Typically, you'll want to add users to groups <tt>sudo</tt>, <tt>adm</tt>, <tt>libvirtd</tt> and <tt>docker</tt>. | ||
== See also == | == See also == | ||