[indiana-discuss] Can't find javac under OpenSolaris-2008.05
Sean Sprague
sks at cvok.co.uk
Mon Jun 2 01:35:43 PDT 2008
Wayne,
> BTW, what's the difference b/t commands with pfexec and without? Where can I find the relevant info? Thanks.
The simplest example is as the user that you created during the 2008.05
install, try to cat /etc/shadow. You will get permission denied. Now try
pfexec cat /etc/shadow, and it will work. pfexec <command> tells it to
look for your user's details in /etc/user_attr. If you look in this
file, you will see that it has roles=root. If you look for the root
entry in the same file, you will see all the permissions that the root
role is granted (basically everything that the root user would normally
have by dint of it being the root user...). This is why you can no
longer log in directly as root - root is now created as a role, which
can be assumed by other users (eg. the one created during the install).
man pfexec is also your friend ;-)
HTH... Sean.
More information about the indiana-discuss
mailing list