Operating System - HP-UX
1834925 Members
2537 Online
110071 Solutions
New Discussion

root permissions (sudo ?)

 
SOLVED
Go to solution
A Pandey
Frequent Advisor

root permissions (sudo ?)

hi,

would like to allow one of our printer operators to be able to 'cancel' print jobs, which needs root privileges. i thought of using sudo. is this the right way to go?

also could not find /etc/sudoers?

do i need to install it?

thanks, abhimanyu.
7 REPLIES 7
Victor BERRIDGE
Honored Contributor

Re: root permissions (sudo ?)

Hi,
You would have to download sudo from you favorite archive/porting center...
But wouldnt a restricted sam do?
(I dont know Im no more connected to a HP box)


All the best
Victor
TwoProc
Honored Contributor
Solution

Re: root permissions (sudo ?)

Two options:
1) set up sudo (yes you have to download it) and do exactly what you're saying.
2) set up the printer(s) so that they may be cancellable by anyone, so that your user could do it. This is useful in some cases where almost no-one actually logs into a server, rather the connections are almost all to a database instead. In that case this option can at times be feasible.
We are the people our parents warned us about --Jimmy Buffett
Pete Randall
Outstanding Contributor

Re: root permissions (sudo ?)

You can install sudo from here:

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.8p12/

You could also use restricted SAM - see the man page for SAM. You enter restrected SAM setup by entering "sam -r". You can then select the user and the sam tasks you want them to be able to perform.


Pete

Pete
DCE
Honored Contributor

Re: root permissions (sudo ?)

sudo will do what you want. you can find it here:

http://gatekeep.cs.utah.edu/hppd/hpux/

another (not as secure) option is to set up up restricted SAM to give the operator cancel rights ( sam -r to configuure restricted sam)
DCE
Honored Contributor

Re: root permissions (sudo ?)

sudo will do what you want. you can find it here:

http://gatekeep.cs.utah.edu/hppd/hpux/

another (not as secure) option is to set up up restricted SAM to give the operator cancel rights ( sam -r to configure restricted sam)
A Pandey
Frequent Advisor

Re: root permissions (sudo ?)

thanks to all of you.

regards,

abhimanyu.
A Pandey
Frequent Advisor

Re: root permissions (sudo ?)

ty all