# rolemod -K type=normal root
# vi /etc/ssh/sshd_config
PermitRootLogin yes
# svcadm restart ssh

Tada.

j.

-----Original Message-----
From: Ray Arachelian [mailto:[email protected]] 
Sent: Monday, January 14, 2013 12:32 PM
To: Discussion list for OpenIndiana
Subject: Re: [OpenIndiana-discuss] ssh root login

On 01/12/2013 06:01 PM, Bob Friesenhahn wrote:
> I am trying to accomplish ssh root login with a forced command via an
> entry in /root/.ssh/authorized_keys.  This is to support my home-made
> backup system.  The strategy is already working for Solaris 10, Apple
> OS X, Linux, and FreeBSD hosts.  However, it is failing for
> OpenIndiana and I am having difficulty determining why.
>

Check root's entry in /etc/user_attr, if it's set to role, you'll never
be able to login as root.
You can run "rolemod -K type=normal root" to turn it back into a user.


_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss
_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to