Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264 - sudo(8) gives a PAM warning
Summary: sudo(8) gives a PAM warning
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal minor (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
: 439 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-01-21 17:51 UTC by Aaron Malone
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Malone 2002-01-21 17:51:57 UTC
On a fresh RC6-r14 install (plus a few ports) sudo(8) installed from
app-admin/sudo gives the following warning upon execution:

sudo: pam_setcred: Permission denied

The sudo'ed command appears to execute as normal.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-01-30 13:14:46 UTC
It is most likely because our PAM does not support credentials yet.  Upgrading
PAM or applying some Red Hat patches should fix it.
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-02-01 12:58:02 UTC
*** Bug 439 has been marked as a duplicate of this bug. ***
Comment 3 Brent Cook 2002-02-26 10:39:19 UTC
According to the sudo homepage, http://www.courtesan.com/sudo/current.html, "In Linux-PAM 
0.75, pam_setcred() will return PAM_PERM_DENIED even if the setcred function of the module 
succeeds when pam_authenticate() has not been called." 
 
Sudo 1.6.5p2 works around the problem. 
Comment 4 Daniel Robbins (RETIRED) gentoo-dev 2002-03-06 12:51:44 UTC
Thanks for the info, Brent.  I'm adding the new sudo to cvs right now.