Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

USER Login / Logout Tracking

Status
Not open for further replies.

talkdev

ISP
Aug 2, 2002
42
0
0
IN
Dear Friends,
I have a Redhat linux server as samba PDC .I want to track the login and logout time of the users daily so that i can make a report in month end .
Kindly help me i am in GREAT NEED!!!!!!!!!!!

thanx for ur support
talkdev
 
Set:
utmp = yes
utmp dir =/var/adm/utmp
In your smb.conf
Then you can view the report with the `last` command as stefanwagner mentioned.

If you want to seperate it, maybe you can put something the a logon and logoff script.
logon script = logon.bat
logoff script = logoff.bat



"If you always do what you've always done, you will always be where you've always been."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top