0

In light of recent Wannacry and "sambracry" exploits - it seems wise to simply uninstall Samba. (over and above config changes to disable the oldest protocols)

I installed Samba a while ago (years) to access Windows shared folders, but no longer use it.

Are there any odd things that use or depend on Samba other than sharing folders and printers to and from windows machines?

What consequences am I likely to face (if any) if I uninstall Samba.

Edit: more information. Running:

apt-cache rdepends samba --installed 

(thanks to this answer) outputs the following list - most of it is looks like other components of Samba - but there are other things such as nautilus-share that sound unrelated.

samba
Reverse Depends:
  libpam-winbind
  libnss-winbind
  winbind
  smbclient
  samba-vfs-modules
  samba-libs
  samba-libs
  samba-common-bin
  samba-common
  samba
  libwbclient0
  libpam-winbind
  libnss-winbind
  winbind
  smbclient
  samba-vfs-modules
  samba-libs
  samba-common-bin
  samba-common
  samba
  nautilus-share
  libwbclient0
Andrew M
  • 2,398

1 Answers1

1

If you installed it you can uninstall it and its dependencies by apt-get remove --purge samba than if any of the dependecies is used also by another program, it won't get removed.

Samba anyway itself is not just for filesharing but might also be used for user and group administration. But if you didn't use that than there should not be any consequences on removing it again.

And I don't know exactly but I guess the nautilus share thing might only be some sort of samba front-end plug-in for the nautilus file browser. So if you don't use samba you can't share files => you dont need this neither

derHugo
  • 3,376
  • 5
  • 34
  • 52