changed local user name and home directory name when registration agent

This commit is contained in:
Tuncay ÇOLAK 2018-09-26 10:01:55 +03:00
parent 5beb64cf8e
commit c410f6e4da

View file

@ -207,4 +207,4 @@ class Registration:
self.util.execute(passwd_cmd.format(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))
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))