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

jimklimov at cos.ru jimklimov at cos.ru
Mon Jan 13 12:43:26 UTC 2014


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


More information about the OpenIndiana-discuss mailing list