#4632: ICA: Some shadow programs incorrectly reference /bin/passwd after first
build
--------------------+----------------------
 Reporter:  bdubbs  |      Owner:  lfs-book
     Type:  task    |     Status:  new
 Priority:  normal  |  Milestone:  9.2
Component:  Book    |    Version:  SVN
 Severity:  normal  |   Keywords:
--------------------+----------------------
 login, expiry, and su hardcode /bin/passwd insted of /usr/bin/passwd. This
 may lead to the impossibility of renewing a password when it is expired.

 '''Explanation''' Shadow's configure tests whether /usr/bin/passwd exists,
 and if not, hardcodes /bin/passwd. This is close to a bug: it should
 harcode $prefix/bin/passwd. Anyway...

 '''Solution''' touch /usr/bin/passwd before building shadow.

 '''Possible side effect''' None that I can think of: the empty file is
 almost immediately replaced when installing shadow.

--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/4632>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to