Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi
I am learning how to configure RBAC and I used one of the examples that
I found on the internet to implement them. Unfortunatelly even by
following it, I am unable to make it work. Can someone take a look at
what I am doing and tell me where is the problem.1) I added a user john:
getent passwd john
john:x:105:1::/export/home/joe:/bin/pfsh2) now I created a role : roleA
# roleadd -d /export/home/roleA -m roleA
64 blocks3) created a password for a role
# passwd roleA
New Password:
Re-enter new Password:
passwd: password successfully changed for roleA4) now I am adding authorizations to the role. Crypto Management in
this case.# rolemod -P "Crypto Management" roleA
5) ...now verification
# profiles -l roleACrypto Management:
/usr/sbin/cryptoadm euid=0
/usr/sfw/bin/CA.pl euid=0
/usr/sfw/bin/openssl euid=0
All:
*6) now I am assigning roleA to the user
# usermod -R roleA john7) and check if the role has been assigned to the user
# roles john
john : roleA8) everything seem to be fine. Role is created, it has authorizations
assigned, and role is assigned to the user.so now I do su roleA enter password and do
roleA$ cryptoadm stopinstead of stoping the service, i get a message back cryptoadm: not
found.Please help me learn that because I have been trying so many times
without any success
Thank you

![]() |
Solaris Search & High...
|
Korn shell script help !
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |