[Bug 528003] New: motd and other infos shown twice
http://bugzilla.novell.com/show_bug.cgi?id=528003 Summary: motd and other infos shown twice Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: ro@novell.com ReportedBy: kukuk@novell.com QAContact: qa@suse.de CC: werner@novell.com Found By: --- /etc/profile and other scripts from aaa_base contains: # # An X session # case "$-" in *i*) if test "$TERM" = "xterm" -a -O "$tty" ; then if test -z "${SSH_TTY}" ; then test ! -f $HOME/.hushlogin -a -s /etc/motd && cat /etc/motd # Go home cd; echo "Directory: $PWD" # Last but not least date fi # # shadow passwd # Note: on normal console this will be done by /bin/login if test -r /var/log/faillog ; then test -x /bin/faillog && /bin/faillog test -x /usr/bin/faillog && /usr/bin/faillog fi fi esac This should be removed completely, it is only shown if you do telnet or something similar from a xterm. And worse, in that case the information are shown twice, since login will show them before. And this code does not honour the other config files like login.defs and PAM config files. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=528003 User werner@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=528003#c1 --- Comment #1 from Dr. Werner Fink <werner@novell.com> 2009-08-04 08:35:05 MDT --- I see the Have a lot of fun... exactly once on the console. And exactly the same for `xterm -ls' ... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=528003 User ro@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=528003#c2 Ruediger Oertel <ro@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Ruediger Oertel <ro@novell.com> 2009-08-04 09:47:07 MDT --- okay removed all but the output of directory and date. motd and faillog are already printed by login, removing duplicates -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com