Operating System - HP-UX
1833838 Members
2102 Online
110063 Solutions
New Discussion

Re: converted to trusted system on hpux 10.20

 
SOLVED
Go to solution
Norman Emery
Occasional Contributor

converted to trusted system on hpux 10.20

previous to converting to trusted system
we used the quick program to allow selected users (helpdesk) to run commands such as kill and passwd via scripts. Since changing to a trusted system the quick program no longer allows those users to run these commands.
Any suggestions on who to overcome or another way to allow certain logins to perform certain tasks such as killing processes not belonging to themselves and changing passwords for other users vi scripts.
3 REPLIES 3
Michael Tully
Honored Contributor
Solution

Re: converted to trusted system on hpux 10.20

Hi Norman,

The short answer is make use of the
'sudo' program.

You can get source here:

http://www.courtesan.com/sudo/

or already compiled from the porting centre.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.2b1/

HTH
-Michael
Anyone for a Mutiny ?
Steven Sim Kok Leong
Honored Contributor

Re: converted to trusted system on hpux 10.20

Hi,

Use Restricted SAM builder.

# sam -r

Restricted sam comes with HP-UX and allows you to create a menu-based system for commands to run under a specific user's privileges (embedded setuid). You can tailor each menu to individual users. Furthermore, you can also enable it to launch upon login and logout upon exit.

man 1m sam for more information.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Deshpande Prashant
Honored Contributor

Re: converted to trusted system on hpux 10.20

HI
I will prefer to build the script for required users group using restricted sam.

Prashant.
Take it as it comes.