Where and what should I look for to determine users last login? Thanks. /R
> Where and what should I look for to determine users last login? >/var/log/samba/log.(username) -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- ----- Original Message ----- From: "Randy S" <randoms@yahoo.com> To: <samba@samba.org> Sent: Thursday, September 23, 2004 2:12 PM Subject: [Samba] checking a users last login> Where and what should I look for to determine users last login? > > Thanks. > > /R > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
David Rankin <> wrote:>> Where and what should I look for to determine users last login? >> > > /var/log/samba/log.(username)A better way would be to add "utmp = yes" to your smb.conf, then you can just use the "last" command to find out the last time a user connected. HTH, --J(K)
David Rankin wrote:>>Where and what should I look for to determine users last login? >> > > > /var/log/samba/log.(username)I only have logs that correspond to machine names, not user names. I assume these will work. Is there a certain call or something to grep for?
Hmmm.... Why not just: # tail -n50 /var/log/samba/log.(machine) -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- ----- Original Message ----- From: "Randy S" <randoms@yahoo.com> To: "samba" <samba@lists.samba.org> Sent: Thursday, September 23, 2004 3:53 PM Subject: Re: [Samba] checking a users last login> > > David Rankin wrote: > >>Where and what should I look for to determine users last login? > >> > > > > > > /var/log/samba/log.(username) > > > I only have logs that correspond to machine names, not user names. I > assume these will work. Is there a certain call or something to grep for? > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >