mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Fix expansion of %p in the prompt for "sudo -l" when rootpw, runaspw
or targetpw is set. Bug #639
This commit is contained in:
@@ -236,7 +236,7 @@ int check_user(int validate, int mode);
|
||||
bool user_is_exempt(void);
|
||||
|
||||
/* prompt.c */
|
||||
char *expand_prompt(const char *old_prompt, const char *user, const char *host);
|
||||
char *expand_prompt(const char *old_prompt, const char *auth_user);
|
||||
|
||||
/* timestamp.c */
|
||||
void remove_timestamp(bool);
|
||||
|
Reference in New Issue
Block a user