[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: User management
Hi Erich,
I am trying to keep tabs on when, and for how long a Windows
client is on the network. I was thinking ouf using the smbstatus
command in the Samba package to regularly check the users
on each connection (check it about once or twice a minute with
a Perl script) to keep tabs on how long users are logged into
the network. Under NT you can setup auditing on logins, but
im not sure if there is something similar for Linux.
Jason
> -----Original Message-----
> From: Erich Schroeder [SMTP:erich@museum.state.il.us]
> Sent: Friday, May 14, 1999 3:35 PM
> To: 'luci-discuss@luci.org'
> Subject: Re: User management
>
>
> Jason,
> Looking at samba running under solaris (our most busy samba box) I see
> in /usr/local/samba a log file for each host, called log.<host>. For
> example if I:
>
> erich@marduk% tail log.tasc2
> 1999/05/13 18:02:53 tasc2 (192.168.1.35) closed connection to service
> crickers
> 1999/05/13 18:02:53 tasc2 (192.168.1.35) closed connection to service
> usace-ro
> 1999/05/13 18:02:53 tasc2 (192.168.1.35) closed connection to service
> iasplot
> 1999/05/13 18:02:53 tasc2 (192.168.1.35) closed connection to service
> illinois2
> 1999/05/13 18:02:53 tasc2 (192.168.1.35) closed connection to service drg
> 1999/05/14 09:38:24 tasc2 (192.168.1.35) connect to service crickers as
> user crickers (uid=2021,gid=10) (pid 3163)
> 1999/05/14 09:38:24 tasc2 (192.168.1.35) connect to service iasplot as
> user nobody (uid=60001,gid=60001) (pid 3163)
> 1999/05/14 09:38:24 tasc2 (192.168.1.35) connect to service illinois2 as
> user nobody (uid=60001,gid=60001) (pid 3163)
> 1999/05/14 09:38:24 tasc2 (192.168.1.35) connect to service drg as user
> nobody (uid=60001,gid=60001) (pid 3163)
> 1999/05/14 09:38:24 tasc2 (192.168.1.35) connect to service usace-ro as
> user nobody (uid=60001,gid=60001) (pid 3163)
>
> Is this what you mean? I just have the default smb.conf file.
>
> eks
>
> ---------------------------------------------------------------------
> Erich Schroeder Phone: (217)785-0033
> Curator, Information Technologies FAX: (217)785-2857
> Illinois State Museum GIS Lab Internet: erich@museum.state.il.us
> http://www.museum.state.il.us/ismdepts/anthro/staff/erich/erich.html
> ---------------------------------------------------------------------
>
> On Fri, 14 May 1999, Burke, Jason wrote:
>
> >
> > Greetings all,
> >
> > Does anyone know how to track users logins
> > and logoffs with Samba?
> >
> > Jason Burke
> >
> > --
> > To unsubscribe, send email to majordomo@luci.org with
> > "unsubscribe luci-discuss" in the body.
> >
>
>
> --
> To unsubscribe, send email to majordomo@luci.org with
> "unsubscribe luci-discuss" in the body.
--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.