Step 19 of install
I got threw the install and I ran make relabel. Now I am not sure where my path for modified utilities is. I am trying to follow step 19 but don't know how.
19) Add /usr/local/selinux/bin and /usr/local/selinux/sbin
to your path for the modified utilities.
Thanks,
Chris
Quoted 5 lines · Christopher Carney
I got threw the install and I ran make relabel. Now I am not sure where my path for modified utilities is. I am trying to follow step 19 but don't know how.
19) Add/usr/local/selinux/binand/usr/local/selinux/sbinto your path for the modified utilities.
For RedHat, edit /etc/profile and add the directories to the "pathmunge" lists:
# Path manipulation
if [ id -u = 0 ]; then
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/bin
pathmunge /usr/local/sbin
pathmunge /usr/local/selinux/sbin
fi
pathmunge /usr/X11R6/bin after
pathmunge /usr/local/bin
pathmunge /usr/local/selinux/bin
... also you will probably want to add the SELinux man directory to MANPATH, by editing /etc/man.config and adding:
MANPATH /usr/local/selinux/man
BEFORE the usual system MANPATHs so that your man command will pickup the SELinux man pages before the non-SE system ones.
I'll add this stuff to my FAQ ( http://www.crypt.gen.nz/selinux/faq.html ) in the next update.
Kerry
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Am Donnerstag, 8. Mai 2003 23:26 schrieb Kerry Thompson:
Quoted 24 lines
Quoted 5 lines · Christopher Carney
I got threw the install and I ran make relabel. Now I am not sure where my path for modified utilities is. I am trying to follow step 19 but don't know how.
19) Add/usr/local/selinux/binand/usr/local/selinux/sbinto your path for the modified utilities.For RedHat, edit
/etc/profileand add the directories to the "pathmunge" lists:# Path manipulation
if [id -u= 0 ]; then
pathmunge /sbin
pathmunge/usr/sbin
pathmunge/usr/local/bin
pathmunge/usr/local/sbin
pathmunge/usr/local/selinux/sbin
fipathmunge
/usr/X11R6/binafter
pathmunge/usr/local/bin
pathmunge/usr/local/selinux/bin
Quoted 7 lines
... also you will probably want to add the SELinux man directory to MANPATH, by editing
/etc/man.configand adding:MANPATH
/usr/local/selinux/manBEFORE the usual system MANPATHs so that your man command will pickup the SELinux man pages before the non-SE system ones.
An other possibility is to copy the attached script to /etc/profile.d and you don't need to edit your config files :-)
On my SuSE /etc/profile looks in /etc/profile.d and starts all shell scripts inside this directory. I'm not sure, but on RedHat it should run also.
Carsten