Add runas_check_shell flag to require a runas user to have a valid shell.
Not enabled by default.
This commit is contained in:
@@ -256,6 +256,7 @@ int find_path(const char *infile, char **outfile, struct stat *sbp,
|
||||
|
||||
/* check.c */
|
||||
int check_user(int validate, int mode);
|
||||
bool check_user_shell(const struct passwd *pw);
|
||||
bool user_is_exempt(void);
|
||||
|
||||
/* prompt.c */
|
||||
|
Reference in New Issue
Block a user