mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-29 00:22:16 +03:00
changed local user name and home directory name when registration agent
This commit is contained in:
parent
5beb64cf8e
commit
c410f6e4da
1 changed files with 1 additions and 1 deletions
|
@ -207,4 +207,4 @@ class Registration:
|
||||||
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))
|
||||||
self.util.execute(change_home.format(new_home_dir, new_username))
|
self.util.execute(change_home.format(new_home_dir, new_username))
|
||||||
print("User: '{0}' will be disabled and changed username and home directory of username".format(p.pw_name))
|
self.logger.debug("User: '{0}' will be disabled and changed username and home directory of username".format(p.pw_name))
|
||||||
|
|
Loading…
Reference in a new issue