Click to See Complete Forum and Search --> : Identd and Mandrake 8
seeker22
06-14-2001, 07:21 PM
Hi I am trying to get identd to work I did the make install and edited /ect/services but then the readme also says to edit the inetd.conf in the /ect/ folder and I dont have it? what do I need to install to get that file? thanks.
lsibn
06-14-2001, 08:04 PM
Originally posted by seeker22:
<STRONG>Hi I am trying to get identd to work I did the make install and edited /ect/services but then the readme also says to edit the inetd.conf in the /ect/ folder and I dont have it? what do I need to install to get that file? thanks.</STRONG>
You need to install inetd. that is, inetd, not identd, in case you didn't notice the spelling.
Craig McPherson
06-14-2001, 08:05 PM
New versions of Mandrake and Redhat use Xinetd instead of Inetd.
You can use the "itox" command to convert inetd-format configuration lines into xinetd-format configuration lines.
seeker22
06-14-2001, 08:46 PM
Thanks Craig but my terminal doesn't have the itox command either. I looked in /ect/ for Xinetd didnt see that either... hmm I dont know what to do now.
seeker22
06-14-2001, 08:52 PM
I looked through my rpms and I found the xinetd packages and it says there already installed so thats not the problem either maybe I am trying to execute the command wrong?
Craig McPherson
06-14-2001, 08:57 PM
The main xinetd configuration file should be /etc/xinetd.conf. As I understand it, some distros are also supporting run-parts configuration, so look in /etc/xinetd.d also -- any file placed in that directory will be as if it were appened to the main configuration file.
Craig McPherson
06-14-2001, 08:59 PM
Oh yeah -- if you don't have itox, tell me what inetd-format string you have, and I can tell you how to convert it to xinetd-format.
seeker22
06-14-2001, 10:27 PM
Ok I am really new to this cause i hasven't use linux in awhile and I only configured my ident with the inetd but I do have a init. folder in my /ect which I belive goes to my servcies and yes in /ect/ I do have a xinetd.d folder just a folder and in there it has a cvs file and linuxconf-web and rsync also. I am not sure really what you mean by the format strings but this is exsactly what im trying to do, trying to get identd running so I can use IRC and on here is the instruction I am trying to do..
3. Edit /etc/services to contain a line "ident 113/tcp auth". <-- did that
4. Edit the file /etc/inetd.conf to contain a line:
ident stream tcp nowait nobody /etc/identd identd
5. Restart the "inetd" daemon. (Can normally be done with a "SIGHUP" signal).
4 is what im having a problem with cause I dont have inetd and I cant find a config for xinetd
and this is all I really know since I dont really know what im doing :( so I hope this info will cover what you asked me.
Craig McPherson
06-14-2001, 11:19 PM
Originally posted by seeker22:
<STRONG>ident stream tcp nowait nobody /etc/identd identd</STRONG>
This becomes:
service ident
{
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /etc/identd
}
Craig McPherson
06-14-2001, 11:21 PM
Except that doesn't look right. It'd be very weird for the ident daemon to be in /etc. Are you sure you got the example right? Maybe you got the last two things reversed, and it was supposed to be "identd /etc/identd" instead of the other way around?
seeker22
06-14-2001, 11:40 PM
Ok now that code you just gave me.. What file do I put that in? and well that code I gave you is straight from the docs of the identd I downloaded so im not sure
Craig McPherson
06-14-2001, 11:51 PM
You put that in your /etc/xinetd.conf if you have one. If you only have an /etc/xinetd.d directory, create a file in that directory (doesn't matter what you call it) and put those lines in it.
But I want to make sure we're on the same page regarding the ident daemon. Can you tell me what ident daemon you're trying to use? And can you copy+paste the part of the instructions that you quoted earliere, so I can take a look at it? Also, are you installing this ident daemon from a package, or from a source tarball, or what?
seeker22
06-15-2001, 12:10 AM
First off thanks for all this help :)
Ok the identd I am using is called Identd-masquerade and yes it is a tarball and I did the make install and all that the identd binary is in its proper place which is /ect/
here is the instructions that it came with in full.
To build the "identd" daemon, do the following steps:
1. Type "make" and watch it build nicely (hopefully).
2. As "root", type "make install". This will copy the executable
daemon "identd" into the destination directory as specified in
the Makefile (normally /etc) and the man page into the specified
man directory (normally /usr/man/man8).
3. Edit /etc/services to contain a line "ident 113/tcp auth".
4. Edit the file /etc/inetd.conf to contain a line:
ident stream tcp nowait nobody /etc/identd identd
5. Restart the "inetd" daemon. (Can normally be done with a "SIGHUP" signal).
6. All done.
I got the files and also I am reading a mini-howto from where I got it which is Here (http://jgo.local.net/LinuxGuide/linux-identd.html)
And yeah there is no conf file but there is that xinetd.d folder and I will try making a file and putting in there. oh yeah and how do I start/stop the xinetd server? cause in the instructions its refering to inetd.
hope this helps
seeker22
06-15-2001, 12:34 AM
Ok and also I thought mandrake would already have installed xinetd but I guess it didn't I thought since I had that folder that it was installed but anyway I have the xinetd.conf now and I put the code in there and also as I said before edited the services and restarted the x-server then I tried to log on to dalnet and it still says I need to have identd installed so something is still wrong
Craig McPherson
06-15-2001, 01:07 AM
It would be a lot easier to just install an Ident program from an RPM. I really except there's a typo in your instructions there, because it'd be really odd to actually put the ident server program itself in /etc.
seeker22
06-15-2001, 01:24 AM
alright thanks.. I will find one that works just need to do some reading/searching. thanks for all your help!
Craig McPherson
06-15-2001, 01:40 AM
Good luck. Please post back if you have any trouble.
If you can't find one, just do a search at rpmfind.net for "identd" and you should find a ton of them.
seeker22
06-15-2001, 02:08 AM
Hi again, thanks for that rpm site I installed the rpm and went to the sbin and executed in.identd and it worked thanks so much for your help!
Craig McPherson
06-15-2001, 03:29 AM
Alright, glad that worked for you.
Don't stay on IRC too long, it'll rot your brain.