[Samba] who's on

Andrew Bartlett abartlet at samba.org
Sat Oct 12 07:27:01 GMT 2002


Dylan Jones wrote:
> 
> Hi everyone,
> 
> Probably a dumb one too, but simply I cannot put my finger on what command
> to use in order to see who's locally logged on; let me be more accurate in
> my description:
> we run win98 PC all accessing shares on the linux boxes via samba. Several
> users & shares. When I use finger or who to see who's logged on I only get
> to see who's logged on directly through ssh or telnet, but can't see who's
> on through samba.
> 
> If anyone could help then I'd be glad... of course.

While smbstatus is the 'quick' answer, the --with-utmp code (also needs
'utmp =yes' in smb.conf makes the actual 'finger' and 'w' programs work,
rather than scripted replacements.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net



More information about the samba mailing list