Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any utility that shows, who is accessing( has accessed ) my shared folders. I am using samba to share folders with other windows machines.

share|improve this question

migrated from stackoverflow.com Feb 11 '11 at 2:49

This question came from our site for professional and enthusiast programmers.

    
I'd be curious if net rap session can show this information to you. –  sarnold Feb 11 '11 at 2:46

2 Answers 2

Log files are in /var/log/samba

share|improve this answer
net status sessions

net status shares

Another way is to put utmp = yes in the [global] section of smb.conf. After that, Samba sessions will be listed by the w and who commands, along with SSH connections.

share|improve this answer
    
smbstatus does the same job too –  Linker3000 Feb 11 '11 at 8:56
    
I am looking for getting the the information about users who accessed my shares. Not only people accessing my shares –  Jestin Joy Feb 14 '11 at 14:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.