[olug] getting on dalnet

Vincent vraffensberger at home.com
Sun Aug 12 06:45:31 UTC 2001


Much of this depends on your distro and version.  Try some of these
commands:

locate identd
grep 113 /etc/services
rpm -qf /etc/rc.d/init.d/identd
rpm -qf /sbin/identd
rpm -qf /sbin/in.identd
rpm -q pidentd

It's name is auth in the services file.  Here's a startup script for it:
cat /etc/init.d/identd
#! /bin/sh
#
# identd        Start/Stop RFC 1413 identd server
#
# chkconfig: - 35 65
# description:  The identd server provides a means to determine the identity
\
#               of a user of a particular TCP connection.  Given a TCP port
\
#               number pair, it returns a character string which identifies
\
#               the owner of that connection on the server's system.
# processname: identd
# pidfile: /var/run/identd.pid
# config: /etc/identd.conf

# Source function library.
. /etc/init.d/functions

# Get config.
. /etc/sysconfig/network

# Get identd config

. /etc/sysconfig/identd

# Check that networking is up.
if [ ${NETWORKING} = "no" ]
then
        exit 0
fi

[ -x /usr/sbin/identd ] || exit 0

RETVAL=0
prog="identd"

start() {
        if [ ! -f /etc/identd.key ]; then
          action $"Generating ident key: " /usr/sbin/ikeygen
          ret=$?
          chown ident.ident /etc/identd.key
          chmod 0600 /etc/identd.key
          if [ $ret -ne 0 ] ; then
              return $ret
          fi
        fi
        echo -n $"Starting $prog: "
        daemon identd $IDENTDOPTS
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/identd
        return $RETVAL
}

stop() {
        echo -n $"Stopping $prog: "
        killproc identd
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/identd
        return $RETVAL
}

# See how we were called.
case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  status)
        status identd
        ;;
  restart|reload)
        stop
        start
        ;;
  condrestart)
        if [ -f /var/lock/subsys/identd ]; then
            stop
            start
        fi
        ;;
  *)
        echo  $"Usage: $0 {start|stop|status|restart|reload|condrestart}"
        exit 1
esac

exit $RETVAL


----- Original Message -----
From: "Mike Hostetler" <thehaas at binary.net>
To: <olug at bstc.net>
Sent: Saturday, August 11, 2001 10:47 PM
Subject: Re: [olug] getting on dalnet


> On Sat, Aug 11, 2001 at 05:22:41PM -0400, barlow wrote:
> > can anybody break this line down and tell me what it means please. mike
if
> > your reading this i ran the command you told me again after a reboot and
i
> > got this
> > 500        1080  0.0  0.3  1284    492 pts/1         s        17:02
> > 0:00  grep ident
>
> That is just "grep" command . . . ident isn't running . . .
>
> As root, just try running "identd" from the command line and see what
> happens.  If that works, then you just need to add it to your startup
> scripts (those depend on your distro . . . search Google for specifics).
>
> Mike
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> For additional commands, e-mail: olug-help at bstc.net
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net



More information about the OLUG mailing list