diff --git a/opt/ahenk/base/util/util.py b/opt/ahenk/base/util/util.py index 96efda3..9bd4df3 100644 --- a/opt/ahenk/base/util/util.py +++ b/opt/ahenk/base/util/util.py @@ -18,6 +18,10 @@ class Util: def __init__(self): super().__init__() + @staticmethod + def close_session(username): + Util.execute('pkill -9 -u {0}'.format(username)) + @staticmethod def create_file(full_path): try: