If you have given yourself the use of sudo without entering the root password you can do sudo passwd root
On Fri, Jan 23, 2009 at 2:22 PM, Austin, Alyce (CIV) <[email protected]> wrote: > Hello, > > > > I found the procedure to enter single user mode in the Virtualization > Cookbook for SLES 10 SPs2 > > (Oct 2008) on page 194 to recover the root password by entering the > following command at IPL: > > > > #cp vi vmsg 0 1…. > > > > However, when I get to the end of the procedure, it asks for the root > password… > > (Since I don't know what it is, I thought I could just create a new Root > > password.) > > > > Do I need to enter a cntrl character to get a # sign to bypass > > the request to "Give root password for login:" so I can recreate the Root > password? > > > > Thanks for your support, > > Alyce > > > > Please see below: > > > > > > System Boot Control: Running /etc/init.d/boot.local > > [1A..done > > INIT: Entering runlevel: 1 > > Boot logging started on /dev/ttyS0(/dev/console) at Fri Jan 23 11:02:17 > 2009 > > Master Resource Control: previous runlevel: N, switching to runlevel: 1 > > Sending all processes the TERM signal... > > ..done > > Sending all processes the KILL signal... > > ..done > > INIT: Going single user > > INIT: Sending processes the TERM signal > > Give root password for login: > > > > runlevel 1 S > > > > Login incorrect. > > Give root password for login: > > Login incorrect. > > > > > > > ------------------------------ > > *From:* The IBM z/VM Operating System [mailto:[email protected]] *On > Behalf Of *Scott Rohling > *Sent:* Friday, January 16, 2009 4:02 PM > *To:* [email protected] > *Subject:* Re: SLES10 IPL... > > > > Do you have another running Linux server you have root access to? You > could give it permission to link the disks of the failing server - mount > it's disks -- do chroot -- set the root password - exit - umount the disks - > bring up the server. > > Or - any other user that has sudo authority you can login with to change > the password? > > You could also boot the install kernel, mount the proper disks, and change > the password for root that way... > > Scott > > On Fri, Jan 16, 2009 at 4:42 PM, Alyce Austin <[email protected]> > wrote: > > Hello, > > Unfortunately, I have forgotten the root password > for my test system SLES10 SP2. > > I tried to bring it up in single mode > to recover the root password, but I didn't > see the runlevel option for single mode during the IPL. > Has anyone try to ipl is single mode to reset the root > password? > > Any suggestions would be appreciated. > > Thanks for your support, > Alyce > > > -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317
