Hi All.
I have problem with may start-stop lpd script. When I start lpd daemon - ./lpd start
- this work correctly.
When I stop it - ./lpd stop - this don't work, lpd daemon still work. When I copy lpd
to file with other
name ( for instance qqq) and do ./qqq stop - it works! What is this? My lpd file:
....
# See how we were called.
case "$1" in
start)
# Start daemons.
echo -n "Starting lpd: "
${LPD_PATH}
RETVAL=$?
echo
;;
stop)
# Stop daemons.
echo -n "Shutting down lprng: "
kill -INT `ps ${PSHOWALL} | awk '/lpd/{ print $1;}'` >/dev/null
RETVAL=0
echo
;;
...
Some more problem: don't work key SERVER in lpd.perms. when I write
ACCEPT SERVICE=X SERVER
ACCEPT SERVICE=X REMOTEIP=1,2,3,4
REJECT SERVICE=X
$lpq
`no connect permissions
from 1:
lpq - work fine!
Although I write in lpd.perms:
ACCEPT SERVICE=C SERVER REMOTEUSER=root
ACCEPT SERVICE=M SERVER REMOTEUSER=root
both lpq and lprm work on server's computer
This is in LPRng-3.8.8 , in LPRng-3.8.2 it works!
Thank you for any comments.
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------