Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Komwut Wipusitwarakun <komwut@oucom5.comm.eng.osaka-u.ac.jp>
Subject: Re: Cleaning /var/run/utmp
Date: Thu, 08 May 1997 14:10:06 +0900	[thread overview]
Message-ID: <199705080510.OAA18208@hippo.comm.eng.osaka-u.ac.jp> (raw)

> 	1) /var/run/utmp never gets cleaned up after someone logs out. In
> 	other words, 'who' will generate a list of all those users who
> 	have logged on since the machine last shutdown. As such, according
> 	to 'who', there are several users using the same tty.
> 

I had the same problem as you. After I upgraded to the following 3 packages:
        1. NetKit-B-0.09-1.1.alpha.rpm 
        2. util-linux-2.5-34.1.alpha.rpm 
        3. passwd-0.50-2.1.alpha.rpm 
from the "updates" directory at RedHat-site,  "utmp" correctly cleaned up 
the person who loged out from the "/var/run/utmp" file.  

But don't forget to delete the past wrong-entries in the "/var/run/utmp".
If you don't want to reboot you Linux box, you may choose to delete all 
contents of the "/var/run/utmp" file. I did the second choice and it worked,
but be sure that no one is using the "/var/run/utmp" file. 
 

> 	2) Any user who attempts to change their password while logged on
> 	to a repeated tty (according to 'who' as discussed above) get the
> 	error "User unknown to the underlying authentication module."
> 	Changing passwords seems to work flawlessly as long as the tty
> 	they are on is not already listed when 'who' is issued.
> 

The solution of the problem (1) should solve this problem.

Hope this will help you,
Komwut.

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-05-08  5:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-08  5:10 Komwut Wipusitwarakun [this message]
1997-05-09 13:08 ` Cleaning /var/run/utmp Redhat Mailinglist
  -- strict thread matches above, loose matches on Subject: below --
1997-05-11  7:51 Komwut Wipusitwarakun
     [not found] <XFMail.970507173755.ximenes@netset.com>
1997-05-08 10:06 ` Matthew Geier
     [not found] <Pine.LNX.3.95.970507131922.9797A-100000@nmsnpc.nmsu.edu>
1997-05-07 21:28 ` Ximenes
1997-05-07 19:35 Bob Klindworth
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox