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:
parent
fcb7222b1a
commit
95d1e146b2
10
ChangeLog
10
ChangeLog
@ -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>
|
2013-08-06 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
Fix Debian bug #675824
|
Fix Debian bug #675824
|
||||||
|
@ -231,7 +231,7 @@ static unsigned long find_free_range(struct commonio_db *db,
|
|||||||
if ((count == 0) || (max <= min))
|
if ((count == 0) || (max <= min))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
/* Sort by range than by owner */
|
/* Sort by range then by owner */
|
||||||
commonio_sort (db, subordinate_range_cmp);
|
commonio_sort (db, subordinate_range_cmp);
|
||||||
commonio_rewind(db);
|
commonio_rewind(db);
|
||||||
|
|
||||||
@ -275,7 +275,7 @@ static int add_range(struct commonio_db *db,
|
|||||||
if (have_range(db, owner, start, count))
|
if (have_range(db, owner, start, count))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
/* Oterwise append the range */
|
/* Otherwise append the range */
|
||||||
return commonio_append(db, &range);
|
return commonio_append(db, &range);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
new user.
|
new user.
|
||||||
</para>
|
</para>
|
||||||
<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>
|
<option>SUB_GID_MIN</option>, <option>SUB_GID_COUNT</option>
|
||||||
are respectively 100000, 600100000 and 10000.
|
are respectively 100000, 600100000 and 10000.
|
||||||
</para>
|
</para>
|
||||||
|
@ -38,8 +38,8 @@
|
|||||||
new user.
|
new user.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The default values for <option>SUB_GID_MAN</option>,
|
The default values for <option>SUB_UID_MAX</option>,
|
||||||
<option>SUB_GID_MIN</option>, <option>SUB_GID_COUNT</option>
|
<option>SUB_UID_MIN</option>, <option>SUB_UID_COUNT</option>
|
||||||
are respectively 100000, 600100000 and 10000.
|
are respectively 100000, 600100000 and 10000.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -119,7 +119,7 @@
|
|||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><filename>/etc/subgid</filename></term>
|
<term><filename>/etc/subgid</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>List of users subordinate user IDs.</para>
|
<para>List of users subordinate group IDs.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
@ -285,7 +285,7 @@ static void fail_exit (int code)
|
|||||||
SYSLOG ((LOG_ERR, "failed to unlock %s", sub_uid_dbname ()));
|
SYSLOG ((LOG_ERR, "failed to unlock %s", sub_uid_dbname ()));
|
||||||
#ifdef WITH_AUDIT
|
#ifdef WITH_AUDIT
|
||||||
audit_logger (AUDIT_ADD_USER, Prog,
|
audit_logger (AUDIT_ADD_USER, Prog,
|
||||||
"unlocking subodinate user file",
|
"unlocking subordinate user file",
|
||||||
user_name, AUDIT_NO_ID,
|
user_name, AUDIT_NO_ID,
|
||||||
SHADOW_AUDIT_FAILURE);
|
SHADOW_AUDIT_FAILURE);
|
||||||
#endif
|
#endif
|
||||||
@ -298,7 +298,7 @@ static void fail_exit (int code)
|
|||||||
SYSLOG ((LOG_ERR, "failed to unlock %s", sub_gid_dbname ()));
|
SYSLOG ((LOG_ERR, "failed to unlock %s", sub_gid_dbname ()));
|
||||||
#ifdef WITH_AUDIT
|
#ifdef WITH_AUDIT
|
||||||
audit_logger (AUDIT_ADD_USER, Prog,
|
audit_logger (AUDIT_ADD_USER, Prog,
|
||||||
"unlocking subodinate group file",
|
"unlocking subordinate group file",
|
||||||
user_name, AUDIT_NO_ID,
|
user_name, AUDIT_NO_ID,
|
||||||
SHADOW_AUDIT_FAILURE);
|
SHADOW_AUDIT_FAILURE);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user