add a log message after switch user

This commit is contained in:
randomuser 2021-07-20 03:20:24 -05:00
parent 7d8b259a2f
commit 86cc88f6bf
1 changed files with 1 additions and 0 deletions

View File

@ -195,4 +195,5 @@ if __name__ == "__main__":
with socketserver.TCPServer((host, port), GopherHandler) as server:
os.setgid(switchgrp)
os.seteuid(switchusr)
log.log("switch user successful")
server.serve_forever()