1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 12:28:08 +01:00

Add support for configurable Unix group to be used - basically, users

must be a member of this group in order to use Wicd.  Note that this
  does not apply on systems configured to use ConsoleKit/PAM/et al.
This defaults to use the "users" group so that it will work "out of the
  box" for most people, but distributions are encouraged to edit it
  as needed with the "--wicdgroup=whatever" configure argument.
This commit is contained in:
Robby Workman
2008-12-23 01:47:53 -06:00
parent c9b25937b3
commit 48160df95b
3 changed files with 4 additions and 2 deletions

View File

@@ -63,6 +63,7 @@ class configure(Command):
('pidfile=', None, 'set the pid file'),
('initfile=', None, 'set the init file to use'),
('initfilename=', None, "set the name of the init file (don't use)"),
('wicdgroup=', None, "set the name of the group used for wicd"),
# Configure switches
('no-install-init', None, "do not install the init file"),
@@ -179,6 +180,7 @@ class configure(Command):
self.python = '/usr/bin/python'
self.pidfile = '/var/run/wicd/wicd.pid'
self.initfilename = os.path.basename(self.initfile)
self.wicdgroup = 'users'
def finalize_options(self):