This commit is contained in:
Tuncay ÇOLAK 2018-09-26 10:02:33 +03:00
parent c410f6e4da
commit 45daf230af

View file

@ -202,7 +202,6 @@ class Registration:
new_home_dir = p.pw_dir.rstrip('/') + '-local/' new_home_dir = p.pw_dir.rstrip('/') + '-local/'
new_username = p.pw_name+'-local' new_username = p.pw_name+'-local'
print(new_home_dir, new_username)
sysx.killuserprocs(p.pw_uid) sysx.killuserprocs(p.pw_uid)
self.util.execute(passwd_cmd.format(p.pw_name)) self.util.execute(passwd_cmd.format(p.pw_name))
self.util.execute(change_username.format(new_username, p.pw_name)) self.util.execute(change_username.format(new_username, p.pw_name))