A problem with su on OpenSolaris 2008.05
Hi guys.
I created an user for myself and gave it the Primary Administrator role. To my surprise, the user created by the installer can su to root, but my user cannot and the error is: Quote:
Thanks, Enrico. |
Generally, to be able to su one has to be in the wheel group.
|
Thanks Emerson.
By the way, adding my user to the wheel group didn't change this behavior. I also discovered that the user created by the installer has the role "root" whereas mine has not. I should read more about RBAC because I feel I'm missing many points. In my previous SXDE installation, by the way, the user was created the same way (with the same script) and it did su to root, so something must have changed between SXDE and OpenSolaris 2008.05. I feel like reading the SXDE docs and OpenSolaris docs to track the differences down but now I'm short of time for such task... ;) |
Quote:
Instead of "su -" which won't work as you noticed, you should use "pfexec su". If for some reason you want to revert to root as a regular account, just remove "type=role;" in the root entry of the /etc/user_attr file. |
Thank you very much jlliagre!
With your input I immediately found the relevant documentation. Bye, Enrico. |
All times are GMT -5. The time now is 01:33 AM. |