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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just need a clearfication
Dose xinetd control all the servers running on the machine for example vsftpd, httpd, etc so if i stop xinetd, /etc/rc.d/init.d/xinetd stop, it will stop all the server it controls.
My question is what if i only want to stop ftp server but leave httpd up and running what would i do? or how to do that?
Have a look in /etc/xinetd.conf and the files in /etc/xinetd.d/* to see what is controlled by xinetd. It's likely that your ftp server is controlled by xinetd but your http server isn't. Checking those files will confirm this.
If your http server was controlled by xinetd, you could modify /etc/xinetd.d/httpd (I'm not sure that's the correct name) and set disable to yes, then restart xinetd.
Steve thx for your response
i have one more comment on what you told me to do i checked my /etc/xinetd and beside vsftpd it also include number of other services that it xinetd control like "time, daytime, klogin and punch of the services" so again my question is if i want to stop my vsftpd does that means i have to stop everything esle under /etc/xinetd? is this is the right way to stop do it? i remmeber in FC4 there was a seprate service for each server running on the server that you contral by using "service vsftpd stop" or "start" can i still do that in FC5? what is the signifficant of using xinetd or not?
I am sorry for the long comment question thing but i just want to know what i am doing and if i am doing it tyhe right way
Xinetd is really about adding additional security & logging properties etc. to services. As usual, if you do not need it, there is really no reason to use it.
You can add an option "disabled = yes" in xinetd.conf or e.g. /etc/xinetd.d/cups-lpd to disable a service controlled by xinetd. Xinetd does not start nor stop services per se. Note that the directory /etc/xinetd.d/ is just a "symlink" read by xinetd.conf, i.e. you can put everything within that directory directly to xinetd.conf, if you want.
Man xinetd.conf gives rather detailed instructions to configure different options.
As mentioned above, you can set disable to yes for ftp and restart xinetd. Doing this will stop ftp but it doesn't affect anything else under xinetd except during the restart. vsftpd doesn't have to be run out of xinetd and the man page for vsftpd on my system recommends running it stand-alone. You need to modify the vsftpd.conf file to make sure that listen=no isn't included (listen=yes is the default on my system).
IIRC, on FC4 the default location for vsftpd.conf file was under /etc/vsftpd/vsftpd.conf when run out of xinetd and under /etc/vsftpd.conf when run stand-alone. However you can symlink from one location to the other or use command line options to change where vsftpd looks for the file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.