[Pkg-shadow-commits] r2506 - in upstream/trunk: . man src
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Fri Mar 13 22:30:38 UTC 2009
Author: nekral-guest
Date: 2009-03-13 22:30:38 +0000 (Fri, 13 Mar 2009)
New Revision: 2506
Modified:
upstream/trunk/ChangeLog
upstream/trunk/man/useradd.8.xml
upstream/trunk/src/useradd.c
Log:
* src/useradd.c, man/useradd.8.xml: Added long name for the -l
option: --no-log-init.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2009-03-13 22:28:27 UTC (rev 2505)
+++ upstream/trunk/ChangeLog 2009-03-13 22:30:38 UTC (rev 2506)
@@ -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 at centraliens.net>
Modified: upstream/trunk/man/useradd.8.xml
===================================================================
--- upstream/trunk/man/useradd.8.xml 2009-03-13 22:28:27 UTC (rev 2505)
+++ upstream/trunk/man/useradd.8.xml 2009-03-13 22:30:38 UTC (rev 2506)
@@ -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.
Modified: upstream/trunk/src/useradd.c
===================================================================
--- upstream/trunk/src/useradd.c 2009-03-13 22:28:27 UTC (rev 2505)
+++ upstream/trunk/src/useradd.c 2009-03-13 22:30:38 UTC (rev 2506)
@@ -700,7 +700,7 @@
" -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 @@
{"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'},
More information about the Pkg-shadow-commits
mailing list