This is an old revision of the document!
Adding users can be done using two convenience scripts. (See Below for deleting users)
AddUser DelUser
Both of these scripts can operate in either text or graphical mode. Currently they must be started in a terminal window as the root
or administrative user on the administrative machine (machine name “limulus”). (See Becoming The Administrative User)
To add users in either text of graphic mode you will need the following information:
In addition, the registration process will ask if you wan to provide HDFS
(Hadoop Distributed File System) access to the user. It is recommend that only those users that specifically need HDFS
access approved for this option.
The options for the scripts can be shown by using the -h
option.
# AddUser -h Basic script usage: AddUser [-h] [-g] [-u user-file] -h for this help -g to use GUI menus, otherwise terminal version is used -u "filename" to use a file with a list of users. The file format must be tab separated, with the following fields: user-login <tab> first-name <tab> last-name <tab> email-address A confirmation of each user is required. # DelUser -h Basic script usage: DelUser [-h] [-g] -h for this help -g to use GUI menus, otherwise terminal version is used
Start the script as root
in a terminal window.
$AddUser -g
And a graphical window will open.
Enter the appropriate fields and click OK
The process is straight forward and most inputs are checked.
In text mode, you will be guided through the operations from the terminal. This option can be used when you don't have full graphic (X-Windows) to the Administrative system (i.e. you are doing this from a remote location). To use the text mode simply type the following in a terminal on the administrative node (as the root user)
AddUser Enter the new users login name:
The script will continue with the same questions found in the graphic version.
When using the -u “filename”
option with AddUser, a file can be used to add users in one step. To use a file with a list of users. The file format must be tab separated, with the following fields:
user-login <tab> first-name <tab> last-name <tab> email-address
A confirmation of each user is required so that incomplete or wrong information can be skipped.