Uptime and w failing to report correct info?

Gregory Nowak greg at romuald.net.eu.org
Sat Jul 25 16:21:50 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It's possible that your /var/run/utmp might have gotten corrupted for
some reason. If you're really sure there are no other users on your
system, you could do:

rm /var/run/utmp
touch /var/run/utmp
chgrp utmp /var/run/utmp
chmod 664 /var/run/utmp

Greg


On Sat, Jul 25, 2009 at 10:01:24AM -0700, Zachary Kline wrote:
> Hi All,
> I'm curious as to why uptime and w both seem to think there are more
> users on my system than actually are logged in.  The actual time
> callculation seems accurate. 
> I'm running archlinux with Speakup.  As far as I'm concerned everything
> else on this system works as expected.  I'm just wondering about this
> tiny inconsistency.
> I've read up on utmp and wtmp, but don't know what programs besides the
> login program might have cause to mess with them.  
> Any info would be appreciated.
> Best and thanks,
> Zack.
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 

- -- 
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

- --
Free domains: http://www.eu.org/ or mail dns-manager at EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpraV4ACgkQ7s9z/XlyUyCgCwCePm7EI4TOfJbDt+R7serqRF/4
P/8AoJZJaoe3pGkXEabJJucxth2pVwxJ
=rHZq
-----END PGP SIGNATURE-----



More information about the Speakup mailing list