Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: peterm@tonks.EECS.Berkeley.EDU (Peter Mardahl)
Subject: Re: Accidental ROOT login!
Date: 3 Mar 1995 21:52:38 GMT	[thread overview]
Message-ID: <3j8336$f90@agate.berkeley.edu> (raw)
In-Reply-To: 3j7boh$i8f@mordred.cc.jyu.fi

In article <3j7boh$i8f@mordred.cc.jyu.fi>, Marty.! <pauley@qub.ac.uk> wrote:
>Hello
>
>One of the students here at Queen's recently complained of
>"not having his stuff" when he logged in.
>When he logged in again to demonstrate, we were greeted with the message
>	No directory!  Logging in with home=/
>and then he was presented with a root shell!

>Restoring his directory from a backup cured the problem,
>but what could have caused it?  How can we stop it happening again?
>


I have had this happen whenever my home directory was unavailable for some
reason.  You don't actually get a root shell.  It is just that when
it can't find your home directory, it puts you in / to start with,
and it cannot find any .files, so it cannot initialize your prompt properly.

I bet this person didn't actually have a root shell but only a shell with
# 
as the prompt.

If it happens again, make sure he is actually root and not himself by
typeing 'whoami'.

If it says 'root' then you do have problems.

As to preventing it happening again, make sure that people's home directories
are around all the time.  It seems like his directory got accidentally
damaged or deleted so that the system couldn't use it at the time he logged on.


Regards,

PeterM


  parent reply	other threads:[~1995-03-03 21:52 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-03 15:14 Accidental ROOT login! Marty.!
1995-03-03 20:41 ` Benard Aart Mesander
1995-03-03 21:43 ` levy
1995-03-04  4:44   ` Tracy R. Reed
1995-03-06 12:28     ` Alex Le Heux
1995-03-06 16:57     ` levy
1995-03-07  4:35       ` John Blackburn
1995-03-07 13:54         ` Paul Repacholi
1995-03-08 23:29           ` John Blackburn
1995-03-07 22:59         ` Brian A. Bucher
1995-03-09 10:11         ` Turloch O'Tierney
1995-03-06 20:20   ` Jonathan Adair
1995-03-07 18:26     ` Murthy Nyayapati
1995-03-08 22:03       ` Bruce Jackson
1995-03-09 22:41         ` Stephen Wray
1995-03-10  5:34           ` Scott Howard
1995-03-07  9:42   ` Ade Barkah
1995-03-07 19:07     ` levy
1995-03-07 19:29       ` Gregory Lafitte
1995-03-07 19:56         ` Peter R Cook
1995-03-07 19:31       ` Peter R Cook
1995-03-07 23:35         ` William Herrin
1995-03-08 13:25           ` Peter R Cook
1995-03-08  6:25         ` Kristian Köhntopp
1995-03-08 12:22         ` Paul Ferguson
1995-03-08 16:41       ` Cornelius Keck
1995-03-08 22:21         ` levy
1995-03-09  0:05           ` Ed Thomson
1995-03-10  8:11             ` Kevin A. Smith
1995-03-22 17:33             ` Alan Cox
1995-03-09 17:28           ` Dan Pop
1995-03-10  1:44           ` Cornelius Keck
1995-03-11  8:19           ` Ade Barkah
1995-03-12  2:04             ` Paul Ferguson
1995-03-29  5:00           ` Mark Gorka
1995-03-14  8:57       ` Chad McDonald
1995-03-16  8:07         ` Mark Hiro  Norman
1995-03-10  6:49   ` Barry Bouwsma
1995-03-22 13:35     ` Raymond A. Bailey
1995-03-03 21:52 ` Peter Mardahl [this message]
1995-03-04  2:46 ` Tom Holub
1995-03-04  3:28 ` Mike Iglesias
1995-03-08  0:29 ` a rich
     [not found] ` <3jj935$rad@holodeck.iss.nus.sg>
1995-03-10 22:14   ` Scott Gasch
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox