Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 1998 10:39:40 +1200
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        Jim Mock <jim@phrantic.phear.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: lpd
Message-ID:  <Pine.SGI.4.02.9808241036340.17886-100000@tui.pinnacle.co.nz>
In-Reply-To: <Pine.BSF.4.02A.9808222140090.15249-100000@phear.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Aug 1998, Jim Mock wrote:

> I was wondering if anyone could tell me why lpd is starting on reboot when
> it's not specified in rc.conf or anywhere else I can find?  My rc.conf
> file looks like this..
> 
> ##############################################################
> ###  Miscellaneous administrative options  ###################
> ##############################################################
> 
> cron_enable="YES"       # Run the periodic job daemon.
> lpd_enable="NO"         # Run the line printer daemon.
> lpd_flags=""            # Flags to lpd (if enabled).
> 
> yet on reboot, lpd is running.  I've checked rc.local, in
> /usr/local/etc/rc.d and it's not there either.

The /etc/rc for the the line that queries "lpd_enable" and see what
it's doing.

> Another thing I've noticed is that if I'm telnetted into the box from
> somewhere else, and I get disconnected or my connection drops the user
> stays logged in even though I try to kill the process.  Nothing shows when
> doing ps aux | grep user for the user who's supposedly still logged in.
> Looking at the processes however shows telnetd still running for that user
> and killing it doesn't log the user out either.

This just means that /var/run/utmp hasn't been updated. Nothing to
really worry about - the user isn't really logged in. The next time
the tty is used, it will be overwritten by the correct user.

Jonathan Chen
----------------------------------------------------------------------
                      When the character of a man is not clear to you,
                                                  look at his friends.


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.4.02.9808241036340.17886-100000>