Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2000 12:36:22 +0400 (MSD)
From:      tolyar@mx.ru
To:        stable@FreeBSD.ORG
Subject:   Some troubles with pident on 4.0-STABLE
Message-ID:  <XFMail.20000630123622.tolyar@mx.ru>

next in thread | raw e-mail | index | archive | help
After upgrading 3.4 to 4.0-STABLE pident (/usr/ports/security/pidentd) does not
work as daemon (-b option), identd -b does'nt write errors, but simple exit and 
dont stay in memory.

Pident work thru inetd, but only if uid =0. If i use identd -i -u2 -g2 (it work
at 3.4) in inetd, then identd can't say for me uid of user. I don't know IDENT
commands and check it thru sendmail :) If i use uid 0 smtp session will:

> telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mycomputer_name ESMTP Sendmail 8.9.3/8.9.3; Fri, 30 Jun 2000 12:17:47 +0400
(MSD)
helo qq
250  mycomputer_name Hello root@localhost [127.0.0.1], pleased to meet you
quit
221 mycomputer_name closing connection
Connection closed by foreign host.

But if i use -u2 -g2 (as recommend in documentation or -u5 -g2 (kmem:kmem))
session will:

> telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mycomputer_name ESMTP 8.9.3/8.9.3; Fri, 30 Jun 2000 12:23:01 +0400 (MSD)
helo qq
250 mycomputer_name Hello localhost [127.0.0.1], pleased to meet you
quit
221 mycomputer_name closing connection
Connection closed by foreign host.

P.S. I tried it on 3 computers on old identd binaries (compiled on 3.4) and on
new binaries (compiled on 4.0-STABLE). Also i try it on new computer where was
only 4.0 (without upgrades), so please don't propose for me create new devices
i know about /dev/MAKEDEV ;)

-- 
Zherdev Anatoly.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20000630123622.tolyar>