Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Hans-Georg Fremann <fremann@informatik.uni-muenchen.de>
Cc: fremann@informatik.uni-muenchen.de
Subject: lprm-problems
Date: 1996/07/10	[thread overview]
Message-ID: <31E371B0.41C6@informatik.uni-muenchen.de> (raw)


hi,

i've problems with lprm on digital unix 3.2c.

on our system only the superuser can remove printjob entrys with the
lprm command. 
normal users become the following error-message when they remove
their printjobs.

coltrane:/usr/miles/fremann:fremann> lprm 364
cfA364coltrane.tcs.informatik.uni-muen: Permission denied
 
i think there are wrong permissions somewhere in /var/spool/lpd.
our permissions are the following:

/var/spool:

drwxrwxrwx   5 daemon   daemon       512 Jun 13 18:24 lpd/
-rw-r--r--   1 root     system         6 Jul  2 17:35 lpd.lock

/var/spool/lpd:

drwxrwxr-x   2 daemon   daemon       512 Jul  3 08:59 charly/

/var/spool/lpd/charly:

-rw-r----x   1 root     daemon         4 Jul  2 18:27 .seq*
-rw-rw----   1 daemon   daemon       135 Jul  2 18:27 
cfA364coltrane.tcs.informatik.uni-muen
-rw-------   1 daemon   daemon         0 Jun 12 18:20 control.charly
-rw-rw----   1 fremann  daemon       671 Jul  2 18:27 
dfA364coltrane.tcs.informatik.uni-muen
-rwxr--r--   1 root     daemon        45 Jul  2 17:48 lock*
-rw-rw-r--   1 root     daemon        27 Jul  2 17:48 status

our printer is called charly. the printer has the following printcap
entry:

charly|NIC printer:\
        :lp=/dev/nic/charly:\
        :sd=/var/spool/lpd/charly:\
        :if=/usr/nic/infilter:\
        :of=/usr/nic/outfilter:\
        :rs:\
        :rw:\
        :sb:\
        :sh:

and least but not least th lp*-binary permissions:

-rwxr-xr-x   1 bin      bin        24576 Jul 25  1995 lp
-rws--x--x   1 root     bin        49152 Jul 25  1995 lpq
-rws--s--x   1 root     bin        49152 Jul 25  1995 lpr
-rws--x--x   1 root     bin        40960 Jul 25  1995 lprm
-rwxr-xr-x   1 bin      bin        32768 Jul 25  1995 lpstat


thanks. ervyone who give's me a usefull hint for my problem

-- greetings hannes


----------------------------------------------------------
 Hans-Georg Fremann	email:	
			fremann@informatik.uni-muenchen.de
                  
 Institut fuer Informatik	phone: +49 89 2178-2201
 Oettingenstrasse 67		fax:   +49 89 2178-2238
 80538 Muenchen  
 
 http://www.tcs.informatik.uni-muenchen.de/~fremann/



                 reply	other threads:[~1996-07-10  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox