system-config-samba started with gksu

Bug #1770887 reported by vlc
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
system-config-samba (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In Xubuntu 18.04 "system-config-samba" is still started with "gksu":

$ cat /usr/share/applications/system-config-samba.desktop | grep Exec
Exec=gksu system-config-samba

But "gksu" has been removed from the repositories.

Starting "system-config-samba" with "sudo" unfortunately also doesn't work:

$ 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

Currently I have no way to start "system-config-samba"

Tags: bionic
tags: added: bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-samba (Ubuntu):
status: New → Confirmed
Revision history for this message
Tony Bronze (ttiger) wrote :

System error is separate to the gksu problem. In a terminal type:

$ sudo touch /etc/libuser.conf

then try:

sudo -i system-config-samba

Revision history for this message
juliocesar olivera (mdogshadow) wrote :

thanks Tony Bronze (ttiger) ... very usefull your comment.

regars from venezuela.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.