1830939 Members
2712 Online
110017 Solutions
New Discussion

Jetadmin

 
Paul Romanek
Occasional Contributor

Jetadmin

I 'am wanting to give one of my regular user acces to jetadmin all parts of it. The only problem is that certain options require you to be superuser. Is there anyway to allow him to access all parts of jetadmin without giving him superuser rights or can you offer me any advise on how i should go about this.

Thanks,

Paul R
You Can Have My Unix System When You Pry It From My Cold Dead Fingers!
5 REPLIES 5
Victor BERRIDGE
Honored Contributor

Re: Jetadmin

Hi,
Configure a restricted sam for your user with all he needs for printing (sam -r)...

All the best

Victor
A. Clay Stephenson
Acclaimed Contributor

Re: Jetadmin

Hi Paul,

The most straightforward method is to install a command called sudo and allow your user the execute jetadmin under sudo.
Sudo is available from any of the HP-UX Porting Centers:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.2b1/

Regards, Clay
If it ain't broke, I can fix that.
Paul Romanek
Occasional Contributor

Re: Jetadmin

sam -r will not work it gives you printer access but not access to all of the jetadmin menu
You Can Have My Unix System When You Pry It From My Cold Dead Fingers!
MANOJ SRIVASTAVA
Honored Contributor

Re: Jetadmin

Hi Paul


The way I figured is to make a user , give 0:3 rights ie make it as powerful as root , then in the .profile of that user add

jetadmin
exit

in this way he can log in as that user and only execute jetadmin command.


Manoj Srivastava
MANOJ SRIVASTAVA
Honored Contributor

Re: Jetadmin

Also .profile should have only these two lines otherwise the user may be able to do a cntrl c and come out to the # prompt , or you can trap the cntl c .

Manoj Srivastava