Operating System - HP-UX
1753596 Members
6531 Online
108796 Solutions
New Discussion юеВ

Re: user for Printer management

 
terry123
Regular Advisor

user for Printer management

hi All,

may i know are there any way to create a User, which only can manage printer related job, ie, add printer, cancel print queue?

thx in advance.

b.r.
terrytse
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: user for Printer management

Restricted SAM (set up through "sam -r") would probably be the way to go.


Pete

Pete
terry123
Regular Advisor

Re: user for Printer management

thx Pete,

let me try that first.

Basheer_2
Trusted Contributor

Re: user for Printer management

Also, if you have sudo installed,, you can create the user for only this purpose.
terry123
Regular Advisor

Re: user for Printer management

hi Pete,

i have tried the "sam -r", it works for me.

by the way, may i know are there any way to further limit the user, ie, when the user login, SAM will auto start? when the user exit SAM, the user will be log off the system?

thx so much.

terrytse
Dennis Handly
Acclaimed Contributor

Re: user for Printer management

>when the user login, SAM will auto start? when the user exit SAM, the user will be log off

I suppose you could change the user's shell to /usr/sbin/sam. But this may not have the right DISPLAY variable set?

If so, you could replace the user's shell by a wrapper that does that then invokes SAM.
terry123
Regular Advisor

Re: user for Printer management

thx All,

also is "sam -r" can restrict printer access? ie. user can only view some printers but not all.

thx again.

terrytse