[OpenIndiana-discuss] Fw: Forgot Zone Root Password, Redirect X inside Zone, Reinstall Zone
Roel_D
openindiana at out-side.nl
Mon Jan 13 20:49:47 UTC 2014
Just do zlogin zonename without -C or anything else when you are root in the global zone.
It will never ask for password.
After login do passwd root and your good to go.
Kind regards,
The out-side
Op 13 jan. 2014 om 13:43 heeft "jimklimov at cos.ru" <jimklimov at cos.ru> het volgende geschreven:
> Yet another idea - try 'zlogin -S zonename' to login as a system account, bypassing normal account checks and shell init. When you get into the zone, run 'passwd' to change the root password.
>
>
> Typos courtesy of my Samsung Mobile
>
> -------- Исходное сообщение --------
> От: Saso Kiselkov <skiselkov.ml at gmail.com>
> Дата: 2014.01.13 12:56 (GMT+01:00)
> Кому: openindiana-discuss at openindiana.org
> Тема: Re: [OpenIndiana-discuss] Fw: Forgot Zone Root Password,
> Redirect X inside Zone, Reinstall Zone
>
> On 1/13/14, 11:48 AM, Handojo wrote:
>> But since I removed the password field of user root on /mypool/root/etc/shadow
>
> Another solution, set a new root password from the global zone:
> chroot /mypool/root/etc/shadow passwd root
>
> --
> Saso
>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the OpenIndiana-discuss
mailing list