See who is browsing the local net shared folder

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have a folder on my computer that is shared over local network. I have allowed guest accessibility.



My question is just out of curiosity (without any practical reason).
Can I see username or ip-address of anybody that is currently using this folder?



EDIT: I am using samba to achieve network share.










share|improve this question



















  • 1




    Is the folder shared using samba? If so, you can do a sudo smbstatus to see userids and IP addresses of people using the share.
    – Organic Marble
    Feb 3 at 18:56










  • That did it. Thanks.. Can I see some log file of past users?
    – NonStandardModel
    Feb 3 at 18:57











  • You can try grep "smbd" /var/log/auth.log and see if that gives you some history. Since you are indeed using samba, how about if I write this as an answer?
    – Organic Marble
    Feb 3 at 19:06










  • please update your question to reflect that you are using samba
    – Robert Riedl
    Feb 3 at 21:34














up vote
0
down vote

favorite












I have a folder on my computer that is shared over local network. I have allowed guest accessibility.



My question is just out of curiosity (without any practical reason).
Can I see username or ip-address of anybody that is currently using this folder?



EDIT: I am using samba to achieve network share.










share|improve this question



















  • 1




    Is the folder shared using samba? If so, you can do a sudo smbstatus to see userids and IP addresses of people using the share.
    – Organic Marble
    Feb 3 at 18:56










  • That did it. Thanks.. Can I see some log file of past users?
    – NonStandardModel
    Feb 3 at 18:57











  • You can try grep "smbd" /var/log/auth.log and see if that gives you some history. Since you are indeed using samba, how about if I write this as an answer?
    – Organic Marble
    Feb 3 at 19:06










  • please update your question to reflect that you are using samba
    – Robert Riedl
    Feb 3 at 21:34












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a folder on my computer that is shared over local network. I have allowed guest accessibility.



My question is just out of curiosity (without any practical reason).
Can I see username or ip-address of anybody that is currently using this folder?



EDIT: I am using samba to achieve network share.










share|improve this question















I have a folder on my computer that is shared over local network. I have allowed guest accessibility.



My question is just out of curiosity (without any practical reason).
Can I see username or ip-address of anybody that is currently using this folder?



EDIT: I am using samba to achieve network share.







shared-folders






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 5 at 11:05

























asked Feb 3 at 18:51









NonStandardModel

1,28451531




1,28451531







  • 1




    Is the folder shared using samba? If so, you can do a sudo smbstatus to see userids and IP addresses of people using the share.
    – Organic Marble
    Feb 3 at 18:56










  • That did it. Thanks.. Can I see some log file of past users?
    – NonStandardModel
    Feb 3 at 18:57











  • You can try grep "smbd" /var/log/auth.log and see if that gives you some history. Since you are indeed using samba, how about if I write this as an answer?
    – Organic Marble
    Feb 3 at 19:06










  • please update your question to reflect that you are using samba
    – Robert Riedl
    Feb 3 at 21:34












  • 1




    Is the folder shared using samba? If so, you can do a sudo smbstatus to see userids and IP addresses of people using the share.
    – Organic Marble
    Feb 3 at 18:56










  • That did it. Thanks.. Can I see some log file of past users?
    – NonStandardModel
    Feb 3 at 18:57











  • You can try grep "smbd" /var/log/auth.log and see if that gives you some history. Since you are indeed using samba, how about if I write this as an answer?
    – Organic Marble
    Feb 3 at 19:06










  • please update your question to reflect that you are using samba
    – Robert Riedl
    Feb 3 at 21:34







1




1




Is the folder shared using samba? If so, you can do a sudo smbstatus to see userids and IP addresses of people using the share.
– Organic Marble
Feb 3 at 18:56




Is the folder shared using samba? If so, you can do a sudo smbstatus to see userids and IP addresses of people using the share.
– Organic Marble
Feb 3 at 18:56












That did it. Thanks.. Can I see some log file of past users?
– NonStandardModel
Feb 3 at 18:57





That did it. Thanks.. Can I see some log file of past users?
– NonStandardModel
Feb 3 at 18:57













You can try grep "smbd" /var/log/auth.log and see if that gives you some history. Since you are indeed using samba, how about if I write this as an answer?
– Organic Marble
Feb 3 at 19:06




You can try grep "smbd" /var/log/auth.log and see if that gives you some history. Since you are indeed using samba, how about if I write this as an answer?
– Organic Marble
Feb 3 at 19:06












please update your question to reflect that you are using samba
– Robert Riedl
Feb 3 at 21:34




please update your question to reflect that you are using samba
– Robert Riedl
Feb 3 at 21:34










1 Answer
1






active

oldest

votes

















up vote
4
down vote



accepted










If the folder is shared using samba, you can do a sudo smbstatus to see userids and IP addresses of people using the share.



You might be able to get some history from grep "smbd" /var/log/auth.log






share|improve this answer




















  • You could also add the log dir /var/log/samba/
    – Robert Riedl
    Feb 3 at 21:41










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002726%2fsee-who-is-browsing-the-local-net-shared-folder%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
4
down vote



accepted










If the folder is shared using samba, you can do a sudo smbstatus to see userids and IP addresses of people using the share.



You might be able to get some history from grep "smbd" /var/log/auth.log






share|improve this answer




















  • You could also add the log dir /var/log/samba/
    – Robert Riedl
    Feb 3 at 21:41














up vote
4
down vote



accepted










If the folder is shared using samba, you can do a sudo smbstatus to see userids and IP addresses of people using the share.



You might be able to get some history from grep "smbd" /var/log/auth.log






share|improve this answer




















  • You could also add the log dir /var/log/samba/
    – Robert Riedl
    Feb 3 at 21:41












up vote
4
down vote



accepted







up vote
4
down vote



accepted






If the folder is shared using samba, you can do a sudo smbstatus to see userids and IP addresses of people using the share.



You might be able to get some history from grep "smbd" /var/log/auth.log






share|improve this answer












If the folder is shared using samba, you can do a sudo smbstatus to see userids and IP addresses of people using the share.



You might be able to get some history from grep "smbd" /var/log/auth.log







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 3 at 19:07









Organic Marble

10.1k63255




10.1k63255











  • You could also add the log dir /var/log/samba/
    – Robert Riedl
    Feb 3 at 21:41
















  • You could also add the log dir /var/log/samba/
    – Robert Riedl
    Feb 3 at 21:41















You could also add the log dir /var/log/samba/
– Robert Riedl
Feb 3 at 21:41




You could also add the log dir /var/log/samba/
– Robert Riedl
Feb 3 at 21:41

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002726%2fsee-who-is-browsing-the-local-net-shared-folder%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error