08-11-2003
Try /etc/xinetd.conf and check the man page as syntax is different.
Also note that if you have choosen workstation by default redhat doesn't install the inetd-*.rpm. You would have to mount your cd-rom, cd to Redhat/RPMS and install with rpm -ivh inetd*
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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.
/etc/linuxconf/archive/Home-Office/etc/inetd.conf
find:... (2 Replies)
Discussion started by: nemex
2 Replies
2. Red Hat
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
3. UNIX for Dummies Questions & Answers
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
4. Solaris
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
5. Solaris
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. Red Hat
hi,
I use red hat linux .
When I start up network service .
I get below error in eth2
root@vls etc]# service network restart
Shutting down interface eth2:
Shutting down loopback interface:
Bringing up loopback interface:
Bringing up interface eth2: RTNETLINK answers: File exists
Error... (10 Replies)
Discussion started by: chuikingman
10 Replies
7. UNIX for Dummies Questions & Answers
OS version : RHEL 6.5
Below is an excerpt from /etc/security/limits.conf file for OS User named appusr in our server
appusr soft nproc 2047
appusr hard nproc 16384
What will happen if appusr has already spawned 2047 processes and wants to spawn 2048th process ?
I just want to know... (3 Replies)
Discussion started by: kraljic
3 Replies
8. 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: system.engineer
1 Replies
9. Shell Programming and Scripting
Hello all,
Newbie here.
I'm currently tasked with updating rsyslog.conf and auditd.conf on a large set of servers. I know the exact logging configurations that I want to enable. I have updated both files on on a server and hope to use the updated files as a template for the rest of the... (3 Replies)
Discussion started by: Mide
3 Replies
LEARN ABOUT CENTOS
sserver
SSERVER(8) MIT Kerberos SSERVER(8)
NAME
sserver - sample Kerberos version 5 server
SYNOPSIS
sserver [ -p port ] [ -S keytab ] [ server_port ]
DESCRIPTION
sserver and sclient(1) are a simple demonstration client/server application. When sclient connects to sserver, it performs a Kerberos
authentication, and then sserver returns to sclient the Kerberos principal which was used for the Kerberos authentication. It makes a good
test that Kerberos has been successfully installed on a machine.
The service name used by sserver and sclient is sample. Hence, sserver will require that there be a keytab entry for the service sam-
ple/hostname.domain.name@REALM.NAME. This keytab is generated using the kadmin(1) program. The keytab file is usually installed as
FILE:/etc/krb5.keytab.
The -S option allows for a different keytab than the default.
sserver is normally invoked out of inetd(8), using a line in /etc/inetd.conf that looks like this:
sample stream tcp nowait root /usr/local/sbin/sserver sserver
Since sample is normally not a port defined in /etc/services, you will usually have to add a line to /etc/services which looks like this:
sample 13135/tcp
When using sclient, you will first have to have an entry in the Kerberos database, by using kadmin(1), and then you have to get Kerberos
tickets, by using kinit(1). Also, if you are running the sclient program on a different host than the sserver it will be connecting to, be
sure that both hosts have an entry in /etc/services for the sample tcp port, and that the same port number is in both files.
When you run sclient you should see something like this:
sendauth succeeded, reply is:
reply len 32, contents:
You are nlgilman@JIMI.MIT.EDU
COMMON ERROR MESSAGES
1. kinit returns the error:
kinit: Client not found in Kerberos database while getting
initial credentials
This means that you didn't create an entry for your username in the Kerberos database.
2. sclient returns the error:
unknown service sample/tcp; check /etc/services
This means that you don't have an entry in /etc/services for the sample tcp port.
3. sclient returns the error:
connect: Connection refused
This probably means you didn't edit /etc/inetd.conf correctly, or you didn't restart inetd after editing inetd.conf.
4. sclient returns the error:
sclient: Server not found in Kerberos database while using
sendauth
This means that the sample/hostname@LOCAL.REALM service was not defined in the Kerberos database; it should be created using kadmin(1),
and a keytab file needs to be generated to make the key for that service principal available for sclient.
5. sclient returns the error:
sendauth rejected, error reply is:
"No such file or directory"
This probably means sserver couldn't find the keytab file. It was probably not installed in the proper directory.
SEE ALSO
sclient(1), services(5), inetd(8)
AUTHOR
MIT
COPYRIGHT
1985-2013, MIT
1.11.3 SSERVER(8)