Sysadmin/Add shell account: Difference between revisions

No edit summary
No edit summary
Line 17: Line 17:


  system-useradd <username> <first_name> <last_name> <email>
  system-useradd <username> <first_name> <last_name> <email>
'''NOTE:''' sudo alone does not work because it doesn't switch $HOME to /root,
which is necessary to make the ldap commands source <code>/root/.ldaprc</code>.


At some point the script will prompt you to paste the user's ssh key.
At some point the script will prompt you to paste the user's ssh key.