annotate previous-work/more_control_helpers/etc/bash_profile @ 9:a0c0ccd22ca5
progress on setuid wrapper script.
author |
Robert McIntyre <rlm@mit.edu> |
date |
Wed, 09 Jan 2013 04:53:59 +0000 |
parents |
d6bef198ae71 |
children |
|
rev |
line source |
rlm@1
|
1 # The wrappers directory must be the first entry in the PATH.
|
rlm@1
|
2 # The /tools/bin directory must be the last entry in the PATH and can be
|
rlm@1
|
3 # removed at the end of Chapter 6.
|
rlm@1
|
4 export PATH=/usr/lib/pkgusr:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
|
rlm@1
|
5
|
rlm@1
|
6 # Make prompt reflect that we are a package user.
|
rlm@1
|
7 export PROMPT_COMMAND='PS1="package \u:"`pwd`"> "'
|
rlm@1
|
8
|
rlm@1
|
9 # Go to the home directory whenever we su to a package user.
|
rlm@1
|
10 cd
|