Add user to qubes group
This commit is contained in:
parent
f53304f63f
commit
6e22ec49dd
@ -204,6 +204,7 @@ class moduleClass(Module):
|
|||||||
userEnt.get(libuser.GIDNUMBER)[0])
|
userEnt.get(libuser.GIDNUMBER)[0])
|
||||||
|
|
||||||
self.admin.setpassUser(userEnt, self.passwordEntry.get_text(), 0)
|
self.admin.setpassUser(userEnt, self.passwordEntry.get_text(), 0)
|
||||||
|
os.system("usermod -a -G qubes %s" % username)
|
||||||
|
|
||||||
return RESULT_SUCCESS
|
return RESULT_SUCCESS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user