tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Ronny Eliahu, ISS x5382" <RONNY () CSMC ! EDU>
To: tru64-unix-managers
Subject: Re: remote printer problem - summary
Date: Mon, 10 Apr 1995 20:22:53 +0000	[thread overview]
Message-ID: <96075319106435.tru64-unix-managers.marc@archive.invalid> (raw)

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
---------------------------------------------------------------------------

             reply	other threads:[~1995-04-10 20:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-10 20:22 Ronny Eliahu, ISS x5382 [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-04-10 20:17 remote printer problem - summary Ronny Eliahu, ISS x5382
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