diff --git a/autonomic/config.py b/autonomic/config.py index 3d7e79d..bb3bf6e 100644 --- a/autonomic/config.py +++ b/autonomic/config.py @@ -1,9 +1,9 @@ """Tool configuration.""" -import os +from getpass import getuser # current user -WHOAMI = os.getlogin() +WHOAMI = getuser() # home directory of the current user HOME_DIR = "/home/{}".format(WHOAMI)