Raars's Blog

April 11, 2013

Solaris 11 root cannot ssh

Filed under: UNIX & Linux — raars @ 6:18 am

on previous  Solaris versions  you had to modify  two files :

/etc/default/login  should have:

CONSOLE=/dev/console

  /etc/ssh/sshd_config  should have

PermitRootLogin yes

 

On Solaris 11  you have two modify  one more file :

/etc/user_attr

By default it is like that :

root::::type=role
user1::::lock_after_retries=no;profiles=System Administrator;roles=root

 

After you modify it should be like this:

#root::::type=role
root::::
user1::::lock_after_retries=no;profiles=System Administrator;roles=root

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.