Re: [Samba] who's on
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 [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] who's on
smbstatus should do the trick. shows you who's connected to which shares at least, and if you have auto mapping of the user's home directory at login time set up, then you can also know who is logged in. :) Nathan 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. Thanx in advance D Jones -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] who's on
On Fri, 11 Oct 2002 09:57 pm, Dylan Jones wrote: 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. smbstatus is probably what you're after. -- Regards, Deryk Robosson Robosson Business Services 22 Flemington Street Albany, WA 6330 ABN: 56 728 377 499 Phone: +61 4 0842 9835 Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] who's on
Title: [Samba] who's on smbstatus Shaolin - IT Systems WB Ltd..: http://www.security-forums.com :. - Original Message - From: Dylan Jones To: [EMAIL PROTECTED] Sent: Friday, October 11, 2002 2:57 PM Subject: [Samba] who's on 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. Thanx in advance D Jones
Re: [Samba] who's on
On Fri, Oct 11, 2002 at 03:57:46PM +0200, 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. This bash commandline will give you a list of sambalogons: (smbstatus -S | grep -v ^Samba\|^Service\|^-\|^$ | \ while read SHARE USR GRP PID MACH IP ABR MONTH DAY TIME YEAR; \ do echo $USR; \ done;) | uniq If you use a configurable fingerdaemon, than you are able to solve your problem. Take a search on freshmeat with the keyword finger. I konw there a configurable finger daemons.. Frank. -- Frank Matthieß[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba