Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #1030

Re: gdm: how do I log who logs in?

From Bill Marcum <bill@lat.localnet>
Newsgroups comp.os.linux.misc
Subject Re: gdm: how do I log who logs in?
Date 2011-05-05 15:35 -0400
Organization Elite of Amoral Supermen
Message-ID <slrnis5v0k.3d8.bill@lat.localnet> (permalink)
References <ips758$rpl$1@dont-email.me>

Show all headers | View raw


On 2011-05-04, Todd <Todd@invalid.com> wrote:
> Hi All,
>
> Is there a way to have gmd log who logs in and
> when they logged back out?  Not having much luck
> Googling this.  :-(
>
> Many thanks,
> -T
>
> # ls -al /var/log/gdm
> ...
> -rw-r--r--  1 root root 1132 May  4 08:31 :0.log
> -rw-r--r--  1 root root 1132 Apr 19 19:24 :0.log.1
> -rw-r--r--  1 root root 1132 Apr 19 16:37 :0.log.2
> -rw-r--r--  1 root root 1187 Apr 19 16:37 :0.log.3
> -rw-r--r--  1 root root 1132 Apr 11 08:14 :0.log.4
>
> Note that my logs files are all one byte long.

Are you looking at the "1" in the second column, which is the number of
links? Each file appears to be at least 1132 bytes long. On my system, 
these files don't show who logged in and out, they log the startup of
the X server. Use the "last" command to see who logged in.


-- 
"I bet Bin Laden regrets allowing his iPhone app to 'use his current
location'" --"Megan", comment on news.yahoo.com

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

gdm: how do I log who logs in? Todd <Todd@invalid.com> - 2011-05-04 11:50 -0700
  Re: gdm: how do I log who logs in? Lew Pitcher <lpitcher@teksavvy.com> - 2011-05-04 14:59 -0400
    Re: gdm: how do I log who logs in? Todd <Todd@invalid.com> - 2011-05-04 13:29 -0700
  Re: gdm: how do I log who logs in? Richard Kettlewell <rjk@greenend.org.uk> - 2011-05-04 20:00 +0100
    Re: gdm: how do I log who logs in? Todd <Todd@invalid.com> - 2011-05-04 13:29 -0700
  Re: gdm: how do I log who logs in? Bill Marcum <bill@lat.localnet> - 2011-05-05 15:35 -0400
    Re: gdm: how do I log who logs in? Todd <Todd@invalid.com> - 2011-05-06 13:46 -0700

csiph-web