pam_motd patch to show /etc/legal fails to set flag
Bug #481854 reported by
Bernhard Seibold
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pam (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The annoying patch added to pam_motd to show /etc/legal on first login tries to create a file in the user's home directory.
On systems where the home directories are NOT accessible by root (i.e. nfs-mounted with root-squashing or kerberos) that fails, and the annoying legalese is shown every time one logs in.
CVE References
Changed in pam (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
It would be nice to do it the other way around: create a flag-file in /etc/skel and delete it from the user's home after showing /etc/legal.
Or at least don't show the legalese if the directory containing the flag can't be accessed at all.