From c410f6e4da315ee8dcfdf5ac69f4c34d3c07fc20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuncay=20=C3=87OLAK?= Date: Wed, 26 Sep 2018 10:01:55 +0300 Subject: [PATCH] changed local user name and home directory name when registration agent --- src/base/registration/registration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/registration/registration.py b/src/base/registration/registration.py index 72049fc..c45996b 100644 --- a/src/base/registration/registration.py +++ b/src/base/registration/registration.py @@ -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))