Operating System - HP-UX
1827791 Members
2655 Online
109969 Solutions
New Discussion

Re: diff between non root users and root users

 
madhudeepan
Frequent Advisor

diff between non root users and root users

bdf ,, glance , top commands are executed by both root and non root users , but some administrative commands are not able to run by non root users..


i need to give permission for the non root users to execute printers related command alone and for other administrative commands non root user should not have permission ,,
how can i do it..

this is for my knowledge base
6 REPLIES 6
Tingli
Esteemed Contributor

Re: diff between non root users and root users

You can use sudo to do it. For more info, you can check man sudo, man sudoers, man visudo.
Pete Randall
Outstanding Contributor

Re: diff between non root users and root users

Or give them access to restricted SAM (sam -r).


Pete

Pete
Hakki Aydin Ucar
Honored Contributor

Re: diff between non root users and root users

I would prefer to use restricted SAM (sam -r).
Also , role-based access control (RBAC) can be useful.
Emil Velez
Honored Contributor

Re: diff between non root users and root users

sam -r is gone at 11.31 so

Role based access control is probably the best solution

look up roleadm

Yogesh M Puranik
Valued Contributor

Re: diff between non root users and root users

Hakki and Emil,

R u sure role-based access control (RBAC) is part of HP-UX?I hope this utility is used in Solaris.

Madhudeepan,

Regarding Giving access to perticular commands you can either use SAM -r, but i would prefer,sudo utility only.Because logs are not generated with SAM as this is TUI (Terminal User Interface).

In sudo utility,the commands whichever run by root privillaged user can be tracked.


Rgds
Yogesh