Opened 13 years ago

Closed 13 years ago

#2550 closed defect (fixed)

sudo: /etc/pam.d/sudo should not contain pam_rootok.so

Reported by: Jeremy Henty Owned by: blfs-book@…
Priority: normal Milestone: 6.3
Component: BOOK Version: 6.3
Severity: normal Keywords: sudo pam
Cc:

Description

A PAM-enabled sudo never prompts for a password if /etc/pam.d/sudo contains pam_rootok.so . (This has already been noted at http://www.linuxfromscratch.org/pipermail/blfs-dev/2007-March/016895.html .) Therefore the sudo instructions should delete any such entry, eg. by adding a /pam_rootok/d command to the sed command that creates /etc/pam.d/sudo .

Change History (1)

comment:1 by Randy McMurchy, 13 years ago

Resolution: fixed
Status: newclosed

Confirmed.

Modified the instruction to create the pam.d file correctly.

Thanks for the report, Jeremy

Note: See TracTickets for help on using tickets.