[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
Re: [Samba] checking a users last login
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 [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
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) 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) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
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) It should have been added that in order to use this method, you'll have to make your log file directive look something like log file = /var/log/samba/log.%u -- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Information Systems Consultant Fax:701-281-1322 URL: www.ae-solutions.commailto: [EMAIL PROTECTED] - The information contained in this message is privileged and intended only for the recipient names. If the reader is not a representative of the intended recipient, any review, dissemination or copying of this message or the information it contains is prohibited. If you have received this message in error, please immediately notify the sender, and delete the original message and attachments. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
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
Re: [Samba] checking a users last login
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 [EMAIL PROTECTED] To: samba [EMAIL PROTECTED] 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] checking a users last login
I've looked at the log, there's hundreds of entries that have nothing to do with logging in; just all the chatter of sitting on the wire. I want to find when the last login was. What should I look for? /r David Rankin wrote: 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 [EMAIL PROTECTED] To: samba [EMAIL PROTECTED] 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba