LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-03-2002, 07:16 AM   #1
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
Lightbulb services(openssh, NFS, syslog)


Hi there!

What will happen if I edit /etc/rc.d/rc.inet2 file, and comment there such services like SAMBA fs, NFS, system logger, openssh. I think in such Linux loding time will increase? So are this services really needed by the system or I can turn them off?

thnx
 
Old 09-03-2002, 07:27 AM   #2
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Well if you comment them out, they wont be read during boot, and they wont be able for you to use. Now things like samba(smb) if you look at the rc.init2 file, most of them are "if" statements, if /etc/rc.d/rc.samba then blah blah, if there is no rc.smb file then it'll skip it and continue on.

But if you dont use these services then yea comment them out
from the first if to the fi.
example:
# Start the NAMED/BIND name server:
#if [ -f ${NET}/named ]; then
# echo -n " named"
# ${NET}/named -u daemon -g daemon
# fi

You should only turn off things you KNOW that you arnt going to use. If you arnt sure then I wouldnt mess.
 
Old 09-03-2002, 07:33 AM   #3
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
Hanzerik I don't have samba and I am using reiserf fs, do I need to load NFS
 
Old 09-03-2002, 08:31 AM   #4
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
If you are using NFS to share directories/files between 2 linux machines yes, if not then no you dont need NFS.

NFS is Network File System, for sharing between linux(*NIX) systems.
 
Old 09-03-2002, 08:51 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
hanzerik, I would just post all the things here, and ask for help on which ones I don't need, and how to stop em, but is there a decent site that could give me some background info on these, and how to shut em off, and maybe what each service does and such.

I have a good idea on most, and know how to shut them off, but for the ones I don't know, and for future reference (for me and other people with questions like this) I was hoping a site to reference would be available.

Thanks
 
Old 09-03-2002, 09:51 AM   #6
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
The procedures to shut them off change from distro to distro. But the slackware rc.* files are very informative, they usally have a comment before the service describing what it is used for.

I'll look around and see what i can find as far as a site that lists all the services and how to shut them down by distro.
 
Old 09-03-2002, 10:52 AM   #7
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Ok here are the basic services in /etc/rc.d/rc.inet2 .
Most of the discriptions came from: http://www.oreillynet.com/linux/cmd/

SUN RPC Portmapper:
Starts the port mapper for Remote proccedure call service, if you dont want or have these installed then comment out. The portmapper administers nfsd, mountd, ypbind/ypserv, rquotad, lockd, statd and 'r' services like ruptime and rusers. These are services used by remote clients.
Not needed by most users

Mount NFS filesystems:
Network file systems(*NIX to *NIX) think of it as samba for linux. Not needed if you dont share files between linux systems.
If you do use it portmapper needs to be running also.
Not needed by most users

Start the SYSLOGD/KLOGD daemons:
Self explanatory, logging daemons to log kernel and system messages.
I'd say keep it running.

Start the INET SuperServer:
If you want to run services controlled by inetd then leave this. This controls internet daemons such as telnetd, ftpd, etc. The only one I have used with this is Pro-ftpd(ftpd).
You can control what services inetd serves by editing /etc/inetd.conf file. If everything is commented out then inetd would be usless to have running.
Not used unless you have services in /etc/inetd.conf that you would like ppl to have access to.

Sshd:
Secure remote login, I keep it running just in case my machine locks up in X and I cant reboot locally(Has happened) I just go to another machine and connect as root and reboot.
Personal preferance on whether to run it or not.

Named: Internet domain name server
Not used unless you are running a name server.

Routed: Network routing daemon
Not familiar with it as I have never used it. I beleave it collects internet routing tables.

Start the RWHO server:
Lets other people on the network see who is logged into remote machines.
Not Used by most users.

Setting up NIS:
Network Information Service, a service that provides information, that has to be known throughout the network, to all machines on the network.
Not used by most users.

Start the various SUN RPC servers:
Mountd: NFS mount request server.
Not that familiar with it. But I would say that for most users it's not used unless you are using nfsd.

nfsd: Daemon that starts the NFS server daemons that handle client filesystem requests.
I would say most users would'nt use this unless they want to share filesystems between linux machines.

I may have missed some.
 
Old 09-03-2002, 10:54 AM   #8
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Look through the other rc files and if you see something that you dont understand do a search on http://www.google.com/linux , yes google has a linux only search engine
 
Old 09-03-2002, 11:26 AM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Thank you very much for all that info. Nice stuff.

Thanks again, hanzerik
 
Old 09-03-2002, 11:27 AM   #10
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
Thanks hanzerik, it is really good info
 
Old 09-04-2002, 06:30 AM   #11
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Found a site that lists some of the rc files and gives a brief description of what they do:
http://ideaplace.org/Tester/TesterVL...f=slak_rc.d.FB
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
solution help 'Skipped services in runlevel 5: nfs splash smbfs ' nickaelwen Linux - Newbie 1 11-01-2005 09:54 AM
Windows Services for Unix NFS or Samba flysideways Linux - Networking 0 04-12-2004 10:05 AM
NFS Services Startup Problem woodwarh Linux - Networking 1 12-05-2003 06:21 AM
NFS Services do not start at Boot up nishi_k_79 Linux - Networking 4 10-02-2003 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration