Changeset 094a76c in code


Ignore:
Timestamp:
Aug 24, 2017, 9:46:25 PM (8 years ago)
Author:
Mike Belopuhov <mike@…>
Branches:
master
Children:
e26e899
Parents:
4c07461
Message:

Another lurking setusercontext

File:
1 edited

Legend:

Unmodified
Added
Removed
  • logger.c

    r4c07461 r094a76c  
    3131#include <sysexits.h>
    3232#include <time.h>
    33 #include <login_cap.h>
    3433#include <event.h>
    3534#include <pwd.h>
     
    9796                exit(EX_NOUSER);
    9897        }
    99 
    100         if (setusercontext(NULL, pw, pw->pw_uid,
    101             LOGIN_SETALL & ~LOGIN_SETUSER) < 0)
    102                 exit(EX_NOPERM);
    10398
    10499        if (chroot(pw->pw_dir) < 0) {
Note: See TracChangeset for help on using the changeset viewer.