summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall1
1 files changed, 1 insertions, 0 deletions
diff --git a/install b/install
index 91d4d77..3be9c09 100755
--- a/install
+++ b/install
@@ -1078,6 +1078,7 @@ def create_user():
if ret == 0:
chpasswd_cmd = Popen(['chpasswd', '-R', rootdir], stderr=PIPE, stdout=PIPE, stdin=PIPE)
chpasswd_cmd.communicate(input='{}:{}'.format(login.value(), passwd1.value()))
+ call(['usermod', '-R', rootdir, '-a', '-G', 'sudo', login.value()])
break
else:
ButtonChoiceWindow(screen, title='Failed to create user',