🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #10090

Re: Putting "login root" in /.profile: a bad idea

#10090
From: Wayne Folta
Date: Sat, 07 Jan 1989 01:18
12 lines
1233 bytes
I did not think that "login root" by itself is sufficient to stop an
intruder.  After 60 seconds, doesn't the login timeout, and you proceed on
to single-user mode?  I seem to remember this, as I then added "haltsys"
in my .profile, to avoid this.  Was I hallucinating?

Wayne Folta          (folta@tove.umd.edu  128.8.128.42)

[[ If I recall correctly, sh will exec login rather than run it as a
subprocess.  If it times out, the process will disappear and init will
proceed on to multi-user mode.  However, if you're .profile said
"/bin/login" instead of "login", sh will not recognize it as a command
that needs special handling.  --wnl ]]
Technical Details
Message-ID: <15212@mimsy.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!lll-winken!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request
References: <8812122035.AA23342@csun.edu> <220@forsight.Jpl.Nasa.Gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!lll-winken!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: folta@tove.umd.edu (Wayne Folta)
Newsgroups: comp.sys.sun
Subject: Re: Putting "login root" in /.profile: a bad idea
Message-ID: <15212@mimsy.UUCP>
Date: 7 Jan 89 01:18:42 GMT
References: <8812122035.AA23342@csun.edu> <220@forsight.Jpl.Nasa.Gov>
Sender: usenet@rice.edu
Organization: U of Maryland, Dept. of Computer Science,gs
Lines: 12
Approved: Sun-Spots@rice.edu
Original-Date: 30 Dec 88 22:55:36 GMT
X-Sun-Spots-Digest: Volume 7, Issue 91, message 2 of 13