[Pkg-shadow-devel] Bug#342923: passwd should depend on libpam-runtime (>= 0.76-14)

Charles Briscoe-Smith charles at briscoe-smith.org.uk
Sun Dec 11 17:49:26 UTC 2005


Package: passwd
Version: 1:4.0.3-31sarge5

I just upgraded the passwd package on a mostly-woody system to the sarge
version, and found that the new /etc/pam.d/passwd said:

  @include common-password

However, /etc/pam.d/common-password didn't exist.  I then tried this:

  root at aragorn:/etc/pam.d# passwd
  passwd: Permission denied
  root at aragorn:/etc/pam.d(1)# passwd cpbs
  passwd: Permission denied

I found that /usr/share/doc/libpam0g/Debian-PAM-MiniPolicy.gz says:

  Applications need to depend on libpam-runtime (>= 0.76-14) to
  guarantee that /etc/pam.d/common-* exist.

When I upgraded libpam-runtime, /etc/pam.d/common-password appeared.
passwd started working again:

  root at aragorn:/etc/pam.d(1)# passwd cpbs
  Enter new UNIX password: 

I'd suggest the advice in Debian-PAM-MiniPolicy should be followed and
passwd should depend on libpam-runtime (>= 0.76-14).

HTH,

-- 
Charles Briscoe-Smith             Hacking Free Software for fun and profit
Mead error: Connection reset by beer.  -- seen on IRC




More information about the Pkg-shadow-devel mailing list