[blfs-book] [BLFS Trac] #4596: Removing /etc/pam.d after Linux-Pam tests is hazardous

BLFS Trac trac at linuxfromscratch.org
Mon Jan 20 01:44:58 PST 2014


#4596: Removing /etc/pam.d after Linux-Pam tests is hazardous
-----------------------------+-------------------------
 Reporter:  pierre.labastie  |      Owner:  blfs-book@…
     Type:  defect           |     Status:  new
 Priority:  normal           |  Milestone:  current
Component:  BOOK             |    Version:  SVN
 Severity:  normal           |   Keywords:
-----------------------------+-------------------------
 The instructions of the current Linux-Pam page have that:
 {{{
 rm -rfv /etc/pam.d
 }}}
 after the test. This is very dangerous if ''shadow'' has already been
 compiled with PAM support, because you cannot ''login'' nor ''su''
 anymore, so it is very likely that you get locked out of your system.

 The only solution in this case is to recreate the /etc/pam.d files from a
 rescue system.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4596>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list