I assume you're getting the following message:
bleon...@solaris:~$ *su*
Password:
Roles can only be assumed by authorized users
su: Sorry

If so, you need to add the root role to your account. Of course, you need privilege to do this. For me, this would be accomplished as follows:

bleon...@solaris:~$ *pfexec usermod -R root bleonard*

Hope that helps,
Brian

On 01/ 7/11 09:17 AM, ann kok wrote:
Hi

I got a message that the user can't be su

how can I change the user can use su

Thank you


_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

--
W Brian Leonard
Principal Product Manager
860.206.6093
http://blogs.sun.com/observatory

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to