diff options
-rw-r--r-- | logwrapper/logwrap.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/logwrapper/logwrap.c b/logwrapper/logwrap.c index 09f8b81..ef457de 100644 --- a/logwrapper/logwrap.c +++ b/logwrapper/logwrap.c @@ -262,12 +262,6 @@ int logwrap(int argc, char* argv[], int *status) { signal_fd_write = sockets[0]; - // switch user and group to "log" - // this may fail if we are not root, - // but in that case switching user/group is unnecessary - setgid(AID_LOG); - setuid(AID_LOG); - rc = parent(argv[0], parent_ptty, sockets[1], pid, status); } |