Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

lpsched as non-root user 1

Status
Not open for further replies.

gosuc

Technical User
Mar 12, 2001
36
DE
Hi admins,

I'd like to administrate my printer as a nonroot user.
I have created a new user (lpadmin) with the group-member-
ship of lp. When I type in "lpsched" (as user lpadmin),
I get notified by the system, that lpsched is reserved
for administrators only.
What must I do , to be able to issue commands like lpsched
etc. as non-root user?

Any help is apreciated.

Regards,

Fred
 
Although I believe you could go the suid route, I would suggest using "Restricted SAM".
Check out man sam look toward the bottom for "Restricted SAM".

ps: my group setting on lpsched is bin (10.20)

~jdk

hp-ux sys.admin
Dare to Dream!
 
Success !!

Thanks to jdktek. That's the solution I was looking for.
I started sam -r and configured the desired user as lp- administrator.
 
Your welcome !

Have a GREAT weekend!
~jdk

hp-ux sys.admin
Dare to Dream!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top