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

Re: lpd network printing



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





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