*BSD News Article 42486


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!sol.ctr.columbia.edu!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!fu-berlin.de!math.fu-berlin.de!cs.tu-berlin.de!engel
From: engel@cs.tu-berlin.de (Christian Engel)
Newsgroups: comp.os.386bsd.apps
Subject: mgetty+sendfax: no utmp entry
Date: 14 Feb 1995 20:43:10 GMT
Organization: Technical University of Berlin, Germany
Lines: 42
Message-ID: <3hr4ku$5b4@news.cs.tu-berlin.de>
NNTP-Posting-Host: gragra.cs.tu-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

I tried to install the mgetty+sendfax-0.22 package from the /usr/ports
directory.  This caused no problems.

It is installed to use /usr/bin/login as the login programme und does not
use a LOGIN_CFG_FILE.  The software is working correctly but a user that
enters the system does not cause a change in the /var/run/utmp file.  He
is not registered by the who(1) command.

If I run mgetty with the -x 9 debug level, I get the following output
(excerpt):

################ begin

02/14 20:55:51 dem  waiting for line to clear (VTIME), read: 
02/14 20:55:52 dem  utmp + wtmp entry made
02/14 20:55:52 dem  getlogname, read:thobe[0d]
02/14 20:55:54 dem  input finished with '\r', setting ICRNL ONLCR
02/14 20:55:54 dem  calling login: cmd='/usr/bin/login', argv[]='login thobe'
02/14 20:55:54 ##### data dev=modem, pid=661, caller=none, conn='38400', 
name='', cmd='/usr/bin/login', user='thobe'
################ end

/usr/bin/login is called and should create a utmp entry --- I also looked
at the sources of /usr/bin/login ---, but nothing happens.  The user thobe
can log into the system but does not appear in the utmp-file.

Can anyone please tell me why this happens?  Any stupid mistakes made or
some kind of error?

Thanks in advance,

	Christian





-- 
============================ Christian Engel ==================================
     ***** Graduiertenkolleg Kommunikationsbasierte Systeme *****
	TU Berlin, Sekr. FT-5, Einsteinufer 25, D-10587 Berlin
MAIL: engel@cs.tu-berlin.de  TEL: +49 (30) 314 23810    FAX: +49 (30) 314 22514