1. boot from cdrom in single user mode ok boot cdrom -s 2. mount root filesystem (assuming it is on /dev/dskc0t0d0s0) onto the /a directory # mount /dev/dsk/c0t0d0s0 /a
3. edit /etc/passwd (not sure if vi works in single user mode) # ed /a/etc/passwd 4. reboot # init 6 --------------------------------------------------------------------------------------------- Any comments or statements made in this transmission reflect the views of the sender and are not necessarily the views of the Federal Reserve Bank of New York. Jamie Pratt <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11/29/2005 01:38 PM Please respond to [EMAIL PROTECTED]; Please respond to Solaris-Users mailing list <[email protected]> To Solaris-Users mailing list <[email protected]> cc Subject Re: [Solaris-Users] root passwd expired google is your friend: http://www.tek-tips.com/faqs.cfm?fid=1568 Grindell, Joan M. wrote: > Oops: > > This has never happened: is there anyway I can reset root's password with > booting from a cdrom? > > Thanks > Joan > _______________________________________________ > Solaris-Users mailing list > [email protected] > http://www.filibeto.org/mailman/listinfo/solaris-users _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
