Public bug reported:
Binary package hint: smb4k
While trying to work out ways for users in our office to mount Samba
shares on demand, I decided Smb4K would be our best option - but had
problems with current releases of Samba not allowing normal users to
mount Samba shares (even with the setuid bit set).
I then found the "Super User" configuration option in Smb4K would let
normal users do the right thing, so I checked the "Use super user
privileges to mount and unmount shares" option on the "Super User"
configuration tab, clicked apply and entered my password to allow Smb4K
to write changes to the /etc/sudoers file - I got no errors.
I then tried to mount a Samba share and got the following error message
details:
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: no valid sudoers sources found, quitting
So, I tried to correct the permissions on /etc/sudoers and was greeted
with the same message at the command line:
krog...@kevin-desktop:/etc$ sudo chmod 0440 /etc/sudoers
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: no valid sudoers sources found, quitting
In order to get administrative capabilities back, I had to reboot with a
live cd in order to gain root access and correct the file permissions.
In addition, Smb4k seems to have made other changes to /etc/sudoers -
see the attached patch for a comparison of /etc/sudoers off the livecd
with the version on my computer after Smb4k modified it (unfortunately I
did not have a backup of my /etc/sudoers file from before Smb4k modified
it, but I have never modified /etc/sudoers since installing Ubuntu). In
particular I'm not sure of the consequences of the changes relating to
the sudo and admin groups.
** Affects: smb4k (Ubuntu)
Importance: Undecided
Status: New
--
smb4k super user privileges leaves wrong permissions on /etc/sudoers
https://bugs.launchpad.net/bugs/683071
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs