Summary: | Set passprompt in default /etc/sudoers file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arvind Jayaprakash <gentoo> |
Component: | Current packages | Assignee: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Status: | RESOLVED UPSTREAM | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch for /usr/portage/app-admin/sudo/files/sudoers |
Description
Arvind Jayaprakash
2008-10-28 16:55:47 UTC
Like you said, this is not a vulnerability, so reassigning to sudo maintainer. Created attachment 170128 [details, diff]
Patch for /usr/portage/app-admin/sudo/files/sudoers
Comment on attachment 170128 [details, diff]
Patch for /usr/portage/app-admin/sudo/files/sudoers
*** /usr/portage/app-admin/sudo/files/sudoers Thu Nov 16 03:05:25 2006
--- sudoers.1 Tue Oct 28 22:40:17 2008
*************** Defaults env_reset
*** 28,33 ****
--- 28,36 ----
# Set default EDITOR to vi, and do not allow visudo to use EDITOR/VISUAL.
# Defaults editor=/usr/bin/vim, !env_editor
+ # Set a verbose prompt
+ Defaults passprompt="sudo password for [%p] "
+
# Runas alias specification
# *** REMEMBER ***************************************************
Hrm, I'd move this upstream for them to provide a default prompt different from Password: but I'm not sure if this would work with PAM, I'll have to test it. (In reply to comment #4) FWIW: I have a PAM based sudo and it does work for me. This could be a gentoo "convience" until upstream figures if it really wants to change this default. I'm sorry but I don't really see much of the point as it is, please report this upstream. |