[OpenIndiana-discuss] Fw: Forgot Zone Root Password, Redirect X inside Zone, Reinstall Zone

Saso Kiselkov skiselkov.ml at gmail.com
Mon Jan 13 11:52:05 UTC 2014


On 1/13/14, 11:48 AM, Handojo wrote:
> Can't you just zlogin as root from the global zone? Then you can run
> passwd and set up a new root password. 
> 
> I have to log in as root in order to run zlogin
> 
> and I can't run : zlogin -l root <zonename>
> the reply was : Login incorrect
> 
> So the only option is to run : zlogin -C <zonename>
> 
> But since I removed the password field of user root on /mypool/root/etc/shadow
> into : root::6445::::::

Why? And why didn't you just try to type anything in there to make pam
happy? i.e. make:

root::6445::::::

into:

root:whateva:6445::::::

-- 
Saso



More information about the OpenIndiana-discuss mailing list