Samba
system-config-samba 崩潰,無法打開配置文件“/etc/libuser.conf”
作業系統:Linux Mint 18.3 Xfce 64 位。
我正在嘗試重新安裝
samba
,到目前為止我已經完成了:sudo apt-get install samba cifs-utils system-config-samba
但是在執行配置 GUI 時:
sudo system-config-samba
它像這樣崩潰:
Traceback (most recent call last): File "/usr/sbin/system-config-samba", line 45, in <module> mainWindow.MainWindow(debug_flag) File "/usr/share/system-config-samba/mainWindow.py", line 121, in __init__ self.basic_preferences_win = basicPreferencesWin.BasicPreferencesWin(self, self.xml, self.samba_data, self.samba_backend, self.main_window) File "/usr/share/system-config-samba/basicPreferencesWin.py", line 97, in __init__ self.admin = libuser.admin() SystemError: could not open configuration file `/etc/libuser.conf': No such file or directory
足以創建該文件:
sudo touch /etc/libuser.conf
並重新執行 samba 配置器。