* Re: remote printer problem - summary
@ 1995-04-10 20:17 Ronny Eliahu, ISS x5382
0 siblings, 0 replies; 2+ messages in thread
From: Ronny Eliahu, ISS x5382 @ 1995-04-10 20:17 UTC (permalink / raw)
To: tru64-unix-managers
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 IN%"ram@intercap.com" was very
helpful.
I was getting the following message (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
---------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: remote printer problem - summary
@ 1995-04-10 20:22 Ronny Eliahu, ISS x5382
0 siblings, 0 replies; 2+ messages in thread
From: Ronny Eliahu, ISS x5382 @ 1995-04-10 20:22 UTC (permalink / raw)
To: tru64-unix-managers
Summary:
I would like to thank all of you who replied to my question and I was able to
solve the remote printer problem.
I was getting the following message (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
---------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-04-10 20:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-04-10 20:17 remote printer problem - summary Ronny Eliahu, ISS x5382
-- strict thread matches above, loose matches on Subject: below --
1995-04-10 20:22 Ronny Eliahu, ISS x5382
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox