Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python: Added the beginning of a client library for ashd.pdm.
[ashd.git]
/
src
/
userplex.c
diff --git
a/src/userplex.c
b/src/userplex.c
index
b66490f
..
699cbe5
100644
(file)
--- a/
src/userplex.c
+++ b/
src/userplex.c
@@
-53,6
+53,7
@@
static void login(struct passwd *pwd)
{
int fd;
+ setsid();
if(getuid() == 0) {
if(initgroups(pwd->pw_name, pwd->pw_gid)) {
flog(LOG_ERR, "could not init group list for %s: %s", pwd->pw_name, strerror(errno));