* src/useradd.c, man/useradd.8.xml: Added long name for the -l
option: --no-log-init.
This commit is contained in:
parent
f98b47eb55
commit
fafe281d31
@ -8,6 +8,8 @@
|
||||
* src/chgpasswd.c: Make sure the SHA related variables is not
|
||||
compiled when disabled at configuration time.
|
||||
* src/chgpasswd.c: Fix the test for getlong() failure.
|
||||
* src/useradd.c, man/useradd.8.xml: Added long name for the -l
|
||||
option: --no-log-init.
|
||||
|
||||
2009-03-13 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright (c) 1991 - 1994, Julianne Frances Haugh
|
||||
Copyright (c) 2007 - 2008, Nicolas François
|
||||
Copyright (c) 2007 - 2009, Nicolas François
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
@ -300,7 +300,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><option>-l</option></term>
|
||||
<term><option>-l</option>, <option>--no-log-init</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Do not add the user to the lastlog and faillog databases.
|
||||
|
@ -700,7 +700,7 @@ static void usage (void)
|
||||
" -h, --help display this help message and exit\n"
|
||||
" -k, --skel SKEL_DIR specify an alternative skel directory\n"
|
||||
" -K, --key KEY=VALUE overrides /etc/login.defs defaults\n"
|
||||
" -l, do not add the user to the lastlog and\n"
|
||||
" -l, --no-log-init do not add the user to the lastlog and\n"
|
||||
" faillog databases\n"
|
||||
" -m, --create-home create home directory for the new user\n"
|
||||
" account\n"
|
||||
@ -966,6 +966,7 @@ static void process_flags (int argc, char **argv)
|
||||
{"key", required_argument, NULL, 'K'},
|
||||
{"create-home", no_argument, NULL, 'm'},
|
||||
{"no-create-home", no_argument, NULL, 'M'},
|
||||
{"no-log-init", no_argument, NULL, 'l'},
|
||||
{"no-user-group", no_argument, NULL, 'N'},
|
||||
{"non-unique", no_argument, NULL, 'o'},
|
||||
{"password", required_argument, NULL, 'p'},
|
||||
|
Loading…
Reference in New Issue
Block a user