Changes

no edit summary
Line 29: Line 29:  
== Adding accounts on other machines ==
 
== Adding accounts on other machines ==
   −
Please '''do not create accounts directly with useradd/userdel'''. Instead:
+
Please '''do not create accounts directly with useradd/userdel'''. Instead, copy the existing credentials from sunjammer:
   −
* Log into sunjammer, forwarding your ssh agent:
+
* Log into sunjammer, forwarding your ssh keys with the ssh-agent:
    
  ssh -A sunjammer
 
  ssh -A sunjammer
   −
* Become root:
+
* Become root with <tt>sudo -i</tt>. This will preserve your <tt>$SSH_AUTH_SOCK</tt>
 
  −
  sudo -i
      
* 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:
    
  remote-useradd <remotehost> <user> <groups...>
 
  remote-useradd <remotehost> <user> <groups...>
 +
 +
Needless to say, remote-useradd requires your ssh key to be already installed in the remote server.
    
Typically, you'll want to add users to groups <tt>sudo</tt>, <tt>adm</tt>, <code>libvirtd</tt> and <code>docker</tt>.
 
Typically, you'll want to add users to groups <tt>sudo</tt>, <tt>adm</tt>, <code>libvirtd</tt> and <code>docker</tt>.
 +
    
== See also ==
 
== See also ==