I DO NOT want to share Ubuntu files on home network

Asked by clombard

I have a wireless notebook computer running Ubuntu 10.10 on my home network. I have nearly every "sharing" option unchecked...yet I discovered that a "Limited" user on a wired windows XP machine on my home network can access my Linux computer files easily. Security...None. Zero.
How can I NOT allow other machines on my network access to my Ubuntu machine...?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Solved by:
Johann-jlconradie
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Uninstall samba

Revision history for this message
clombard (clombard44) said :
#2

I uninstalled samba. Now the network can not see my computer. And I can not acess any computer in my network!
Why doesn't "unchecked" sharing option on my computer work so that my computer is seen on the network but other users are Denied access...?
Network management by elimation is not the greatest.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

you need to install smbclient then. Does it install samba with it?

Revision history for this message
clombard (clombard44) said :
#4

Yes smbclient also installed smb4.
I just want to see ALL computers in MY home network and be able to access files on them without giving
other users (especially guest and limited users) access to my Linux machine.
Can this be done...?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Did you ever populate /etc/samba/smb.conf ?

Revision history for this message
Jeb E. (jebeld17) said :
#6

Delete your Public folder, too

Revision history for this message
clombard (clombard44) said :
#7

I don't know what you're asking.
I thought at one time everything worked...
right now a guest on a WindowsXP computer can access
my Linux machine folders and I can't see them.
Something is wrong with this picture don't you think?

On Thu, 2011-03-24 at 01:48 +0000, actionparsnip wrote:
> Your question #150243 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/150243
>
> Status: Open => Needs information
>
> actionparsnip requested for more information:
> Did you ever populate /etc/samba/smb.conf ?
>

Revision history for this message
clombard (clombard44) said :
#8

The Public folder was empty and I deleted it.

On Thu, 2011-03-24 at 01:55 +0000, Jeb E. wrote:
> Your question #150243 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/150243
>
> Status: Needs information => Answered
>
> Jeb E. proposed the following answer:
> Delete your Public folder, too
>

Revision history for this message
clombard (clombard44) said :
#9

The options in Linux seem to do nothing.
I have everything set (unchecked) Do Not share
this folder...yet even a guest account on a WinxP
computer can see my Linux folders. Wow.

On Thu, 2011-03-24 at 01:55 +0000, Jeb E. wrote:
> Your question #150243 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/150243
>
> Status: Needs information => Answered
>
> Jeb E. proposed the following answer:
> Delete your Public folder, too
>

Revision history for this message
Johann-jlconradie (johann-jlconradie) said :
#10

Please try the following:

Click on Applications-> Accessories-> Terminal

type the following and hit enter: sudo update-rc.d -f smbd

Caution: This will stop the samba server from running on your PC.

Revision history for this message
Johann-jlconradie (johann-jlconradie) said :
#11

Please try the following:

Click on Applications-> Accessories-> Terminal

type the following and hit enter: sudo update-rc.d -f smbd remove

Caution: This will stop the samba server from running on your PC.

Revision history for this message
clombard (clombard44) said :
#12

No...that did nothing...now I do not see my Ubuntu computer when looking at the network on other
machines in the network. It seems like my Ubuntu computer should be seen on the network but not accessable...
Is that possible...?

Revision history for this message
Best Johann-jlconradie (johann-jlconradie) said :
#13

Hi Clombard

The fact that you can't see your PC from the other machines, means that files sharing has been turned off completely (samba the file sharing component is now disabled), which is what we wanted. Samba show's your PC only when it is running and when you want to enable file sharing, when the samba server is off (like your is now), other PC's (samba clients) which could access your files, won't be able to anymore. There is no need for your PC to be visible to other PC's (samba clients) if you do not want to use samba(file sharing). Thus if you want no shares or access to your PC, you dont want Samba running.

Remember that your PC is still on the network, and that it is still networked, your file sharing is just turned off now.

You also say that it did nothing, but you can't see your PC from the other machine's, which means it worked. Unless your problem description was wrong, but if it wasn't, then the problem is fixed. That is - other people on the network wont be able to access your files anymore.

Revision history for this message
clombard (clombard44) said :
#14

Thanks Johann-jlconradie, that solved my question.

Revision history for this message
Johann-jlconradie (johann-jlconradie) said :
#15

My pleasure!