Version 4 (modified by mitty, 15 years ago) (diff) |
---|
Samba Web Administration Tool
- loginプロンプトにはローカルユーザのID:Passを入れる。(SambaのID:Passではない)
- attachment:login.png
- 直接アクセスするのはパスワードが平文のため大変危険
swat with no root user
- 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
- 通常ユーザでログインしたときの画面
-rw-r--r-- 1 root root 11229 2009-07-12 05:42 /etc/samba/smb.conf
- 上記対応を取った後、admグループ所属のユーザでログインしたときの画面
-rw-rw-r-- 1 root adm 11229 2009-07-12 05:42 /etc/samba/smb.conf
help html url is wrong
- => #8
Attachments (3)
-
login.png
(23.1 KB) -
added by mitty 15 years ago.
log in prompt for swat
-
noroot.png
(138.6 KB) -
added by mitty 15 years ago.
swat main page with no root
-
chgrp.png
(146.2 KB) -
added by mitty 15 years ago.
swat main page with chgrp smb.conf
Download all attachments as: .zip