LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] root problem

[ILUG] root problem

Gary Coady gary at netsoc.tcd.ie
Thu Jun 24 09:24:24 IST 1999


On Thu, Jun 24, 1999 at 08:42:56AM +0100, kevin at suberic.net wrote:
> Bernard Murphy burst across the net:
> >Having logged in for months under root suddenly I am told that either the user
> > or password name is incorrect.
> >
> >Nothing in that area has been changed ??
> >
> >SU keeps me locked out as well. Can anybody throw some light on that one - or 
> >how can I get back - or am I dead !!!!!!
> 
> is root in /etc/passwd?  when was /etc/passwd last changed?  might you
> have typed passwd in a root window when meaning to do it in your own
> account?
> 
> you might want to do an init 1 at the console which should bring the machine
> down to single user...  wait, you don't have root.  reboot, and type linux 1
> at the boot prompt.  then you'll get a shell prompt.  then run passwd.

I dunno - I've found that Redhat seems to ask for the root password when
booting into single-user mode - if it does in this case, try instead

linux init=/bin/sh

at the boot prompt, and that'll get you a shell.

-- 
Gary Coady - gary at netsoc.tcd.ie - http://www.netsoc.tcd.ie/~gary/
|  It might look like I'm doing nothing, but at the cellular level I'm
|  really quite busy.

Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell