Alle 17:44, mercoledì 18 ottobre 2006, Arden ha scritto:
> Using-blfs-book-cvs-html-2006-10-12
>
> After installing, linux-PAM-0.99.4.0 then re-installing Shadow-4.0.15
> and following the book's configuration scripts. when I su to root,
> root's PATH= /bin:/usr/bin.
>
> When I login as root the PATH looks right;  /usr/local/sbin:/usr/
> local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
>
> Looking at all the files, I see that /etc/security/pam_env.conf is
> entirely commented out except for one line at the end of the file;
> PATH    DEFAULT=/bin:/usr/bin     OVERRIDE=${PATH}
>
> Is this what is supplying the PATH? Can't figure out how this
> happened. Where should I fix this?

Hi, /etc/security/pam_env.conf is installed so by default.
You can use:
su -
(notice the minus sign after the su command) to obtain the same
environment you have at login.
Alessandro Alocci
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to