[Pkg-shadow-devel] MAIL_DIR variable

Tomasz KÅ‚oczko kloczek@zie.pg.gda.pl
Tue Jul 12 10:27:44 UTC 2005


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--568760595-1547582952-1121164064=:15678
Content-Type: TEXT/PLAIN; charset=UTF-8
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Mon, 11 Jul 2005, Nicolas [iso-8859-1] Fran=E7ois wrote:

> Hello Tomasz,
>=20
> userdel and usermod need the MAIL_DIR variable to delete/move the mail bo=
x
> of the user.
> This is also the case when PAM is enabled.
>=20
> Thus this variable can't be removed from login.defs.
>=20
> The documentation of this variable should indicates that it it used by
> userdel/usermod.

OK.
Temporary I'll back MAIL_DIR to part indepemdent USE_PAM.

But final will be diffrent ..

Because:

1) diffrent users can have mail spool in diffent base location
   (for example LDAP schema allow per user diffrent mail spool base
   directory)

2) I plan remove use /etc/login.defs and move all neccessary variables to=
=20
   /etc/default/<program_name>

3) all programs which will have /etc/default/<program_name> config file=20
   will have -K KEY=3DVALUE option which will allow in command line overrid=
e=20
   any value from /etc/default/<program_name> and -D option for=20
   display/save default configuration values (as same as current useradd).

userdel/usermod programs will have own /etc/default/<program_name>::MAIL_DI=
R
variable.

kloczek
--=20
-----------------------------------------------------------
*Ludzie nie maj=C4=85 problem=C3=B3w, tylko sobie sami je stwarzaj=C4=85*
-----------------------------------------------------------
Tomasz K=C5=82oczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gd=
a.pl*
--568760595-1547582952-1121164064=:15678--




More information about the Pkg-shadow-devel mailing list