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] no root

[ILUG] no root

John P. Looney jplooney-ilug at online.ie
Tue Jan 4 18:10:18 GMT 2000


On Tue, Jan 04, 2000 at 02:55:18PM +0000, Miles mentioned:
> I have a leetle problem here. Someone in the lab (No Shane, NOT me this
> time!) has somehow managed to banjax one of our Ultra-10s by
> removing a pkg they shouldn't have (I think). This is resulting in stuff
> like:
> 
> cleo:> su
> su: unknown id: root
> cleo:> file /etc/passwd
> /etc/passwd: empty file

 Ya great wet lettuce.

 Best bet is to boot to single user mode from CD;

OK boot cdrom -s

# mount /dev/dsk/c0t0d0s0 /a             # (whatever the root part is on U10s)
# cp /etc/passwd /a/etc/
# cp /etc/shadow /a/etc/
# umount /a
# init 6

 Then you should be able to log in as root, and change what you want.

Kate

-- 
Microsoft. The best reason in the world to drink beer.
http://www.redbrick.dcu.ie/~valen




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