LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 11-15-2006, 06:57 AM   #1
AbrahamJose
Member
 
Registered: Feb 2006
Location: India
Posts: 167

Rep: Reputation: 31
rbac not OK


Hi
I tried rbac in solaris 9 to manage printers
1. roleadd ... lpuser
2. passwd lpuser
3. usermod -R lpuser user1

No errors so far
I login as user1
roles command outputs lpuser
su lpuser
lpc
lpc>enable pr1
says privileged command

Anything else required for rbac to work.

Sorry, I am not much experienced in Solaris.
 
Old 11-15-2006, 08:58 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I think the problem is you are using a command (lpc) that is not part of the "Printer Management" profile set.

See /etc/security/exec_attr to see the ones included.

Last edited by jlliagre; 11-15-2006 at 09:03 AM.
 
Old 11-17-2006, 02:15 AM   #3
AbrahamJose
Member
 
Registered: Feb 2006
Location: India
Posts: 167

Original Poster
Rep: Reputation: 31
Thanks, but

commands like enable/disable/lpshut etc doesn't work, even if given not throgh lpc.
 
Old 11-17-2006, 03:03 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
So it will help if you post the full set of options you used to create the role.

"..." doesn't help much understanding what you have done.
 
Old 11-20-2006, 10:27 PM   #5
AbrahamJose
Member
 
Registered: Feb 2006
Location: India
Posts: 167

Original Poster
Rep: Reputation: 31
Details

1. roleadd -m -d /export/home/lpuser -c "Manage Printers" -A solaris.admin.printer.read solaris.admin.printer.modify solaris.admin.printer.delete lpuser
2. passwd lpuser
3. usermod -R lpuser user1

No errors so far
I login as user1
roles command outputs lpuser
su lpuser

Last edited by AbrahamJose; 11-20-2006 at 10:53 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rbac linuxtesting2 Solaris / OpenSolaris 1 08-23-2006 04:57 AM
Differences between active directory and RBAC genderbender Linux - General 1 04-29-2005 12:38 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration