view previous-work/more_control_helpers/etc/bash_profile @ 20:c75924bd38e3

fix security hole relating to path for package user.
author Robert McIntyre <rlm@mit.edu>
date Thu, 10 Jan 2013 04:25:17 +0000
parents d6bef198ae71
children
line wrap: on
line source
1 # The wrappers directory must be the first entry in the PATH.
2 # The /tools/bin directory must be the last entry in the PATH and can be
3 # removed at the end of Chapter 6.
4 export PATH=/usr/lib/pkgusr:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
6 # Make prompt reflect that we are a package user.
7 export PROMPT_COMMAND='PS1="package \u:"`pwd`"> "'
9 # Go to the home directory whenever we su to a package user.
10 cd