add a log message after switch user
This commit is contained in:
parent
7d8b259a2f
commit
86cc88f6bf
1
esgd.py
1
esgd.py
|
@ -195,4 +195,5 @@ if __name__ == "__main__":
|
||||||
with socketserver.TCPServer((host, port), GopherHandler) as server:
|
with socketserver.TCPServer((host, port), GopherHandler) as server:
|
||||||
os.setgid(switchgrp)
|
os.setgid(switchgrp)
|
||||||
os.seteuid(switchusr)
|
os.seteuid(switchusr)
|
||||||
|
log.log("switch user successful")
|
||||||
server.serve_forever()
|
server.serve_forever()
|
||||||
|
|
Loading…
Reference in New Issue