mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-26 00:02:19 +03:00
bugfix
This commit is contained in:
parent
c410f6e4da
commit
45daf230af
1 changed files with 0 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue