Bug#330420: [Pkg-shadow-devel] Bug#330420: login: Breaks system-wide
maildir spools
Henrique de Moraes Holschuh
hmh at debian.org
Wed Sep 28 20:40:23 UTC 2005
On Wed, 28 Sep 2005, Christian Perrier wrote:
> Quoting Henrique de Moraes Holschuh (hmh at debian.org):
> > Package: login
> > Version: 1:4.0.12-2
> > Severity: important
> >
> > Recent changes to login appear to have killed login.defs support for
> > maildir. The comments in login.defs do not reflect that.
> >
> > For a maildir tree at /var/mail/<user>/, we get MAIL=/ when the user logins.
> >
> > pam.d/login has noenv specified for the mail pam module.
>
> That seems to be the problem. We certainly need to remove the "noenv"
> directive from the pam_mail line in the default login PAM
> configuration file:
What will userdel do, then? If it will do something stupid, it needs to be
fixed as well. In fact, I don't understand the reason for breaking maildir
support in login at all
noenv must be removed from pam_mail in *all* PAM profiles, including sudo,
ssh, (and added to su's most probably).
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
More information about the Pkg-shadow-devel
mailing list