inetd.conf file = gone on my home linux box

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers inetd.conf file = gone on my home linux box
# 1  
Old 12-24-2001
inetd.conf file = gone on my home linux box

Hi there

I'm trying to set up swat on my linux box at home and when i read the man pages on it it says that i have to edit a file called inetd.conf but i did a search like
find / -name inetd.conf
but it only comes up with this.
find: /mnt/cdrom: Input/output error
find: /mnt/floppy: Input/output error
find: /proc/975/fd: No such file or directory

so i moved to the only one it found but it say that the file is empty
how do i go about getting this file agian.
or would i be able to recreat it by just vi ing a new file in /etc
and calling it inetd.conf

Thanks in advance
# 2  
Old 12-24-2001
Here is one.....

# See "man 8 inetd" for more information.
# If you make changes to this file, either reboot your machine or send the
# inetd a HUP signal:
# Do a "ps x" as root and look up the pid of inetd. Then do a
# "kill -HUP <pid of inetd>".
# The inetd will re-read this file whenever it gets that signal.
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
# The first 4 services are really only used for debugging purposes, so
# we comment them out since they can otherwise be used for some nasty
# denial-of-service attacks.  If you need them, uncomment them.
# echo          stream  tcp     nowait  root    internal
# echo          dgram   udp     wait    root    internal
# discard       stream  tcp     nowait  root    internal
# discard       dgram   udp     wait    root    internal
# daytime       stream  tcp     nowait  root    internal
# daytime       dgram   udp     wait    root    internal
# chargen       stream  tcp     nowait  root    internal
# chargen       dgram   udp     wait    root    internal
#time   stream  tcp     nowait  root    internal
#time   dgram   udp     wait    root    internal
# These are standard services.
#ftp    stream  tcp     nowait  root    /usr/sbin/tcpd  wu.ftpd -l -i -a
#telnet stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd
# Use this one instead if you want to snoop on telnet users (try to use this
# for ethical purposes, ok folks?), and see 'man ttysnoop' and /etc/snooptab
# for further instructions:
# telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetsnoopd
# This is for BSD sendmail.  NOTE:  It's not a good idea to uncomment this
# one, since sendmail is already set up to run as a daemon in /etc/rc.d/rc.M.
# But, if you really want to run sendmail this way for some reason, you'll 
# need to uncomment the smtp line below AND change the line in /etc/rc.d/rc.M
# to run sendmail like this:  /usr/sbin/sendmail -q30m   
# ...otherwise the queue will not be processed.
# smtp  stream  tcp     nowait  root    /usr/sbin/tcpd  sendmail -bs
# The comsat daemon notifies the user of new mail when biff is set to y:
#comsat        dgram   udp     wait    root    /usr/sbin/tcpd  in.comsat
# Shell, login, exec and talk are BSD protocols.
#shell  stream  tcp     nowait  root    /usr/sbin/tcpd  in.rshd -L
#login  stream  tcp     nowait  root    /usr/sbin/tcpd  in.rlogind
# exec  stream  tcp     nowait  root    /usr/sbin/tcpd  in.rexecd
# talk  dgram   udp     wait    root    /usr/sbin/tcpd  in.talkd
#ntalk  dgram   udp     wait    root    /usr/sbin/tcpd  in.talkd
# Kerberos authenticated services
ktelnet stream tcp nowait root /usr/local/sbin/telnetd telnetd -a user 
# klogin        stream  tcp     nowait  root    /usr/sbin/tcpd  rlogind -k
# eklogin       stream  tcp     nowait  root    /usr/sbin/tcpd  rlogind -k -x
# kshell        stream  tcp     nowait  root    /usr/sbin/tcpd  rshd -k
# Services run ONLY on the Kerberos server
# krbupdate     stream  tcp     nowait  root    /usr/sbin/tcpd  registerd
# kpasswd       stream  tcp     nowait  root    /usr/sbin/tcpd  kpasswdd
# Pop et al
# pop2  stream  tcp     nowait  root    /usr/sbin/tcpd  in.pop2d
# Traditional BSD-based in.pop3d:
#pop3   stream  tcp     nowait  root    /usr/sbin/tcpd  in.pop3d
# GNU pop3d:
pop3    stream  tcp     nowait  root    /usr/sbin/tcpd  gnu-pop3d
# The ipop3d POP3 server is part of the Pine distribution.  If you've
# installed the Pine package, you may wish to switch to ipop3d by 
# commenting out the pop3 line above, and uncommenting the pop3 line below.
# pop3  stream  tcp     nowait  root    /usr/sbin/tcpd  ipop3d
imap2   stream  tcp     nowait  root    /usr/sbin/tcpd  imapd
# The Internet UUCP service.
# uucp  stream  tcp     nowait  uucp    /usr/sbin/tcpd  /usr/lib/uucp/uucico    -l
# Tftp service is provided primarily for booting.  Most sites
# run this only on machines acting as "boot servers." 
# tftp  dgram   udp     wait    nobody  /usr/sbin/tcpd  in.tftpd
# bootps        dgram   udp     wait    root    /usr/sbin/in.bootpd     in.bootpd
# Finger, systat and netstat give out user information which may be
# valuable to potential "system crackers."  Many sites choose to disable 
# some or all of these services to improve security.
# Try "telnet localhost systat" and "telnet localhost netstat" to see that
# information yourself!
#finger stream  tcp     nowait  nobody  /usr/sbin/tcpd  in.fingerd -u
# systat        stream  tcp     nowait  nobody  /usr/sbin/tcpd  /bin/ps -auwwx
# netstat       stream  tcp     nowait  root    /usr/sbin/tcpd  /bin/netstat    -a
# Ident service is used for net authentication
# Since we start identd as nobody, it can't write a .pid file in /var/run, so tell it
# to use /dev/null.  This is of little importance unless you run identd as a
# standalone daemon anyway.
auth    stream  tcp     wait    nobody  /usr/sbin/in.identd     in.identd -P/dev/null
# These are to start Samba, an smb server that can export filesystems to
# Pathworks, Lanmanager for DOS, Windows for Workgroups, Windows95, Lanmanager
# for Windows, Lanmanager for OS/2, Windows NT, etc.  
# If you're running smbd and nmbd from daemons in /etc/rc.d/rc.samba, then you
# shouldn't uncomment these lines.
# netbios-ssn     stream  tcp     nowait  root    /usr/sbin/smbd  smbd
# netbios-ns      dgram   udp     wait    root    /usr/sbin/nmbd  nmbd
# Sun-RPC based services.
# <service name/version><sock_type><rpc/prot><flags><user><server><args>
# rstatd/1-3    dgram   rpc/udp wait    root    /usr/sbin/tcpd  rpc.rstatd
# rusersd/2-3   dgram   rpc/udp wait    root    /usr/sbin/tcpd  rpc.rusersd
# walld/1       dgram   rpc/udp wait    root    /usr/sbin/tcpd  rpc.rwalld
# End of inetd.conf.

YES, you can just VI one yourself.....
# 3  
Old 12-27-2001
Thanks admin

Thanks i thought you would be able to i just did not the actual set up of this .conf file

Question: the priority for this would be -rw-r--r-- and does it have to be in /etc for swat to run.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Disabling entries on inetd.conf (AIX).

Hello, We're working on securing the AIX environment. started with disabling unused services on AIX. Below are the entries which are not commented on my test LPAR (even other LPARs). ntalk dgram udp wait root /usr/sbin/talkd talkd daytime stream tcp nowait root... (1 Reply)
Discussion started by:
1 Replies

2. How to Post in the The UNIX and Linux Forums

Copying , renaming the file from windox box and ftp to Linux box

Hello my dear friends, Two file are auto generated from mon - fri at different directories on same windows box.Every day i have to copy the file, rename it (specific name)and ftp it to linux box specified directory. is it possible to automate this process,If yes this has to be done from windows... (1 Reply)
Discussion started by: umesh yadav
1 Replies

3. Red Hat

How to access redhat Linux box graphically from windows box?

Hi I have a linux box and need to access from windows graphically # uname -a Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux What components do I need to install on Linux and windows to do that? TIA (6 Replies)
Discussion started by: magnus29
6 Replies

4. AIX

Setting AIX box at home.

Hi guys... I have got a old Aix box i.e. 7043 - 150 for home experimenting purposes. I am having some issues to setup the tcpip on it correctly, so that i can access it within the network and also from outside i.e. work. My setup looks like this: Modem ----> Apple airport wireless router... (2 Replies)
Discussion started by: uzair_rock
2 Replies

5. Solaris

basic question on sd.conf and lpc.conf file

Hello Guys, Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies

6. Solaris

Script for turning processes in etc/inetd.conf on and off

Anyone have a perl script that can be run via a web browser to turn ftp or telnet on and off in etc/inetd.conf ? Believe it or not but I ride a motorcycle a lot in the summer and carry a laptop in my saddlebags to connect from almost anywhere via Verizon alongside the highway. However, have too... (0 Replies)
Discussion started by: thomi39
0 Replies

7. UNIX for Dummies Questions & Answers

Cannot edit inetd.conf???

I'm trying to edit the inetd.conf but for some reason when I vi into it, it says "Read Only" even though I am root and the perms are 777?!? (2 Replies)
Discussion started by: shorty
2 Replies

8. Red Hat

inetd.conf in linux

I need to put the following line in inetd.conf: stats stream tcp nowait nobody /usr/local/bin/mrtgsysinfo mrtgsysinfo but my version of linux don't seem to allow that, ie there is no inetd.conf. How do i set that up in linux (red hat enterprise 3). (15 Replies)
Discussion started by: frankkahle
15 Replies

9. Shell Programming and Scripting

Script to Reboot a linux box from a windows box

HI All, I need a script to reboot a linux box from a windows box. The script needs to run automatically whenever a sitescope alerts with an error message. Have searched for this in the forums, but could not get something relative. Pls. let me know the various alternatives we have to do... (2 Replies)
Discussion started by: Crazy_murli
2 Replies

10. UNIX for Advanced & Expert Users

Linux file corresponding to HP-UX inetd.conf

Hi!!, I have been working on a HP UX box all these days.. For adding a user defined service, I used to put an entry for this service corresponing to a port number in /etc/services. These services were then defined in inetd.conf. Now I have moved to Mandrake linux. I can find a file named... (2 Replies)
Discussion started by: jyotipg
2 Replies
Login or Register to Ask a Question