[Samba] Re: how to view users logged in samba server??

Ulrich Kohlhase Ulrich.Kohlhase at t-online.de
Fri Mar 14 03:01:08 GMT 2003


Diego,

An alternative approach is to compile Samba form source with the configure
option "--with-utmp" or use a precompiled package, which has utmp support
enabled. The command "who | grep smb | cut -f 1 -d ' ' | uniq" will then
list users with connections to Samba shares (who is part of GNUs sh-utils
and should be included in all Linux distributions).

Good luck,
Uli




More information about the samba mailing list