Computing.Net > Forums > Unix > RBAC setup

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

RBAC setup

Reply to Message Icon

Name: mariusz000
Date: December 2, 2005 at 18:47:33 Pacific
OS: solaris
CPU/Ram: 43
Comment:

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/pfsh

2) now I created a role : roleA

# roleadd -d /export/home/roleA -m roleA
64 blocks

3) created a password for a role
# passwd roleA
New Password:
Re-enter new Password:
passwd: password successfully changed for roleA

4) now I am adding authorizations to the role. Crypto Management in
this case.

# rolemod -P "Crypto Management" roleA

5) ...now verification
# profiles -l roleA

Crypto 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 john

7) and check if the role has been assigned to the user
# roles john
john : roleA

8) 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 stop

instead 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



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Solaris Search & High... Korn shell script help !



Post Locked

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


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: RBAC setup

voice modem setup www.computing.net/answers/unix/voice-modem-setup/714.html

How I can setup Solaris 2.6 for X86 intel www.computing.net/answers/unix/how-i-can-setup-solaris-26-for-x86-intel/559.html

Redhat 5.2 no setup diald. Command " control-panel " no implement on Xwindows www.computing.net/answers/unix/redhat-52-no-setup-diald-command-controlpanel-no-implement-on-xwindows/228.html