login.defs references libpam-umask which is a obsolete package
Bug #245210 reported by
Kjell Braden
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shadow (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
/etc/login.defs contains the following paragraph:
# Therefore the use of pam_umask is recommended (Debian package libpam-umask)
# as the solution which catches all these cases on PAM-enabled systems.
The package libpam-umask is obsolete, it was replaced by libpam-modules. Installing it leads to many broken dependencies and apt trying to remove essential parts of the system, as in bug 245205.
Changed in shadow: | |
importance: | Undecided → Low |
To post a comment you must log in.
Actually, libpam-modules are installed by default and this new pam_umask.so should be enabled in common-session by default (Bug #253096).
pam_umask now recovers the umask functionality that login once had for pam systems. (see man pam_umask) It gets the users umask from several places.
That means UMASK may be uncommented in login.defs or point to /etc/default/login if it is introduced (linux stardard base?).
/etc/profile should then be commented, not contain umask settings anymore, and point to "man pam_umask" or /etc/default/login or /etc/default/login respectively.