Re: lpd network printing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >You need to adjust /etc/lpd.perms I think.
> >
> >Tim.
> >*/
> >  
> >
> I commented out
> ##REJECT SERVICE=X NOT SERVER
> in lpd.perms but no success.
It is more complicated than that. Read the directions in the file
carefully. For example, we have in out file on the server the
following to allow machines on our network to print through the
server:
ACCEPT SERVICE=P,R HOST=sol.cs.trinity.edu
REJECT SERVICE=P,R NOT REMOTEHOST=*.CS.Trinity.Edu
# allow root on server to control jobs
ACCEPT SERVICE=C SERVER REMOTEUSER=root
# allow anybody to get server, status, and printcap
ACCEPT SERVICE=C LPC=lpd,status,printcap
# reject all others
REJECT SERVICE=C
#
# allow same user on originating host to remove a job
ACCEPT SERVICE=M SAMEHOST SAMEUSER
# allow root on server to remove a job
ACCEPT SERVICE=M SERVER REMOTEUSER=root
REJECT SERVICE=M
#REJECT SERVICE=X NOT SERVER
# all other operations allowed
DEFAULT ACCEPT

-- 
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam@trinity.edu



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux