OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [discuss] Print Only Accessable by root

bgmilnecae.co.za
Date: Thu Oct 09 2003 - 14:58:18 CDT


> Hi Vincent,
>
> I got a situation which seems a bit odd. On MDK 9.1 there are a few
> files that have root only access. When attempting to print I trace the
> failure to the rights of these files. Changing them solves it until
> next reboot which indicates something else should be done.
>
> What I run is chmod o+rw /var/run/ptal-printd/*

On my 9.0 box with an HP1300 (that works), those files are named pipes,
lp:sys mode 660.

If you need other permissions for it to work, then there is something else
amiss with your setup.

> Can you tell me what the proper fix is?

First we need to find exactly what causes it. Does it work when the files
are only writeable by user lp and group sys? If it does, can you try
restarting the hpoj service, and see if that sets bad permissions? If not,
you might want to investigate the group memberships etc.

Regards,
Buchan

*****************************************************************
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to infocae.co.za for a copy.
*****************************************************************