Re: Generate a report for user logon/logoff?



Check out Richard Mueller's fifth logon script he has posted on his
website, this might be what you are looking for:


It should be pointed out (as said on the page) that login scripts run under
user permissions. So it is possible for the user to write to the file
manually. consider the following scenario:

user login, line written to the logfile
user writes a logout line to the logfile manually
user is doing some nasty things...
user writes a login line to the logfile manually
user logs out, line written to the logfile

So from the entries in the logfile the user was logged in before and after
the nasty things happened, but not during the timeperiod.

And if users just plug the power cable there will be no logout.

And if users plug out the network cable while loggin in they might get
logged in (cached credentials) but no line will be written...

And if you give domain users write permission in the directory it will be
filled up with crap in shortest time (at least our user did :-).

All together it is not a reliable logfile...

ciao, ralf


.



Relevant Pages

  • Re: Security full can not login
    ... You have to configure the settings to overwrite if needed or increase the logfile size. ... Do you also control the logfiles of the user machines? ... we have to login administrator id to clear the security log. ...
    (microsoft.public.windows.server.general)
  • Re: /var/log/lastlog too large
    ... Is not exactly a logfile, is more a binary database mantained by the login ... just initialize it using touch /var/log/lastlog. ... Davide ...
    (comp.os.linux.misc)
  • Re: ADO.NET help - Filling a DataGrid with contents of a DataSet
    ... database requested in login 'SCMS'. ... To me this is an error with my connection string. ... Check your web folder's user permissions in IIS. ...
    (microsoft.public.dotnet.framework.adonet)
  • OWA Permissions
    ... login locally and exteranlly with my login info that has ... through owa that has regular user permissions. ...
    (microsoft.public.exchange.connectivity)
  • Re: ftp localhost
    ... fewgoodpeople wrote: ... > 530 Please login with USER and PASS. ... > could be the ftp localhost problems? ... Until you understand why there are user permissions, ...
    (comp.os.linux.setup)