Difference between revisions of "MAS user setup"
From MCEWiki
Line 25: | Line 25: | ||
source $MAS_SCRIPT/mas_library.bash | source $MAS_SCRIPT/mas_library.bash | ||
source $MAS_TEMPLATE/mas_aliases.bash | source $MAS_TEMPLATE/mas_aliases.bash | ||
+ | |||
+ | |||
+ | ---- | ||
+ | Up to [[ MAS ]] |
Revision as of 14:40, 13 March 2008
Care must be taken when adding new users in order that
- the new user can access the MAS binaries, scripts, and IDL projects
- the new user's actions do not interfere with other users of the system
Adding a user
This can be done from the graphical manager, but since you're here you might as well use these commands:
sudo useradd -m -g mce new_user sudo passwd new_user
Note that the primary group of the user should be the "mce" group. This is so that temporary files can be overwritten by other users.
Setting up the user's environment
Add the following lines at the end of the .bashrc file:
# MAS! umask 002 source /usr/mce/mce_script/template/mas_env.bash
MAS/IDL users will need to add $MAS_IDL/mas to their path, e.g.
IDL_PATH="<IDL_DEFAULT>:$MAS_IDL/mas"
For additional command-line functionality, engineering users may also want to add
source $MAS_SCRIPT/mas_library.bash source $MAS_TEMPLATE/mas_aliases.bash
Up to MAS