- Timestamp:
- Aug 24, 2017, 9:46:25 PM (8 years ago)
- Branches:
- master
- Children:
- e26e899
- Parents:
- 4c07461
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
logger.c
r4c07461 r094a76c 31 31 #include <sysexits.h> 32 32 #include <time.h> 33 #include <login_cap.h>34 33 #include <event.h> 35 34 #include <pwd.h> … … 97 96 exit(EX_NOUSER); 98 97 } 99 100 if (setusercontext(NULL, pw, pw->pw_uid,101 LOGIN_SETALL & ~LOGIN_SETUSER) < 0)102 exit(EX_NOPERM);103 98 104 99 if (chroot(pw->pw_dir) < 0) {
Note:
See TracChangeset
for help on using the changeset viewer.