Bryan Allen <[email protected]> writes: > > $ pfexec rolemod -K type=normal root > > See Also: http://dlc.sun.com/osol/docs/content/IPS/login.html
Scott Rotondo <[email protected]> writes: > 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. Ahh I see what happened now... somehow in the course of events the setting in /etc/user_attr that Bryan shows with: pfexec rolemod -K type=normal root Had gotten overwritten .. that was the setting I made long ago. I'm pretty sure I'm the culprit that overwrote it too. So no need to edit pam.conf... just the two steps Bryan mentions... nothing has changed. Sorry about the line noise. _______________________________________________ opensolaris-discuss mailing list [email protected]
