[Sunhelp] hosed up root login... HELP!

Morgan.G Morgan.Gnanamani at Singapore.Sun.COM
Tue Feb 15 19:03:35 CST 2000


Hi,

There shouldn't be a problem to boot the system via ok boot cdrom -s and
change the /etc/passwd fields. Make sure once booted in single user mode, 
mount the root partition on /a . Probably someone is trying to work on the
cdrom image.

Then work on /a/etc/passwd.  You may have to set a the environment to perform
vi, ie, 
# TERM=vt100;export TERM
# EDITOR=vi;export EDITOR

This should work.

Cheers,


===============================================================================
	 ______
        /_____/\              Morgan .G         
       /_____\\ \             Regional Systems Engineer
      /_____\ \\ /            Asia Escalation Center, Enterprise Services 
     /_____/ \/ / /           Sun Microsystems Inc. 
    /_____/ /   \//\          1 Magazine Road #07-01/13
    \_____\//\   / /          Central Mall, Singapore 059567
     \_____/ / /\ /           DID: [65] 239-7886 
      \_____/ \\ \            Tel: [65] 438-1888
       \_____\ \\             Fax: [65] 438-7646
        \_____\/              Email: morgang at Singapore.Sun.COM

===============================================================================








More information about the SunHELP mailing list