Subject: install/7204: /root/.login "Don't login as root, use the su command."
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthew ALDOUS <mda@bdl.mhri.edu.au>
List: netbsd-bugs
Date: 03/22/1999 10:44:26
>Number:         7204
>Category:       install
>Synopsis:       When typing "su -" to become root, .login still says to "use the su command"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 21 15:50:01 1999
>Last-Modified:
>Originator:     
>Organization:
+----------------------------------------------------------------------------+
|Matthew Aldous. Brain Dynamics Laboratory, Mental Health Research Institute.|
|Locked Bag 11, Parkville, Victoria, Australia, 3052. http://www.mhri.edu.au/|
+----------------------------------------------------------------------------+
>Release:        1.3.3
>Environment:
System: NetBSD bdl 1.3.3 NetBSD 1.3.3 (BDL) #2: Tue Jan 19 12:51:37 AEDT 1999 root@bdl:/usr/src/sys/arch/i386/compile/BDL i386
>Description:
Despite using su(1), the installed root .login still says to "use the su command"
>How-To-Repeat:
% su -
Terminal type? [vt100] vt100   
Don't login as root, use the su command.
#
>Fix:
--- /root/.login.orig  Sat Dec 12 09:56:13 1998
+++ /root/.login      Mon Mar 22 10:40:22 1999
@@ -1,2 +1 @@
 tset -Q \?$TERM
-echo "Don't login as root, use the su command."
>Audit-Trail:
>Unformatted:
net
Matthew Aldous