From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4103fba0c2acbf0c X-Google-Attributes: gidfee84,public From: Gerald Feldman Subject: Re: how to log out a ghost user? Date: 1996/01/04 Message-ID: <30EC60A9.446B@zk3.dec.com>#1/1 X-Deja-AN: 134079610 references: <4bkst2$4dm@sundog.tiac.net> <1996Jan3.151127.3996@sgcl1.unisg.ch> to: g0daeniken@sgcl1.unisg.ch content-type: text/plain; charset=us-ascii organization: Digital Unix Development Environment mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 2.0b3 (X11; I; OSF1 X4.0 alpha) g0daeniken@sgcl1.unisg.ch wrote: > In article <4bkst2$4dm@sundog.tiac.net>, slipcon@tiac.net (Scott Lipcon) writes: > > > > Hi... Every once in a while, a user will stay logged in after he has > > logged out of the system. All my users log on from the console right now > > What happens is that they are in the "w" output, but there are > > no processes owned by them, and there are no processes owned by the pty > > they are supposedly on. The only thing that seems to log them out is a > > reboot. > > We've already had this one under OSF/1 2.0 ... and now it's back again > under 3.2C! (upgraded last week) > > Today, I've reported this problem to our local DEC support: There is > a patch Nr. OSF350-088 which is supposed to fix it. The problem here is that there are several concurrent processes who write entries to the /var/adm/utmp file. There are some cases where the locking mechanism fails to prevent 2 processes from updating the file. This is a rare case, but does occur in a large timesharing environment. The utmp file is the file that keeps track of users. The fix involved changes to the system run time libraries, as well as the login, getty and init commands. -- Jerry Feldman Unix Systems Group Digital Equipment Corp. Mailstop: ZKO3-3/Y25 110 Spitbrook Rd. gaf@zk3.dec.com Nashua, NH 03062-9987 (603)881-2970