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

Johan Kragsterman johan.kragsterman at capvert.se
Fri Nov 20 16:57:09 UTC 2015


Hi!


-----Bob Friesenhahn <bfriesen at simple.dallas.tx.us> skrev: -----
Till: Jim Klimov <jimklimov at cos.ru>
Från: Bob Friesenhahn <bfriesen at simple.dallas.tx.us>
Datum: 2015-11-20 17:49
Kopia: Johan Kragsterman <johan.kragsterman at capvert.se>, omnios-discuss <omnios-discuss at lists.omniti.com>
Ärende: Re: [OmniOS-discuss] can't log in as root

On Fri, 20 Nov 2015, Jim Klimov wrote:
>
> 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.

This is not the case for OmniOS.  For OmniOS root is a real user (with 
an empty password by default!) but /etc/default/login has this:

# If CONSOLE is set, root can only login on that device.
# If the specified device is /dev/console, then root can also log into
# any of the currently enabled /dev/vt/# virtual terminal devices.
# Comment this line out to allow remote login by root.
#
CONSOLE=/dev/console

so one can only login as root from the console.  If the current 
keyboard device is not associated with /dev/console or a /dev/vt/# 
device, then it would not be possible to login as root.





Ahaa, could that have been the problem when I used another keyboard from the kvm switch? That I changed to a ps2 keyboard from a usb keyboard? That it was not associated with /dev/console?


Johan


Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/





More information about the OmniOS-discuss mailing list