On 31/10/2015 17:42, Victor Sudakov wrote:
> Ian Collins wrote:
>>>
>>> I have set "PermitRootLogin yes" in sshd_config and restarted sshd.
>>> What else am I missing that it still does not let me ssh as root?
>
>> If you are using Solaris >= 11,
>
> Yes, "Oracle Solaris 11 11/11 X86"
>
>> root is a role, not a user so you can't login as root.
>
> Wait, there is the user "root" in /etc/passwd, "finger root" works, I
> can "su -" locally. How come root is not a user?
>
I think you need to do "Solaris 11 intro course" :-)
With S11 root is a role not a user, have a look at /etc/user_attr
This is a security measure, logging in as root is bad.
With S11 all actions can be assigned to non root accounts, depending on
what they need.
By default there is an admin user created at build time, this van
generally pfexec commands or sudo them
--
Bruce Porter
"The internet is a huge and diverse community but mainly friendly"
http://ytc1.blogspot.co.uk/
There *is* an alternative!
http://www.openoffice.org/