Gentoo Archives: gentoo-user

From: Matthias Langer <mlangc@×××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] # users gives strange results
Date: Mon, 20 Mar 2006 04:07:43
Message-Id: 1142827354.10246.14.camel@sputnik886.ruz-net
In Reply to: [gentoo-user] # users gives strange results by Matthias Langer
1 On Mon, 2006-03-20 at 04:51 +0100, Matthias Langer wrote:
2 > Recently i've got a power failure while one of my gentoo boxes was up
3 > and running. Since then, the users command seems not to work correctly
4 > anymore, as it claims for users to be logged in that almost certainly
5 > aren't and don't have a single process running. Besides of this issue,
6 > everthing seems to work as expected. Can anybody here tell me where to
7 > look for the source of this problem ?
8 >
9 Just for the case that this helps describing my problem:
10
11 # users
12 mlangc mlangc
13
14 [should be: rattan]
15
16 # top
17 not a single process for mlangc
18
19 # tail -n 400 /var/log/messages
20
21 Mar 19 22:21:37 lgate886 login(pam_unix)[8674]: session opened for user
22 mlangc by (uid=0)
23 ...
24 ...
25 Mar 19 22:21:47 lgate886 (mlangc-8784): starting (version 2.12.1), pid
26 8784 user 'mlangc'
27 ...
28 ...
29 Mar 20 00:02:45 lgate886 (mlangc-8784): Exiting
30 Mar 20 00:02:50 lgate886 login(pam_unix)[8674]: session closed for user
31 mlangc
32 Mar 20 04:29:35 lgate886 sshd[9620]: Accepted keyboard-interactive/pam
33 for rattan from 192.168.0.102 port 41237 ssh2
34 Mar 20 04:29:35 lgate886 syslog-ng[5304]: STATS: dropped 0
35 Mar 20 04:29:35 lgate886 sshd(pam_unix)[9626]: session opened for user
36 rattan by (uid=0)
37 Mar 20 04:30:29 lgate886 su[9634]: Successful su for root by rattan
38 Mar 20 04:30:29 lgate886 su[9634]: + pts/0 rattan:root
39 Mar 20 04:30:29 lgate886 su(pam_unix)[9634]: session opened for user
40 root by (uid=1002)
41
42
43 --
44 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] # users gives strange results Rick van Hattem <Rick.van.Hattem@××××.nl>