>>>>> "Ning" == Ning Qian <email@example.com> writes:
In article <2ohov1INN330@life.ai.mit.edu> firstname.lastname@example.org (Ning Qian) writes:
Ning> Hi, I posted the following message a couple of days ago:
Ning> : I have a SPARC 10 that runs Solaris 2.3. Yesterday : I
Ning> was trying to change the root login shell to "tcsh" by :
Ning> modifying the passwd file but I had a typo in the pathname :
Ning> to tcsh. Now I can't log in as root anymore; the machine :
Ning> complains "No Shell" and then logs me out. I can log into :
Ning> the machine as a non-superuser but then I don't have the :
Ning> permission to change the passwd file. Is there a way to :
Ning> fix the problem without erasing the hard disk?
Ning> It might be simpler to boot to single user mode with the
Ning> command "boot cdrom -s" as suggested by several people but I
Ning> didn't get a chance to use it.
That won't work .. under Solaris 2.3, single user mode asks for the password.
-- Douglas L.Acker Western Geophysical Exploration Products ____ ____ ____ a division of Western Atlas International Inc. \ \ / /\ / /\ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \ \/ / \ / / \ Internet : email@example.com \ / / \ / /\ \ Voice : (713) 964-6128 \/___/ \/___/ \___\ Fax: : (713) 781-7417
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:58 CDT