Version 1 (modified by mitty, 15 years ago) (diff) |
---|
- Bug #5608 in samba (Ubuntu): “SWAT expects to authenticate as root”
- Bug #5608 - Comment #8
The workaround is very simple. Just change the rights of the smb.conf file. The group should be adm and the rights for the group should be set to rw. In commands: sudo chgrp adm /etc/samba/smb.conf sudo chmod g+w /etc/samba/smb.conf
- #378454 - swat: not usable when root account is disabled (pure sudo system) - Debian Bug report logs
Actually, there is another solution: SWAT manages permissions using PAM, and using rights on /etc/samba/smb.conf. So the solution is just to allow you user(s) to write to /etc/samba/smb.conf. Example: adduser myuser adm chgrp adm /etc/samba/smb.conf chmod g+w /etc/samba/smb.conf
- Bug #5608 - Comment #8
Attachments (2)
- net-use-samba-1.png (37.5 KB) - added by mitty 14 years ago.
- net-use-samba-2.png (35.7 KB) - added by mitty 14 years ago.
Download all attachments as: .zip