Operating System - HP-UX
1826480 Members
4110 Online
109692 Solutions
New Discussion

enabel/disable (printqueue's)

 
Lucien Wolfs_1
Occasional Contributor

enabel/disable (printqueue's)

As I was checking some authorization issues, I noticed that the enable/disable
commands have authorization
-r-sr-xr-x (notice the setuid bit !!)

Now any user can issue the enable/disable commands. I tested it with a userid
belonging to the group users.

Yep, as somebody of the group users, I can disable/enable ANY printqueue that I
want.
The reason for this is not known to me. Can anybody respond ?

Thanks !
1 REPLY 1
Steve White_8
Frequent Advisor

Re: enabel/disable (printqueue's)

The sticky bit is put on to allow not root users to enable/disable printers. If
you don't want that then all you have to do is change the permissions to
something that reflects what you want.