Root SSH login Solaris 11

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1342
Joined: Sun Aug 17, 2008 5:05 am

Root SSH login Solaris 11

Post by cah »

1. Modify sshd_config (change PermitRootLogin to yes)

Code: Select all

%vi /etc/ssh/sshd_config
PermitRootLogin = yes
2. Modify login default (comment out CONSOLE)

Code: Select all

%vi /etc/default/login
#CONSOLE =/dev/login
3. Modify root's login informaiton (change type from role to normal)

Code: Select all

%rolemod -K type=normal root
Found user in files repository.
NOTE: some more information may be obtained from /etc/user_attr (man page gives more information).

After these changes, root can ssh into Solaris 11.
CAH, The Great
Post Reply