Bryan Allen wrote:
+------------------------------------------------------------------------------
| On 2009-10-16 03:23:07, Harry Putnam wrote:
| | I remember having done something way back... I think it was posted on
| an opensolaris.org page... how to setup a root account and login as
| root.  Any way it was fairly common knowledge and a howto was
| available.
$ pfexec rolemod -K type=normal root
$ pfexec perl -pi -e s/^PermitRootLogin no/^PermitRootLogin yes/ 
/etc/ssh/sshd_config
$ pfexec svcadm restart ssh

I didn't have to do anything else on a fresh upgrade of snv_124.

See Also: http://dlc.sun.com/osol/docs/content/IPS/login.html

Yes, that's exactly what you would need to do to change the root account from a role to a regular user and allow it to be used with ssh.

I was puzzled because Harry seemed to be saying that previous OpenSolaris releases had behaved this way out of the box, but given that he followed those steps earlier it all makes sense.

        Scott

--
Scott Rotondo
Principal Engineer, Solaris Security Technologies
President, Trusted Computing Group
Phone/FAX: +1 408 850 3655 (Internal x68278)
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to