[opensuse] Bug added; bashrc script now calls login-profile script
I'm not sure exactly when it was added, but someone thought it would be good to get rid of the system login script that is called for "interactive logins". I don't think this was intended and believe it to be a mistake. There is code in the system "bashrc" script, now, that calls the system "login" script (/etc/profile). The login specific scripts are supposed to be called for "interactive" logins -- not every time "/etc/bashrc.bashrc" is called. The login-specific bash scripts belong in "/etc/profile.d". The problem lines, added in /etc/bash.bashrc are: --------- # # Just in case the user excutes a command with ssh # if test -n "$SSH_CLIENT" -a -z "$PROFILEREAD" ; then . /etc/profile > /dev/null 2>&1 fi --------- This doesn't get called with "RSH" commands (insecure anyway, ssh usually substituted) but it does get called with "scp" and "rsync" (assuming config'ed to use with RSH). Please keep /etc/bashrc.bashrc as it's equivalence to .bashrc and use /etc/profile (and /etc/profile.d/) for login. Should I submit this somewhere as a bug? Linda -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi Linda, * Linda Walsh (suse@tlinx.org) [20070212 02:53]:
Please keep /etc/bashrc.bashrc as it's equivalence to .bashrc and use /etc/profile (and /etc/profile.d/) for login.
Should I submit this somewhere as a bug?
You should always report bugs if you think they're serious enough to be fixed. The address as always is bugzilla.novell.com. If you report this bug, please add me as CC to that bug. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Linda Walsh
-
Philipp Thomas