MAS user setup

From MCEWiki
Revision as of 15:11, 11 June 2008 by 142.103.235.46 (talk) (Adding a user)

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 -s /bin/bash 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