Create new user: Difference between revisions

From DISI
Jump to navigation Jump to search
No edit summary
Line 13: Line 13:
  Select Generic: User Account
  Select Generic: User Account
  Fill in appropriate sections
  Fill in appropriate sections
** John might want future home directory in /nfs/ex9/work
  -password should be encrypted with sha512
  -password should be encrypted with sha512
  -group should be visitors
  -group should be visitors
   
  Keep the uid LDAP suggested and edit in the one you picked later.
 
==== Create User's Home Directory ====
Log in as root on gimel
$ mkdir /nfs/home/<username>
Or on ex9 (qof)
$ mkdir /export/ex9/work/<username>
 
 


[[Category: Ben]] [[Category:Sysadmin]]
[[Category: Ben]] [[Category:Sysadmin]]

Revision as of 21:29, 13 September 2019

Identify a UID

Check if a uid that is not taken by any other users. Start from 150**

On CentOS 6
$ getent passwd | grep 150**
On CentOS 7
$ id 150**

Create users and superuser on the LDAP GUI:

https://ds.ucsf.bkslab.org/ldapadmin/cmd.php

To create a visitor:

Click OU=Visitors
Click Create new entry here
Select Generic: User Account
Fill in appropriate sections
** John might want future home directory in /nfs/ex9/work
-password should be encrypted with sha512
-group should be visitors
Keep the uid LDAP suggested and edit in the one you picked later.

Create User's Home Directory

Log in as root on gimel

$ mkdir /nfs/home/<username>

Or on ex9 (qof)

$ mkdir /export/ex9/work/<username>