useradd ignores -K CREATE_MAIL_SPOOL=no
Herbert Gasiorowski
gasi3 at web.de
Wed Aug 15 11:55:36 UTC 2007
Manuel Arostegui Ramirez wrote:
> 2007/8/14, Herbert Gasiorowski <gasi3 at web.de>:
>> I cannot change the default setting of CREATE_MAIL_SPOOL (/etc/default/useradd)
>> any more from the command line!
>>
>> # useradd -K UID_MAX=499 -K CREATE_MAIL_SPOOL=no testtt
>> configuration error - unknown item 'CREATE_MAIL_SPOOL' (notify administrator)
>>
>> This happens with an uptodate fedora 7 : shadow-utils-4.0.18.1-15.fc7
>> I think the original version 4.0.18.1-13.fc7 did not have this behavior.
>>
>>
>> Is there a new way not to create the mail spool from command line?
>>
>
> Did you take a look at the /etc/default/useradd ?
> Try adding this option to it:
>
> CREATE_MAIL_SPOOL=yes
>
I prefer to change the default on the command line, thus there is no need to
change the default on all computers and maybe I want to have accounts with and
without mail spool at more or less the same time.
Regards
Herbert
More information about the fedora-list
mailing list