[OmniOS-discuss] can't log in as root
Bob Friesenhahn
bfriesen at simple.dallas.tx.us
Fri Nov 20 16:49:18 UTC 2015
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.
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