Added a new configurable LOG_INIT to useradd
In some circumstances I want the default behaviour of useradd to not add user entries to the lastlog and faillog databases. Allowing this options behaviour to be controlled by the config file /etc/default/useradd.
This commit is contained in:
@@ -343,6 +343,12 @@
|
||||
databases are reset to avoid reusing the entry from a previously
|
||||
deleted user.
|
||||
</para>
|
||||
<para>
|
||||
If this option is not specified, <command>useradd</command>
|
||||
will also consult the variable <option>LOG_INIT</option> in
|
||||
the <filename>/etc/default/useradd</filename> if set to no
|
||||
the user will not be added to the lastlog and faillog databases.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
Reference in New Issue
Block a user