home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21776 < prev    next >
Encoding:
Text File  |  1992-12-26  |  1.3 KB  |  39 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!cs.utexas.edu!convex!news.utdallas.edu!ramesh
  3. From: ramesh@utdallas.edu (R. Ramesh)
  4. Subject: Getting lpr/lpd to work
  5. Message-ID: <Bzw8pz.EM5@utdallas.edu>
  6. Sender: usenet@utdallas.edu
  7. Nntp-Posting-Host: ramesh.utdallas.edu
  8. Organization: Univ. of Texas at Dallas
  9. Date: Sun, 27 Dec 1992 01:13:11 GMT
  10. Lines: 27
  11.  
  12. Hi:
  13.  
  14.   I know this has been asked and answered before. But those answers are unable
  15. to help me. I cannot get lpr/lpd to work. THis is what I did. I unpacked the
  16. lpr.tar.Z package as root at /. Edited /usr/etc/printcap to:
  17.  
  18. lp:lp=/dev/lp:sd=/usr/spool/lp:lf=/usr/adm/lpd-errs
  19.  
  20. I have /dev/lp and /usr/spool/lp. /dev/lp is world read+write'able.
  21. /usr/spool/lp has this protection
  22.  
  23. drwxr-xr-x   2 daemon   daemon        144 Dec 26 18:52 /usr/spool/lp/
  24.  
  25. I can lpr files (as root) which get moved to appropriate directory. As
  26. ordinary user, I cannot even lpr files as I get
  27.  
  28. lpr: cannot create /usr/spool/lp/.seq
  29.  
  30. I have lpr with setgid bit and lpr is chowned to daemon.daemon.
  31.  
  32. lpc cannot do any thing. It always complains lp: cannot restart daemon.
  33. It looks to me some permission problem unless you see something different.
  34. Could some one that set up lp properly tell me what permissions are needed
  35. for various support files.
  36.  
  37. Ramesh
  38.  
  39.