login.defs references libpam-umask which is a obsolete package

Bug #245210 reported by Kjell Braden
2
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.

Kjell Braden (afflux)
Changed in shadow:
importance: Undecided → Low
Revision history for this message
Greg Ward (gward) wrote :
Revision history for this message
ceg (ceg) wrote :

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.

Revision history for this message
ceg (ceg) wrote :

See Bug #253096 for the current state of umask setting.

Revision history for this message
ceg (ceg) wrote :

jaunty no longer has this

Changed in shadow (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.