Look up runas user by name, not euid, where possible.
Fixes a problem when there are multiple users with the same user-ID where the PAM session modules could be called with the wrong user name. Debian bug #734752
This commit is contained in:
@@ -161,6 +161,7 @@ struct command_details {
|
||||
struct passwd *pw;
|
||||
GETGROUPS_T *groups;
|
||||
const char *command;
|
||||
const char *runas_user;
|
||||
const char *cwd;
|
||||
const char *login_class;
|
||||
const char *chroot;
|
||||
|
Reference in New Issue
Block a user