From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075319106437.tru64-unix-managers.marc@archive.invalid> From: "Ronny Eliahu, ISS x5382" Date: Mon, 10 Apr 1995 22:14:31 +0000 To: tru64-unix-managers Subject: Summary: remote printer problem X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075319106437 Summary: I would like to thank all of you who replied to my question and I was able to solve the remote printer problem. Message from "ram@intercap.com" was great!! Extract from my original message. >lpr -Prx1 myfile >lpr: cannot create /usr/spool/lpd6/.seq >The entry in printcap looks like this on both systems. >lp6|6|rx1:\ Below are the replies I received (all were great help!). ----------------------------------------------------------------------------- From: IN%"jwright@phy.ucsf.edu" "Jim Wright" this might help... % ls -l /usr/spool/lw6/ total 5 drwxr-xr-x 2 daemon daemon 512 Apr 7 13:17 ./ drwxr-xr-x 22 root system 512 Feb 27 20:14 ../ -rw-r----x 1 root daemon 4 Apr 7 13:17 .seq* -rw-r--r-- 1 root daemon 29 Apr 7 13:17 lock -rw-r--r-- 1 daemon daemon 0 Mar 1 13:56 lw6-err -rw-rw-r-- 1 root daemon 27 Apr 7 13:17 status % ps auxww | grep lpd root 633 0.0 0.4 1.41M 232K ?? I Mar 21 0:00.22 /usr/lbin/lpd % ls -l /usr/lbin/lpd -rws--x--x 1 root bin 98304 Feb 21 1994 /usr/lbin/lpd* --------------------------------------------------------------------------- From: IN%"aad@statsci.com" "Anthony D'Atri" 8-APR-1995 13:11:53.66 lpr should be setuid root. Chances are that either you lost the setuid bit or it's not owned by root or you've got /usr/spool/whatever across an NFS mount. --------------------------------------------------------------------------- From: IN%"Knut.Hellebo@nho.hydro.com" DAMN GOOD COFFEE !! (and hot too) Hi ! / ofcourse! /usr is a readonly --------------------------------------------------------------------------- From: IN%"ram@intercap.com" Hi: This is in reply to your remote printer problem. Did the setuid bit on lpr change? ls -l /usr/ucb/lpr -rws--x--x 1 root bin 49152 Aug 8 1994 /usr/ucb/lpr ## chmod 4711 /usr/ucb/lpr ---------------------------------------------------------------------------