SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am running through the howto for setting up a secure relaying e-mail server. They talk about setting services in xinetd. I know for slackware we have inetd. I tried setting up a couple fo scripts:
they talk about setting up a script /etc/xinetd.d/pop3s so I tried setting up a script called /etc/rc.d/rc.pop3s.
Here are the contents of the script:
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/stunnel
server_args = -v3 -l/usr/sbin/ipop3d
log_on_success += HOST DURATION
log_on_failure += HOST
The problem was when I tried to run pop3s it failed with the messages:
./rc.pop3s: line 1: service: command not found
disable: Unable to connect to server: Connection refused
./rc.pop3s: line 4: socket_type: command not found
./rc.pop3s: line 5: wait: `=': not a pid or valid job spec
./rc.pop3s: line 5: wait: `no': not a pid or valid job spec
./rc.pop3s: line 6: user: command not found
./rc.pop3s: line 7: server: command not found
./rc.pop3s: line 8: server_args: command not found
./rc.pop3s: line 9: log_on_success: command not found
./rc.pop3s: line 10: log_on_failure: command not found
The documentation does not say anything about "service" being distro specific, but I am betting that it is, so I am trying to figure out how to set up the "service" under slackware.