📄 linux-identd.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML><HEAD><TITLE>Josh's Linux Guide - Setting Up Identd</TITLE> <META NAME="Description" CONTENT="A Linux guide on setting up identd from the viewpoint of a beginner."> <META NAME="keywords" CONTENT="beginners, Linux, identd, help"> <BASE TARGET="_top"></HEAD><LINK REL="stylesheet" TYPE="text/css" HREF="default.css"><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#7F007F"><H2><A NAME="0">Setting Up Identd</A></H2><FONT SIZE="-1"><B>Last updated: March 28, 1998</B></FONT><P>Identd is the server that helps to properly identify you on your (orsomeone else's) Linux workstation. As far as I know, you need some sort ofidentification to log on to Efnet IRC servers. If you have one alreadyinstalled, then you probably don't need to worry about this, but if youhave a "~" appearing before your username on IRC, read on.</P><P>The first step to installing this is to download the archive. Thearchive can be found at <AHREF="ftp://sunsite.unc.edu/pub/Linux/system/daemons/identd-masquerade.tgz">SunSITE</A>. Download that and extract it to your <TT>/usr/local/src/</TT> directoryusing <TT><B>tar -zxvf identd-masquerade.tgz</B></TT>. By the way, that'sthe file you're supposed to download.</P><P>I'll spare you the reading and also spare myself some writing. Read theINSTALL file that came with the archive; it's in the <TT>identd</TT>directory that's been extracted. Okay, if you don't have it, here it is.The following is not my intellectual property; it belongs to the authorsof identd.</P><PRE>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 identd5. Restart the "inetd" daemon. (Can normally be done with a "SIGHUP" signal).6. All done.</PRE><P>There's only one file that you need to compile, and that's<TT>identd.c</TT>. When you do all that the INSTALL file tells you to do,edit <TT>/etc/services</TT>. Make sure the line that starts with<TT>auth</TT> is either <B><I>deleted or commented out</B></I>, or elsethis won't work. After doing that, edit <TT>/etc/inetd.conf</TT> and dothe same thing. In <TT>/etc/inetd.conf</TT> the identificationprotocol/servers are at the very bottom, the last entries in theconfiguration file. After the lines starting with "auth" areeither deleted or commented out and you're saved the files, then kill the<B>inetd</B> daemon so that you can restart it for the changes to takeeffect. Do the following to kill and restart inetd:</P><PRE># killall inetd# inetd</PRE><P>... and there you go. You have identd. Try to distinguish <B>identd</B>from <B>inetd</B>, and vice versa... I had that problem for a while.:)</P><BR><BR><HR><P><B><FONT SIZE="-1">Copyright © 1997-1999 <AHREF="mailto:jgo@local.net">Joshua Go (jgo@local.net)</A>. Allrights reserved. Permission to use, distribute, and copy this document ishereby granted. You may modify this document as long as credit to me isgiven.</FONT></B></P></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -