Hello all,

If I figured it out correctly, using su to change to root runs the 
/root/.bashrc 
script, which runs the /etc/bashrc script. So, when using the standard .bashrc 
and bashrc scripts from the BLFS-book, the /etc/profile.d/*.sh are not run 
after 
su-ing to root. This means for instance that the $PATH is reset, which I've 
always found a bit peculiar, but thought it was intentionally set-up that way.
Now I've noticed that the umask.sh is also not run after su-ing, so the umask 
remains set at 0002, which seems not to be intentional.
Am I missing something here?

Leo.

-- 
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