Tuesday August 19, 2008 Its generally good practice to use non-root user and when you require certain commands to be run as root you can use pfexec command. Pfexec is somewhat similar to sudo but much powerful than sudo.
$pfexec bash
When you install OpenSolaris 2008.05 if you specify username during installation, then it permits login only for non-root user. Run the following command so that root can login as a user.
#rolemod -K type=normal root
For more info on this check out this.
Posted by pradhap ( Aug 19 2008, 04:03:03 AM PDT ) Permalink