[OmniOS-discuss] can't log in as root

Jim Klimov jimklimov at cos.ru
Fri Nov 20 14:33:21 UTC 2015


20 ноября 2015 г. 12:46:09 CET, Johan Kragsterman <johan.kragsterman at capvert.se> пишет:
>
>Hi!
>
>Got a small problem here:
>
>I can log in as normal on ssh, and su to root without any problems. 
>
>But I can't login as root directly at console/screen, but I can log in
>as normal user @screen, but not su to root...
>
>What could have happened...?
>
>Rgrds Johan
>
>
>_______________________________________________
>OmniOS-discuss mailing list
>OmniOS-discuss at lists.omniti.com
>http://lists.omniti.com/mailman/listinfo/omnios-discuss

Normally since opensolaris, root is a role (not a useraccount), so indeed you can not directly log in as one, except when system is in maintenance singleuser mode. This is by design, to make audit trails more useful and overall security better.

You can use 'usermod' (IIRC) to change root back to a 'nortmal' (or was it 'user'?) account.

HTH,
Jim Klimov 
--
Typos courtesy of K-9 Mail on my Samsung Android


More information about the OmniOS-discuss mailing list