Fix typos.

* man/login.defs.d/SUB_GID_COUNT.xml: Fix typo.
	* man/login.defs.d/SUB_UID_COUNT.xml: Likewise.
	* man/login.defs.d/SUB_UID_COUNT.xml: Fix copy-paste issue from
	SUB_GID_COUNT.
	* man/newgidmap.1.xml: Fix Typo.
	* src/useradd.c: Fix typos.
	* lib/subordinateio.c: Fix typos.
This commit is contained in:
Nicolas François 2013-08-06 20:32:59 +02:00
parent fcb7222b1a
commit 95d1e146b2
6 changed files with 18 additions and 8 deletions

View File

@ -1,3 +1,13 @@
2013-08-06 Nicolas François <nicolas.francois@centraliens.net>
* man/login.defs.d/SUB_GID_COUNT.xml: Fix typo.
* man/login.defs.d/SUB_UID_COUNT.xml: Likewise.
* man/login.defs.d/SUB_UID_COUNT.xml: Fix copy-paste issue from
SUB_GID_COUNT.
* man/newgidmap.1.xml: Fix Typo.
* src/useradd.c: Fix typos.
* lib/subordinateio.c: Fix typos.
2013-08-06 Nicolas François <nicolas.francois@centraliens.net>
Fix Debian bug #675824

View File

@ -231,7 +231,7 @@ static unsigned long find_free_range(struct commonio_db *db,
if ((count == 0) || (max <= min))
goto fail;
/* Sort by range than by owner */
/* Sort by range then by owner */
commonio_sort (db, subordinate_range_cmp);
commonio_rewind(db);
@ -275,7 +275,7 @@ static int add_range(struct commonio_db *db,
if (have_range(db, owner, start, count))
return 1;
/* Oterwise append the range */
/* Otherwise append the range */
return commonio_append(db, &range);
}

View File

@ -38,7 +38,7 @@
new user.
</para>
<para>
The default values for <option>SUB_GID_MAN</option>,
The default values for <option>SUB_GID_MAX</option>,
<option>SUB_GID_MIN</option>, <option>SUB_GID_COUNT</option>
are respectively 100000, 600100000 and 10000.
</para>

View File

@ -38,8 +38,8 @@
new user.
</para>
<para>
The default values for <option>SUB_GID_MAN</option>,
<option>SUB_GID_MIN</option>, <option>SUB_GID_COUNT</option>
The default values for <option>SUB_UID_MAX</option>,
<option>SUB_UID_MIN</option>, <option>SUB_UID_COUNT</option>
are respectively 100000, 600100000 and 10000.
</para>
</listitem>

View File

@ -119,7 +119,7 @@
<varlistentry>
<term><filename>/etc/subgid</filename></term>
<listitem>
<para>List of users subordinate user IDs.</para>
<para>List of users subordinate group IDs.</para>
</listitem>
</varlistentry>
<varlistentry>

View File

@ -285,7 +285,7 @@ static void fail_exit (int code)
SYSLOG ((LOG_ERR, "failed to unlock %s", sub_uid_dbname ()));
#ifdef WITH_AUDIT
audit_logger (AUDIT_ADD_USER, Prog,
"unlocking subodinate user file",
"unlocking subordinate user file",
user_name, AUDIT_NO_ID,
SHADOW_AUDIT_FAILURE);
#endif
@ -298,7 +298,7 @@ static void fail_exit (int code)
SYSLOG ((LOG_ERR, "failed to unlock %s", sub_gid_dbname ()));
#ifdef WITH_AUDIT
audit_logger (AUDIT_ADD_USER, Prog,
"unlocking subodinate group file",
"unlocking subordinate group file",
user_name, AUDIT_NO_ID,
SHADOW_AUDIT_FAILURE);
#endif