]> granicus.if.org Git - shadow/commitdiff
* src/useradd.c, man/useradd.8.xml: Added long name for the -l
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 13 Mar 2009 22:30:38 +0000 (22:30 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 13 Mar 2009 22:30:38 +0000 (22:30 +0000)
option: --no-log-init.

ChangeLog
man/useradd.8.xml
src/useradd.c

index 8b08a66c5015c5c098fc794acd1513bab154cb24..2365f8fcdbc045b6c7990da81ad3ec53b0fce6d4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
index aa11e56ca5ae58b8709e9864b19620a31f272666..8fce5c9c62e3a3f42b1e2f539e403887e26aabd1 100644 (file)
@@ -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
        </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.
index 70d509bbe836e429fb736b2872dbe03f48aa1aa3..cfbe33e2010278dc9ae56a3bfd6b9773e60cc34a 100644 (file)
@@ -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'},