list of users logged on

Joel Hammer Joel at HammersHome.com
Mon Sep 24 18:57:03 GMT 2001


> Yes but it doesn't do a good job if you're trying to audit things like
> when people logged in and for how long.  smbstatus gives you simple a
> picture of who's logged in at a certain time based on file usage.  I've

That isn't what you asked for.

However, it is easy to capture much of this stuff. Look at the samba
variables like %T and %m and %U and so on, and put them into a preexec file
and a post exec file to monitor log on times, what shares accessed, etc.
Joel


> found a somewhat better way to to recompile samba 2.2 with --with-utmp
> option.  (I usually just modify the redhat rawhide 2.2 src.rpm spec file.)
> This allows you to use 'who' and 'last' to get a list of current logins,
> as well as login history.
> 
> Michael
> 
> 
> 
> On Mon, 24 Sep 2001, Joel Hammer wrote:
> 
> > >
> > > I was wondering if there is any easy way to get a list of the users
> > > which are logged on to my samba server.
> > > Thanks
> > >
> > smbstatus shows this sort of information.
> > Joel
> >
> >
> >




More information about the samba mailing list