Hi Leo, > > man bash has a good explanation about bash startup. Particularly, > INVOCATION. You basically got it right. :) > > When you su it is a non-login shell therefore, /etc/profile is not > executed. Since it is your system, you can change the scripts to > behave the way you want. (snap) > > I imagine the startup scripts are setup this way for security reasons. (snap)
Thanks Shawn for your explanation. In fact I had changed .bashrc to set PATH and PS1. I kinda overlooked umask at the time, I guess. I began to wonder if my set-up was right when I noticed that building LFS 6.2 (with BLFS 6.1 as host) in the chroot phase, I made group-writable system files, due to umask set at 0002. Leo. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page