>>> On 2/19/2015 at 09:31 AM, Jake anderson <[email protected]> wrote: > What will be the command to start a Linux Guest as Single User Mode ? This > is required for me to change the root password for the Linux Guest.(z/VM)
I do not believe that single user mode on SLES or Red Hat will allow you to get a shell without root's password. So far, all answers except Mike's last one assume that you are already signed on as root, so kind of circular. In addition to Mike's answer (linking read/write from another Linux guest) what I frequently recommend is booting from the z/VM virtual reader with an installation kernel and initrd. Once you get the DASD volume(s) online the comprise the root file system and mounted, you can then chroot to it and run the passwd command. A third option is that you pass "init=/bin/sh" as a kernel parameter. This might involve a lot more work (and Linux experience) than the installation initrd, since you'll have to know how to activate the DASD and get the root file system mounted. Since your Linux guest's PROFILE EXEC is set to automatically IPL Linux, you don't have to modify PROFILE EXEC to get it in the state you want. You can do a "#CP SIGNAL SHUTDOWN WITHIN 90" (or some other arbitrary number of seconds) to shut it down, and then you can manually issue the IPL command. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
