Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 been reading the book that comes with Samba. Using Samba and having problems trying to find /etc/inetd.conf Or it not there? Any Ideads Im trying to do this part listed below Thx in advance.....
2.3.1 Final Installation Steps
There are a couple of final steps to perform. Specifically, add the Samba Web Administration Tool (SWAT) to the /etc/services and /etc/inetd.conf configuration files. SWAT runs as a daemon under inetd and provides a forms-based editor in your web browser for creating and modifying SMB configuration files.
To add SWAT, add the following line to the end of the /etc/services file:
Add these lines to /etc/inetd.conf. (Check your inetd.conf manual page to see the exact format of the inetd.conf file if it differs from the following example.) Don't forget to change the path to the SWAT binary if you installed it in a different location from the default /usr/local/samba.
i think beginning in 7.0 or 7.1, redhat changed the inetd.conf to the xinetd.conf....so yes, the xinetd.conf is the inetd.conf that book is referring to. if you check the date on the book, its probably dated and published in 2000 or earlier, before RH 7.0 or later came out..
It isn't just Redhat that made the change to xinetd, I think it's a general evolution regardless of distro (my Mandrake 8.0 box also uses xinetd). The two files are quite different; here's a link which talks about enabling SWAT if you're using xinetd: http://samba.linuxbe.org/en/samba/learn/swat.html.
fsck! I just tried to verify that link and found that they've rearranged their site. It'll probably take a little more digging on the site to uncover the article..snort!
i have samba working fine would it help if you got my configurations? i am not sure how to help you exactly. I can ask a friend who runs a linux site and maybe he can help you out. would you mind if he emailed or pm you?
Sure any kind of help would be nice. I mean IM a noob and proably a dumbass. I just wondering after I edit thoose two files I should at least be able to get to that site...????? But changing the two files I should at least be able to connect to
or get the SWAT LOGIN? right? SO what am I doing wrong?
Last edited by Alinuxnoob; 04-17-2002 at 06:10 PM.
Some last Linux distributions have introduced a new version of the inetd daemon. This daemon, called xinetd, must be configured using a different way. The main configuration file of xinetd is typically /etc/xinetd.conf. On RedHat 7.0, this file holds some default parameters and a reference to a directory :
After having edited the /etc/services file as explained above for inetd, you will create into the /etc/xinetd.d directory (or your own distribution equivalent) one file called swat. This file will contain the following information :
port = 901
socket_type = stream
wait = no
user = root
server = /usr/local/samba/bin/swat
log_on_failure += USERID
disable = no
To pass a switch to the command you will add a line called server_args = <list of switch> after the server line above.
If you are using Linux to run SWAT, you must also add the following information to be able to use SWAT in authentication mode. Because SWAT is using the PAM (Pluggable Authentication Module) system, you need to configure the PAM sub-system to be used by SWAT. So you will create a file called samba in the /etc/pam.d directory. This file will contain the following two lines :