The basic user environment is determined by the resource scripts and configuration file located in the users home directory and in the "standard" system locations.
I. Adding and deleting users
Until the FUE Systools are ported to Linux, we are left to add users to systems, and manually adding user and group ids. There are 2 ways to accomplish this:
A. Command line interface
1. groupadd and groupdel
a. groupadd -g 5023 oss
2. useradd and userdel
a. useradd -u 9027 -g 5023 -s /bin/tcsh
B. GUI interface (X windows)
1. Use usercfg
a. Press "Add."
b. Enter Username.
c. Press the down arrow next to the "Encrytped password" field and select "Change."
d. Another window will pop up. Enter the password and hit return. Enter it again to verify, then press "Done" to finish.
e. Enter UID.
f. Enter GID.
g. Enter pertinent information (optional).
h. Choose a shell.
i. Press Done.
j. Save changes and press Quit.
k. Another Verification window will pop up, press "Save and Quit."
II. System "dot" files. These are sourced by the respective
shell before the users home dot files. They come from the rpm package 'setup':
/etc/bashrc
/etc/profile
/etc/csh.cshrc
III. Personal "dot" files.
A. Upon creation of a user account these files are copied from /etc/skel to the users home directory. Some of these files come from the etcskel rpm package, the others come from the fermi-ups package built at Fermilab:
.Xdefaults
.bash_logout
.bash_profile
.bash_profile.orig
.bashrc
.bashrc.orig
.cshrc
.login
.profile
.shrc
The files ending in .orig are the original files from etcskel. The corresponding files without the .orig came from the fermi-ups package.