Sysadmin/Add shell account: Difference between revisions

remote-useradd should no longer be run as root
 
Line 34: Line 34:


  ssh -A sunjammer
  ssh -A sunjammer
* Become root with <tt>sudo -i</tt>. This will preserve your <tt>$SSH_AUTH_SOCK</tt>


* 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: