* NEWS, src/useradd.c: Fix the handling of the --defaults option
(it required an argument, but should behave as -D) * NEWS, man/useradd.8.xml: Document the --defaults option, which was already described in the useradd's Usage information.
This commit is contained in:
parent
85febc5729
commit
b082ebead2
@ -1,3 +1,10 @@
|
|||||||
|
2008-01-12 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* NEWS, src/useradd.c: Fix the handling of the --defaults option
|
||||||
|
(it required an argument, but should behave as -D)
|
||||||
|
* NEWS, man/useradd.8.xml: Document the --defaults option, which
|
||||||
|
was already described in the useradd's Usage information.
|
||||||
|
|
||||||
2008-01-06 Nicolas François <nicolas.francois@centraliens.net>
|
2008-01-06 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* src/passwd.c: Avoid setting the password to a const empty
|
* src/passwd.c: Avoid setting the password to a const empty
|
||||||
|
5
NEWS
5
NEWS
@ -5,6 +5,11 @@ shadow-4.1.0 -> shadow-4.1.1 UNRELEASED
|
|||||||
*** general:
|
*** general:
|
||||||
- packaging
|
- packaging
|
||||||
* Do not install the shadow library per default.
|
* Do not install the shadow library per default.
|
||||||
|
- adduser
|
||||||
|
* Fix the handling of the --defaults option (it required an argument,
|
||||||
|
but should behave as -D)
|
||||||
|
* Document the --defaults option, which was already described in the
|
||||||
|
useradd's Usage information.
|
||||||
- chage
|
- chage
|
||||||
* Fix bug which forbid to set the aging information of an account with a
|
* Fix bug which forbid to set the aging information of an account with a
|
||||||
passwd entry, but no shadow entry.
|
passwd entry, but no shadow entry.
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>
|
<term>
|
||||||
<option>-D</option>
|
<option>-D</option>, <option>--defaults</option>
|
||||||
</term>
|
</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
|
@ -932,7 +932,7 @@ static void process_flags (int argc, char **argv)
|
|||||||
{"base-dir", required_argument, NULL, 'b'},
|
{"base-dir", required_argument, NULL, 'b'},
|
||||||
{"comment", required_argument, NULL, 'c'},
|
{"comment", required_argument, NULL, 'c'},
|
||||||
{"home-dir", required_argument, NULL, 'd'},
|
{"home-dir", required_argument, NULL, 'd'},
|
||||||
{"defaults", required_argument, NULL, 'D'},
|
{"defaults", no_argument, NULL, 'D'},
|
||||||
{"expiredate", required_argument, NULL, 'e'},
|
{"expiredate", required_argument, NULL, 'e'},
|
||||||
{"inactive", required_argument, NULL, 'f'},
|
{"inactive", required_argument, NULL, 'f'},
|
||||||
{"gid", required_argument, NULL, 'g'},
|
{"gid", required_argument, NULL, 'g'},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user