2013-08-15 16:46:51 +02:00
|
|
|
2013-08-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/find_new_sub_gids.c: Remove dead code.
|
|
|
|
|
find_new_sub_gids() is always called with *range_count set to 0.
|
|
|
|
|
It's more difficult to keep the subordinate GIDs and UIDs
|
|
|
|
|
synchronized, than for the user's UID/GId because the count of
|
|
|
|
|
subordinate IDs may differ.
|
|
|
|
|
* libmisc/find_new_sub_uids.c: Likewise.
|
|
|
|
|
* lib/subordinateio.h, lib/subordinateio.c: Remove APIs that are
|
|
|
|
|
no more needed: is_sub_uid_range_free(), is_sub_gid_range_free(),
|
|
|
|
|
is_range_free().
|
|
|
|
|
|
2013-08-14 20:21:32 +02:00
|
|
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* configure.in: Check if sizeof uid_t and gid_t is larger than 32
|
|
|
|
|
bit to support subordinate IDs.
|
|
|
|
|
|
2013-08-13 23:55:48 +02:00
|
|
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/subordinateio.c: Avoid dead branches.
|
2013-08-13 23:57:14 +02:00
|
|
|
* lib/subordinateio.c: Add schematics with ranges to help reviews.
|
2013-08-14 00:03:59 +02:00
|
|
|
* lib/subordinateio.c: Avoid implicit conversion of pointers and
|
|
|
|
|
integers to booleans.
|
|
|
|
|
* lib/subordinateio.c: Added brackets.
|
2013-08-13 23:55:48 +02:00
|
|
|
|
2013-08-13 23:13:09 +02:00
|
|
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/vipw.c: Fail in case arguments are provided after options.
|
|
|
|
|
Debian#677812
|
|
|
|
|
|
2013-08-13 22:29:16 +02:00
|
|
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/subordinateio.c: Fix count for ranges truncated in
|
|
|
|
|
remove_range().
|
|
|
|
|
|
2013-08-13 19:48:53 +02:00
|
|
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: Terminate the child (if needed) before closing the PAM
|
|
|
|
|
session. This is probably more correct, and avoid reporting
|
|
|
|
|
termination from signals possibly sent by PAM modules (e.g. former
|
|
|
|
|
versions of pam_systemd). Debian#670132
|
|
|
|
|
|
2013-08-13 19:42:50 +02:00
|
|
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: When a SIGTSTP is caught, reset caught to 0. There is
|
|
|
|
|
no need to kill the child in such case after su is resumed. This
|
|
|
|
|
remove the "Session terminated, terminating shell...
|
|
|
|
|
...terminated." messages in such case.
|
|
|
|
|
|
2013-08-13 19:38:41 +02:00
|
|
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/newgidmap.1.xml: Document the checks performed before
|
|
|
|
|
setting the mapping in /proc.
|
|
|
|
|
* man/newuidmap.1.xml: Likewise.
|
|
|
|
|
|
2013-08-13 19:28:07 +02:00
|
|
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/idmapping.h: Document what the upper and lower fields
|
|
|
|
|
are in struct map_range.
|
|
|
|
|
* man/newgidmap.1.xml: Document when the gid, gidlower and count
|
|
|
|
|
argument are.
|
|
|
|
|
* man/newuidmap.1.xml: Likewise for uid, uidlower and count.
|
|
|
|
|
|
2013-08-13 19:16:24 +02:00
|
|
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/salt.c (shadow_random): Use long instead of size_t.
|
|
|
|
|
Compatibility with size_t is easier to check since it's used for
|
|
|
|
|
smaller numbers (salt size).
|
|
|
|
|
|
2013-08-13 19:13:45 +02:00
|
|
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/groupmem.c: Add splint annotations. The added memset makes
|
|
|
|
|
splint think data was allocated.
|
|
|
|
|
* lib/pwmem.c: Likewise.
|
|
|
|
|
* lib/sgroupio.c: Likewise.
|
|
|
|
|
* lib/shadowmem.c: Likewise.
|
|
|
|
|
|
2013-08-13 00:21:02 +02:00
|
|
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.defs.d/SUB_GID_COUNT.xml: Document that the behavior
|
|
|
|
|
of useradd and newusers depends on the existence of /etc/subgid.
|
|
|
|
|
* man/login.defs.d/SUB_UID_COUNT.xml: Likewise for /etc/subuid.
|
|
|
|
|
|
2013-08-13 00:13:12 +02:00
|
|
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: Change message in case of find_new_sub_uids /
|
|
|
|
|
find_new_sub_gids failure. This complements the messages already
|
|
|
|
|
provided by these APIs.
|
|
|
|
|
|
2013-08-13 00:11:24 +02:00
|
|
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/subordinateio.c: Fix handling of boundaries.
|
|
|
|
|
* libmisc/find_new_sub_uids.c: Likewise.
|
|
|
|
|
* libmisc/find_new_sub_gids.c: Likewise.
|
|
|
|
|
|
2013-08-12 23:57:32 +02:00
|
|
|
2013-08-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/subordinateio.c: Fix removal of ranges. The database needs
|
|
|
|
|
to be marked as changed or commonio_close will discard any change.
|
|
|
|
|
|
2013-08-11 16:05:26 +02:00
|
|
|
2013-08-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/newusers.8.xml: Include documentation of SUB_GID_MIN,
|
|
|
|
|
SUB_GID_MAX, SUB_GID_COUNT, SUB_UID_MIN, SUB_UID_MAX,
|
|
|
|
|
SUB_UID_COUNT.
|
|
|
|
|
* man/useradd.8.xml: Likewise.
|
|
|
|
|
* man/usermod.8.xml: Likewise.
|
|
|
|
|
* man/newusers.8.xml: Document usage of /etc/subgid /etc/subuid.
|
|
|
|
|
* man/useradd.8.xml: Likewise.
|
|
|
|
|
* man/userdel.8.xml: Likewise.
|
|
|
|
|
* man/usermod.8.xml: Likewise.
|
|
|
|
|
* man/newusers.8.xml: Add references to subgid(5) and subuid(5).
|
|
|
|
|
* man/useradd.8.xml: Likewise.
|
|
|
|
|
* man/userdel.8.xml: Likewise.
|
|
|
|
|
* man/subgid.5.xml: Sort references alphabetically.
|
|
|
|
|
* man/subuid.5.xml: Likewise.
|
|
|
|
|
* man/subgid.5.xml: Add references to newusers(8), useradd(8),
|
|
|
|
|
userdel(8), usermod(8), user_namespaces(7).
|
|
|
|
|
* man/subuid.5.xml: Likewise.
|
|
|
|
|
|
2013-08-11 15:48:57 +02:00
|
|
|
2013-08-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/newgidmap.1.xml: Sort references alphabetically.
|
|
|
|
|
* man/newuidmap.1.xml: Likewise.
|
|
|
|
|
|
2013-08-11 14:54:22 +02:00
|
|
|
2013-08-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* configure.in: Add configure options --enable-subordinate-ids /
|
|
|
|
|
--disable-subordinate-ids. Enabled by default.
|
|
|
|
|
* lib/prototypes.h: Include <config.h> before using its macros.
|
|
|
|
|
* lib/commonio.h, lib/commonio.c: Define commonio_append only when
|
|
|
|
|
ENABLE_SUBIDS is defined.
|
|
|
|
|
* lib/prototypes.h, libmisc/find_new_sub_gids.c,
|
|
|
|
|
libmisc/find_new_sub_uids.c: Likewise.
|
|
|
|
|
* lib/subordinateio.h, lib/subordinateio.c: Likewise.
|
|
|
|
|
* libmisc/user_busy.c: Only check if subordinate IDs are in use if
|
|
|
|
|
ENABLE_SUBIDS is defined.
|
|
|
|
|
* src/Makefile.am: Create newgidmap and newuidmap only if
|
|
|
|
|
ENABLE_SUBIDS is defined.
|
|
|
|
|
* src/newusers.c: Check for ENABLE_SUBIDS to enable support for
|
|
|
|
|
subordinate IDs.
|
|
|
|
|
* src/useradd.c: Likewise.
|
|
|
|
|
* src/userdel.c: Likewise.
|
|
|
|
|
* src/usermod.c: Likewise.
|
|
|
|
|
* man/Makefile.am: Install man1/newgidmap.1, man1/newuidmap.1,
|
|
|
|
|
man5/subgid.5, and man5/subuid.5 only if ENABLE_SUBIDS is defined.
|
|
|
|
|
* man/fr/Makefile.am: Install man1/newgidmap.1, man1/newuidmap.1,
|
|
|
|
|
man5/subgid.5, and man5/subuid.5 (not translated yet).
|
|
|
|
|
* man/generate_mans.mak: Add xsltproc conditionals
|
|
|
|
|
subids/no_subids.
|
|
|
|
|
* man/login.defs.d/SUB_GID_COUNT.xml: Add dependency on subids
|
|
|
|
|
condition.
|
|
|
|
|
* man/login.defs.d/SUB_UID_COUNT.xml: Likewise.
|
|
|
|
|
* man/usermod.8.xml: Document options for subordinate IDs and
|
|
|
|
|
reference subgid(5) / subuid(5) depending on the subids condition.
|
|
|
|
|
|
2013-08-09 14:12:01 +02:00
|
|
|
2013-08-09 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/salt.c: Remove unused variable.
|
|
|
|
|
|
2013-08-07 02:17:52 +02:00
|
|
|
2013-08-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/utmp.c: Add include files needed for getaddrinfo().
|
|
|
|
|
See Alioth#314271
|
|
|
|
|
|
2013-08-07 01:44:24 +02:00
|
|
|
2013-08-07 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* configure.in: Check at configure time whether libc supports
|
|
|
|
|
ruserok (support dropped by newer C libraries).
|
|
|
|
|
|
2013-08-07 01:32:56 +02:00
|
|
|
2013-08-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/usermod.8.xml: Fix typos and wording.
|
|
|
|
|
* man/usermod.8.xml: Add references to subgid(5) and subuid(5).
|
|
|
|
|
|
2013-08-07 01:01:33 +02:00
|
|
|
2013-08-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/find_new_sub_gids.c: Fix wording: secondary ->
|
|
|
|
|
subordinate.
|
|
|
|
|
* libmisc/find_new_sub_uids.c: Likewise.
|
|
|
|
|
|
2013-08-06 23:59:09 +02:00
|
|
|
2013-08-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/find_new_sub_gids.c: Remove duplicate check (duplicate
|
|
|
|
|
at least in its intent).
|
|
|
|
|
* libmisc/find_new_sub_uids.c: Likewise.
|
|
|
|
|
|
2013-08-06 22:29:40 +02:00
|
|
|
2013-08-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c: Fix typos.
|
|
|
|
|
|
2013-08-06 22:25:08 +02:00
|
|
|
2013-08-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/subgid.5.xml: Reorder words.
|
|
|
|
|
* man/subuid.5.xml: Likewise.
|
|
|
|
|
|
2013-08-06 22:11:41 +02:00
|
|
|
2013-08-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/subgid.5.xml: Fix typos.
|
|
|
|
|
* man/subuid.5.xml: Likewise.
|
|
|
|
|
* man/subgid.5.xml: Fix copy-paste errors from subuid.5.xml.
|
|
|
|
|
|
2013-08-06 21:01:53 +02:00
|
|
|
2013-08-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/newgidmap.1.xml: Remove copy-pasted NOTE.
|
|
|
|
|
* man/newuidmap.1.xml: Likewise.
|
|
|
|
|
|
2013-08-06 20:59:52 +02:00
|
|
|
2013-08-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/subordinateio.c: Remove unused variables.
|
|
|
|
|
|
2013-08-06 20:32:59 +02:00
|
|
|
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 16:30:38 +02:00
|
|
|
2013-08-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
Fix Debian bug #675824
|
|
|
|
|
* lib/groupmem.c (__gr_dup): Support libc which define other
|
|
|
|
|
fields in struct group.
|
|
|
|
|
* lib/pwmem.c: Likewise for struct passwd.
|
|
|
|
|
* lib/shadowmem.c: Likewise for struct spwd.
|
|
|
|
|
* lib/sgroupio.c: Apply same logic, even if this structure is
|
|
|
|
|
defined internally.
|
|
|
|
|
|
2013-08-05 23:16:00 +02:00
|
|
|
2013-08-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/groupio.c: Revert change from 2013-07-29. The length of the
|
|
|
|
|
concatenated 2 lines was correct.
|
|
|
|
|
|
2013-08-05 14:19:23 +02:00
|
|
|
2013-08-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/salt.c: random() max value is 2^31-1 (same as RAND_MAX
|
|
|
|
|
on GNU). As it is not clear whether on some systems the max value
|
|
|
|
|
can exceed this number and whether some systems have max values
|
|
|
|
|
which would be lower, we take this into account when defining the
|
|
|
|
|
salt size and number of rounds for SHA encrypted passwords. Higher
|
|
|
|
|
values are favored.
|
|
|
|
|
|
2013-08-04 23:45:31 +02:00
|
|
|
2013-08-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/su.1.xml: With getopt, '-' does not need to be the last
|
|
|
|
|
option, but it is recommended for portability.
|
|
|
|
|
Closes https://bugs.launchpad.net/bugs/1100775
|
|
|
|
|
|
2013-08-04 23:29:06 +02:00
|
|
|
2013-08-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS: Add NEWS entries.
|
|
|
|
|
|
2013-08-04 15:50:57 +02:00
|
|
|
2013-08-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/po/da.po: Fix translation (--home became --home-dir).
|
|
|
|
|
* man/po/de.po: Likewise.
|
|
|
|
|
* man/po/fr.po: Likewise.
|
|
|
|
|
* man/po/pl.po: Likewise.
|
|
|
|
|
* man/po/ru.po: Likewise.
|
|
|
|
|
* man/po/sv.po: Likewise.
|
|
|
|
|
|
2013-08-04 15:36:13 +02:00
|
|
|
2013-08-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/groupio.c (merge_group_entries): Do not allocate more than
|
|
|
|
|
necessary (sizeof char* instead of char).
|
|
|
|
|
Thanks for Tomáš Mráz (alioth#313962)
|
|
|
|
|
* lib/groupio.c (merge_group_entries): Document that new_members
|
|
|
|
|
is correctly NULL terminated. (alioth:#313940)
|
|
|
|
|
|
2013-08-03 23:07:06 +02:00
|
|
|
2013-08-03 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* Changelog: Update documentation of 2013-07-28 mancha entry.
|
|
|
|
|
* lib/prototypes.h, lib/encrypt.c: Update splint marker,
|
|
|
|
|
pw_encrypt can return NULL.
|
|
|
|
|
* lib/encrypt.c: Fix outdated statement on GNU crypt.
|
|
|
|
|
* src/chgpasswd.c: Improve diagnostic to user when pw_encrypt
|
|
|
|
|
fails and use fail_exit() instead of exit().
|
|
|
|
|
* src/chpasswd.c: Likewise.
|
|
|
|
|
* src/newusers.c: Likewise.
|
|
|
|
|
* src/passwd.c: Likewise when new password is encrypted.
|
|
|
|
|
* src/newgrp.c: Improve diagnostic to user and syslog when
|
|
|
|
|
pw_encrypt fails. Do not apply 1s penalty as this is not an
|
|
|
|
|
invalid password issue.
|
|
|
|
|
* src/passwd.c: Likewise when password is checked.
|
|
|
|
|
|
2013-08-02 20:24:20 +02:00
|
|
|
2013-08-02 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/setupenv.c: xstrdup the static char* temp_pw_dir /
|
|
|
|
|
temp_pw_shell. That way we can continue to use pw_free() without
|
|
|
|
|
segving. Thanks to Serge Hallyn for the patch.
|
2013-08-02 20:28:24 +02:00
|
|
|
* libmisc/setupenv.c: Free pw_dir and pw_shell before reallocating
|
|
|
|
|
them.
|
2013-08-02 20:24:20 +02:00
|
|
|
|
2013-08-01 21:24:46 +02:00
|
|
|
2013-08-01 Yuri Kozlov <yuray@komyakino.ru>
|
|
|
|
|
|
|
|
|
|
* po/ru.po: completed translation
|
|
|
|
|
Closes: Debian#718356
|
|
|
|
|
|
2013-07-29 11:05:16 +02:00
|
|
|
2013-07-29 Michael Scherer <misc-guest@alioth.debian.org>
|
|
|
|
|
|
|
|
|
|
* libmisc/root_flag.c: use chdir() before calling chroot() to
|
|
|
|
|
avoid potential security issue (see
|
|
|
|
|
http://www.bpfh.net/simes/computing/chroot-break.html)
|
|
|
|
|
Closes: alioth#313962
|
|
|
|
|
|
2013-07-29 10:58:50 +02:00
|
|
|
2013-07-29 Christian Perrier <christian@perrier.eu.org>
|
|
|
|
|
|
|
|
|
|
* man/useradd.xml: use "--home-dir" instead of "--home"
|
|
|
|
|
Fix translations too.
|
|
|
|
|
Thanks to Ville Skyttä
|
|
|
|
|
Closes: alioth#313880
|
|
|
|
|
|
2013-07-29 10:18:41 +02:00
|
|
|
2013-07-29 Ville Skyttä <scop-guest@alioth.debian.org>
|
|
|
|
|
|
|
|
|
|
* man/ja/man8/groupmod.8: Syntax fix
|
|
|
|
|
Closes: alioth#313785
|
|
|
|
|
|
2013-07-29 10:05:52 +02:00
|
|
|
2013-07-29 Brad Hubbard <badone-guest@alioth.debian.org>
|
|
|
|
|
|
2013-08-04 15:36:13 +02:00
|
|
|
* lib/groupio.c: add newline char when two lines
|
|
|
|
|
are concatenated
|
|
|
|
|
Closes: alioth#313942
|
2013-07-29 10:13:12 +02:00
|
|
|
* lib/groupio.c: fix uninitialised memory in
|
2013-08-04 15:36:13 +02:00
|
|
|
merge_group_entries causes segfault in useradd by changing
|
|
|
|
|
a call to malloc to a call to calloc
|
|
|
|
|
Closes: alioth:#313940
|
2013-07-29 10:05:52 +02:00
|
|
|
|
2013-07-28 19:04:50 +02:00
|
|
|
2013-07-28 Guido Trentalancia <guido@trentalancia.com>
|
|
|
|
|
|
|
|
|
|
* etc/login.defs: fix typographic errors and use a better format
|
|
|
|
|
Closes: Debian#685415
|
|
|
|
|
|
2013-07-28 18:57:18 +02:00
|
|
|
2013-07-28 Simon Brandmair <sbrandmair@gmx.net>
|
|
|
|
|
|
|
|
|
|
* man/po/de.po: translation completed : 1203 translated messages
|
2013-07-28 19:04:50 +02:00
|
|
|
Closes: Debian#679152
|
2013-07-28 18:57:18 +02:00
|
|
|
|
|
|
|
|
2013-07-28 mancha <mancha1@hush.com>
|
2013-07-28 18:41:11 +02:00
|
|
|
|
2013-08-03 23:07:06 +02:00
|
|
|
* lib/encrypt.c (pw_encrypt): crypt() in glibc/eglibc 2.17 now
|
|
|
|
|
fails if passed a salt that violates specs. On Linux, crypt() also
|
|
|
|
|
fails with DES/MD5 salts in FIPS140 mode. Rather than exit() on
|
|
|
|
|
NULL returns we send them back to the caller for appropriate
|
|
|
|
|
handling (instead of exiting). Closes: alioth#314234
|
|
|
|
|
* lib/pwauth.c: Handle NULL return from pw_crypt(), return non
|
|
|
|
|
zero (as in case of failure).
|
|
|
|
|
* libmisc/valid.c: Likewise.
|
|
|
|
|
* src/chgpasswd.c: Handle NULL return from pw_crypt(), report
|
|
|
|
|
crypt error to stderr and exit.
|
|
|
|
|
* src/chpasswd.c: Likewise.
|
|
|
|
|
* src/gpasswd.c: Likewise.
|
|
|
|
|
* src/newusers.c: Likewise.
|
|
|
|
|
* src/passwd.c: Likewise when new password is encrypted.
|
|
|
|
|
* src/newgrp.c: Handle NULL return from pw_crypt(), report crypt
|
|
|
|
|
error to stderr and syslog and return to report unchanged
|
|
|
|
|
password.
|
|
|
|
|
* src/passwd.c: Likewise when password is checked.
|
2013-07-28 18:41:11 +02:00
|
|
|
|
2013-07-28 18:39:10 +02:00
|
|
|
2013-07-28 Christian Perrier <christian@perrier.eu.org>
|
2013-07-28 12:27:15 +02:00
|
|
|
|
|
|
|
|
* configure.in: Prepare for next point release 4.2.
|
2013-07-28 14:16:09 +02:00
|
|
|
* if using the static char* for pw_dir, strdup it so
|
2013-07-29 10:01:23 +02:00
|
|
|
pw_free() can be used. (Closes: Debian#691459, alioth#313957)
|
2013-07-28 14:38:12 +02:00
|
|
|
* Kill the child process group, rather than just the
|
|
|
|
|
immediate child; this is needed now that su no
|
|
|
|
|
longer starts a controlling terminal when not running an
|
|
|
|
|
interactive shell (closes: Debian#713979)
|
|
|
|
|
Thansk to Colin Watson for the patch.
|
2013-07-28 12:27:15 +02:00
|
|
|
|
2012-05-25 11:51:53 +00:00
|
|
|
2012-05-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS: Set release date.
|
2012-05-25 13:40:31 +00:00
|
|
|
* man/po/shadow-man-pages.pot: Regenerated.
|
|
|
|
|
* man/po/*.po: Updated PO files.
|
2012-05-25 11:51:53 +00:00
|
|
|
|
2012-05-25 11:45:21 +00:00
|
|
|
2012-05-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/*.xml: Add author based on copyright statement.
|
|
|
|
|
* man/<ll>/*.[1358], man/<ll>/man[1358]/*.[1358],
|
|
|
|
|
man/<ll>/Makefile.am: Sort manpages per section as the generated
|
|
|
|
|
manpages.
|
|
|
|
|
|
2012-05-20 21:03:11 +00:00
|
|
|
2012-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
|
|
|
|
|
* po/*.po, man/po/*.po: Updated PO files.
|
|
|
|
|
|
2012-05-20 21:01:24 +00:00
|
|
|
2012-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/Makefile.am, man/generate_mans.mak: Update clean targets,
|
|
|
|
|
due to the generation in separate sub folders.
|
|
|
|
|
|
2012-05-20 17:40:23 +00:00
|
|
|
2012-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/su.1.xml: Document author to avoid warnings during
|
|
|
|
|
generation. This needs to be rolled out to other manpages.
|
|
|
|
|
* man/generate_mans.mak: Do not add a AUTHOR section in the man
|
|
|
|
|
pages.
|
|
|
|
|
|
2012-05-20 16:15:14 +00:00
|
|
|
2012-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: non PAM enabled versions: do not fail if su is called
|
|
|
|
|
without a controlling terminal. Ignore ENXIO errors when opening
|
|
|
|
|
/dev/tty.
|
|
|
|
|
|
|
|
|
|
2012-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: Cleanup, return code 13 no more used.
|
|
|
|
|
* man/useradd.8.xml: Document return code 14, and remove return
|
|
|
|
|
code 13.
|
|
|
|
|
|
2012-05-20 10:18:33 +00:00
|
|
|
2012-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, man/generate_mans.mak: Generate manpages in man1, man3,
|
|
|
|
|
man5, man8 subdirectories. This fix the generation of .so links
|
|
|
|
|
which did not point to a path relative to the top-level manual
|
|
|
|
|
hierarchy.
|
|
|
|
|
* man/generate_mans.mak: Update man paths accordingly.
|
|
|
|
|
* man/Makefile.am: Likewise.
|
|
|
|
|
* man/da/Makefile.am: Likewise.
|
|
|
|
|
* man/de/Makefile.am: Likewise.
|
|
|
|
|
* man/fr/Makefile.am: Likewise.
|
|
|
|
|
* man/it/Makefile.am: Likewise.
|
|
|
|
|
* man/pl/Makefile.am: Likewise.
|
|
|
|
|
* man/ru/Makefile.am: Likewise.
|
|
|
|
|
* man/sv/Makefile.am: Likewise.
|
|
|
|
|
* man/zh_CN/Makefile.am: Likewise.
|
|
|
|
|
|
2012-05-20 10:07:55 +00:00
|
|
|
2012-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* configure.in: Prepare for next point release 4.1.5.1.
|
|
|
|
|
|
2012-05-19 08:27:42 +00:00
|
|
|
2012-05-19 Nitin A Kamble <nitin.a.kamble@intel.com>
|
|
|
|
|
|
|
|
|
|
* configure.in: Remove deprecated AM_C_PROTOTYPES (no more
|
|
|
|
|
supported in automake 1.12).
|
|
|
|
|
|
2012-05-18 20:28:16 +00:00
|
|
|
2012-05-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: Keep the default file as much as possible to
|
|
|
|
|
avoid issue in case of crash. Use link instead of rename.
|
|
|
|
|
|
2012-05-18 19:44:53 +00:00
|
|
|
2012-05-18 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Fix labeling of /etc/{passwd,shadow,group,gshadow}.
|
|
|
|
|
It will basically label them with same context as
|
|
|
|
|
/etc/{passwd+,shadow+,group+,gshadow+}
|
|
|
|
|
|
2012-05-18 19:32:32 +00:00
|
|
|
2012-05-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwunconv.c: Do not check spw_close() return value (file is
|
|
|
|
|
opened readonly).
|
|
|
|
|
* src/grpunconv.c: Do not check sgr_close() return value (file is
|
|
|
|
|
opened readonly).
|
|
|
|
|
|
2012-05-18 18:56:24 +00:00
|
|
|
2012-05-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/userdel.c: Fix segfault when userdel removes the
|
|
|
|
|
user's group.
|
|
|
|
|
|
2012-05-18 17:57:52 +00:00
|
|
|
2012-05-17 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/login.c: Log in utmp / utmpx / wtmp also when PAM is
|
|
|
|
|
enabled. This is not done by pam_lastlog. This was broken on
|
|
|
|
|
2011-07-23.
|
|
|
|
|
* NEWS, libmisc/utmp.c: Do not log in wtmp when PAM is enabled.
|
|
|
|
|
This is done by pam_lastlog.
|
|
|
|
|
|
2012-05-17 09:17:53 +00:00
|
|
|
2012-05-17 Christian Perrier <bubulle@Êebian.org>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: French translation of manpages completed
|
|
|
|
|
|
2012-05-17 09:13:09 +00:00
|
|
|
2012-05-17 Simon Brandmair <sbrandmair@gmx.net>
|
|
|
|
|
|
|
|
|
|
* man/po/de.po: German translation of manpages completed
|
|
|
|
|
|
2012-02-13 20:33:28 +00:00
|
|
|
2012-02-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS: New placeholder for the next release (4.1.5.1 expected)
|
|
|
|
|
|
2012-05-25 14:05:30 +00:00
|
|
|
2012-04-15 Robert Luberda <robert@debian.org>
|
|
|
|
|
|
|
|
|
|
* man/po/pl.po: Complete translation of logoutd(8) in Polish.
|
|
|
|
|
|
2012-02-13 20:32:00 +00:00
|
|
|
2012-02-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* src/passwd.c: (non PAM flavour) Report permission denied when
|
|
|
|
|
access to /etc/shadow fails with EACCES.
|
|
|
|
|
|
2012-02-13 20:09:59 +00:00
|
|
|
2012-02-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* lib/nscd.c: Add missing newline to error message.
|
|
|
|
|
* lib/nscd.c: If nscd is installed but not in use, then running
|
|
|
|
|
`nscd -i` will exit(1). We shouldn't warn in this case since this
|
|
|
|
|
is not abnormal behavior.
|
|
|
|
|
|
2012-02-13 20:04:40 +00:00
|
|
|
2012-02-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* man/.gitignore: Add generate_mans.deps
|
|
|
|
|
|
2012-02-13 20:00:34 +00:00
|
|
|
2012-02-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* man/grpck.8.xml: Relocate space.
|
|
|
|
|
|
2012-02-13 19:16:29 +00:00
|
|
|
2012-02-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* libmisc/copydir.c: Add missing #include <stdarg.h>
|
|
|
|
|
|
2012-02-12 21:29:41 +00:00
|
|
|
2012-02-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS: Set release date.
|
|
|
|
|
|
2012-02-12 15:02:45 +00:00
|
|
|
2012-02-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
|
|
|
|
|
* po/*.po, man/po/*.po: Updated PO files.
|
|
|
|
|
|
2012-02-11 18:28:04 +00:00
|
|
|
2012-02-11 Giuseppe Sacco <eppesuig@debian.org>
|
|
|
|
|
|
|
|
|
|
* man/po/it.po: Updated after review.
|
|
|
|
|
|
|
|
|
|
2012-02-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/it/Makefile.am: Activate all manpages.
|
|
|
|
|
* man/po/it.po: Fix formal issues (end of lines).
|
|
|
|
|
|
2012-02-11 09:31:17 +00:00
|
|
|
2012-02-11 Giuseppe Sacco <eppesuig@debian.org>
|
|
|
|
|
|
|
|
|
|
* man/po/it.po: Updated to 1173t.
|
|
|
|
|
|
2012-02-02 19:05:34 +00:00
|
|
|
2012-01-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/useradd.8.xml, man/su.1.xml, man/po/da.po, man/po/ru.po,
|
|
|
|
|
man/po/fr.po, man/po/de.po, man/po/sv.po, man/po/pl.po,
|
|
|
|
|
man/po/it.po, man/po/shadow-man-pages.pot, man/po/zh_CN.po: Fix
|
|
|
|
|
two typos. Thanks to Giuseppe Sacco. Unfuzzy translations
|
|
|
|
|
* po/kk.po, po/nb.po, po/el.po, po/ca.po, po/ja.po: Re-generate.
|
|
|
|
|
* man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml:
|
|
|
|
|
Fix typo.
|
|
|
|
|
|
2012-01-28 19:13:08 +00:00
|
|
|
2012-01-28 Innocent De Marchi <tangram.peces@gmail.com>
|
|
|
|
|
|
|
|
|
|
* po/ca.po: Updated to 557t.
|
|
|
|
|
|
2012-01-28 16:53:23 +00:00
|
|
|
2012-01-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, configure.in, man/da/Makefile.am, man/Makefile.am: Build
|
|
|
|
|
manpages with more than 50% translated messages.
|
|
|
|
|
* man/fr/Makefile.am: Add missing manpages: chgpasswd.8,
|
|
|
|
|
groupmems.8, nologin.8, sulogin.8.
|
|
|
|
|
* man/de/Makefile.am: Add missing manpages: chage.1, chgpasswd.8,
|
|
|
|
|
chpasswd.8, expiry.1, faillog.5, faillog.8, getspnam.3, gpasswd.1,
|
|
|
|
|
groupadd.8, groupdel.8, groupmems.8, groupmod.8, grpck.8,
|
|
|
|
|
grpconv.8, grpunconv.8, gshadow.5, lastlog.8, login.defs.5,
|
|
|
|
|
logoutd.8, newusers.8, nologin.8, pwck.8, pwconv.8, pwunconv.8,
|
|
|
|
|
sg.1, shadow.3, shadow.5, suauth.5, useradd.8, userdel.8,
|
|
|
|
|
usermod.8, limits.5, login.access.5, porttime.5, id.1, sulogin.8
|
|
|
|
|
* man/zh_CN/Makefile.am: Add missing manpages: chgpasswd.8,
|
|
|
|
|
groupmems.8, nologin.8, sulogin.8
|
|
|
|
|
* man/pl/Makefile.am, man/sv/Makefile.am, man/it/Makefile.am:
|
|
|
|
|
Translate only manpages with more than 50% translated messages.
|
|
|
|
|
* man/po/da.po: Do not translate names of manpages (newusers,
|
|
|
|
|
limits, groups)
|
|
|
|
|
|
2012-01-28 13:29:13 +00:00
|
|
|
2012-01-28 Yuri Kozlov <yuray@komyakino.ru>
|
|
|
|
|
|
|
|
|
|
* man/po/ru.po: Updated to 1173t.
|
|
|
|
|
|
2012-01-27 18:45:49 +00:00
|
|
|
2012-01-27 Thomas Blein <tblein@tblein.eu>
|
|
|
|
|
|
2012-01-28 19:13:08 +00:00
|
|
|
* po/fr.po: Updated to 557t.
|
2012-01-27 18:45:49 +00:00
|
|
|
* man/po/fr.po: Updated to 1173t.
|
|
|
|
|
|
2012-01-26 18:54:44 +00:00
|
|
|
2012-01-26 Joe Hansen <joedalton2@yahoo.dk>
|
|
|
|
|
|
2012-01-28 19:13:08 +00:00
|
|
|
* po/da.po: Updated to 557t.
|
2012-01-26 18:58:20 +00:00
|
|
|
* man/po/da.po: Updated to 294t879u.
|
2012-01-26 18:54:44 +00:00
|
|
|
|
2012-01-23 22:29:33 +00:00
|
|
|
2012-01-23 Thomas Vasileiou <thomas-v@wildmail.com>
|
|
|
|
|
|
|
|
|
|
* po/el.po: Updated to 553t.
|
|
|
|
|
|
|
|
|
|
2012-01-22 Baurzhan Muftakhidinov <baurthefirst@gmail.com>
|
2012-01-22 17:32:49 +00:00
|
|
|
|
|
|
|
|
* po/kk.po: Updated to 557t.
|
|
|
|
|
|
2012-01-23 22:29:33 +00:00
|
|
|
2012-01-21 Miguel Figueiredo <elmig@debianpt.org>
|
2012-01-21 07:17:05 +00:00
|
|
|
|
|
|
|
|
* po/pt.po: Updated to 557t.
|
|
|
|
|
|
2012-01-23 22:29:33 +00:00
|
|
|
2012-01-19 Holger Wansing <linux@wansing-online.de>
|
2012-01-19 19:37:36 +00:00
|
|
|
|
|
|
|
|
* po/de.po: Updated to 557t.
|
|
|
|
|
|
2012-01-18 21:08:28 +00:00
|
|
|
2012-01-18 Bjørn Steensrud <bjornst@skogkatt.homelinux.org>
|
|
|
|
|
|
|
|
|
|
* po/nb.po: Updated to 557t. Thanks also to Hans Fredrik Nordhaug.
|
|
|
|
|
|
2012-01-18 21:01:50 +00:00
|
|
|
2012-01-16 NAKANO Takeo <nakano@webmasters.gr.jp>
|
|
|
|
|
|
|
|
|
|
* po/ja.po: Updated to 557t
|
|
|
|
|
|
|
|
|
|
2012-01-16 Simon Brandmair <sbrandmair@gmx.net>
|
|
|
|
|
|
|
|
|
|
* man/po/de.po: Updated to 1173t.
|
|
|
|
|
|
2012-01-15 21:21:01 +00:00
|
|
|
2012-01-14 YunQiang Su <wzssyqa@gmail.com>
|
|
|
|
|
|
|
|
|
|
* po/zh_CN.po: Updated to 551t2f4u
|
|
|
|
|
* man/po/zh_CN.po: Updated to 1026t15f132u
|
|
|
|
|
|
|
|
|
|
2012-01-09 Yuri Kozlov <yuray@komyakino.ru>
|
|
|
|
|
|
|
|
|
|
* po/ru.po: Updated to 557t.
|
|
|
|
|
|
2012-01-08 23:36:18 +00:00
|
|
|
2012-01-09 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
|
|
|
|
|
* po/*.po, man/po/*.po: Updated PO files.
|
|
|
|
|
|
2012-01-08 16:04:27 +00:00
|
|
|
2012-01-08 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes.h: Cleanup.
|
2012-01-08 16:06:57 +00:00
|
|
|
* lib/selinux.c, lib/semanage.c: prototypes.h was not included.
|
2012-01-08 16:04:27 +00:00
|
|
|
|
2011-12-09 22:13:02 +00:00
|
|
|
2011-12-09 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes.h, lib/Makefile.am, po/POTFILES.in,
|
|
|
|
|
libmisc/copydir.c, lib/selinux.c: Move set_selinux_file_context()
|
|
|
|
|
and reset_selinux_file_context() from libmisc/copydir.c to
|
|
|
|
|
lib/selinux.c.
|
|
|
|
|
* lib/commonio.c: Use set_selinux_file_context() and
|
|
|
|
|
reset_selinux_file_context() instead of using the existing
|
|
|
|
|
database SELinux context to set the context for the newly created
|
|
|
|
|
files.
|
|
|
|
|
|
2011-12-09 21:35:47 +00:00
|
|
|
2011-12-09 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2011-12-09 21:35:57 +00:00
|
|
|
* src/vipw.c: Do not use a hardcoded program name in the usage
|
|
|
|
|
message.
|
|
|
|
|
|
|
|
|
|
2011-12-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2011-12-09 21:35:47 +00:00
|
|
|
* po/ca.po, po/cs.po, po/da.po, po/de.po, po/es.po, po/eu.po,
|
|
|
|
|
po/fr.po, po/ja.po, po/kk.po, po/pt.po, po/pt_BR.po, po/ru.po,
|
|
|
|
|
po/sk.po, po/sv.po, po/vi.po, po/zh_CN.po: Quick unfuzzy.
|
|
|
|
|
|
2011-12-09 21:31:39 +00:00
|
|
|
2011-12-09 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newusers.c, src/chpasswd.c, src/chgpasswd.c: Harmonize
|
|
|
|
|
usage messages.
|
|
|
|
|
|
2011-12-09 21:30:19 +00:00
|
|
|
2011-12-09 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/Makefile.am, lib/prototypes.h, lib/selinux.c,
|
|
|
|
|
lib/semanage.c, po/POTFILES.in: Move lib/selinux.c to
|
|
|
|
|
lib/semanage.c.
|
|
|
|
|
|
2011-11-21 22:02:15 +00:00
|
|
|
2011-11-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c, man/usermod.8.xml: usermod -Z "" removes the
|
|
|
|
|
SELinux user mapping for the modified user.
|
|
|
|
|
* src/useradd.c: Zflg is #defined as user_selinux non empty.
|
|
|
|
|
|
2011-11-21 19:34:22 +00:00
|
|
|
2011-11-21 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libmisc/copydir.c: Ignore errors to copy ACLs if the operation
|
|
|
|
|
is not supported.
|
|
|
|
|
|
2011-11-19 21:51:52 +00:00
|
|
|
2011-11-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/root_flag.c, src/gpasswd.c, src/chsh.c: Add splint
|
|
|
|
|
annotations.
|
|
|
|
|
* src/pwconv.c, src/pwunconv.c, src/grpconv.c, src/grpunconv.c:
|
|
|
|
|
Ignore return value of spw_rewind, pw_rewind, sgr_rewind, and
|
|
|
|
|
gr_rewind.
|
|
|
|
|
* lib/commonio.h: Both head and tail cannot be owned. Set tail as
|
|
|
|
|
dependent.
|
|
|
|
|
* src/expiry.c: Ignore return value of expire ().
|
|
|
|
|
* src/expiry.c: The catch_signals function does not use its sig
|
|
|
|
|
parameter.
|
|
|
|
|
* src/userdel.c: Last audit_logger parameter is a
|
|
|
|
|
shadow_audit_result, use SHADOW_AUDIT_FAILURE instead of 0.
|
2011-11-19 21:55:00 +00:00
|
|
|
* lib/selinux.c: vasprintf requires _GNU_SOURCE to be defined
|
|
|
|
|
before including stdio.h.
|
2011-11-19 21:56:10 +00:00
|
|
|
* src/chage.c: Cast 3rd date_to_str parameter to a time_t
|
2011-11-19 22:00:00 +00:00
|
|
|
* src/passwd.c: Add missing cast.
|
|
|
|
|
* lib/commonio.c: Avoid multiple statements per line.
|
|
|
|
|
* lib/commonio.c: Ignore fclose return value when the file was
|
|
|
|
|
open read only or was not changed, or if an error is already
|
|
|
|
|
reported.
|
2011-11-19 21:51:52 +00:00
|
|
|
|
2011-11-19 21:44:34 +00:00
|
|
|
2011-11-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/faillog.c: The fail_max field is a short, use a short also
|
|
|
|
|
for the max argument of setmax / setmax_one.
|
|
|
|
|
* src/faillog.c: Fail with an error message when faillog fails to
|
|
|
|
|
write to the faillog database.
|
|
|
|
|
|
2011-11-19 14:34:59 +00:00
|
|
|
2011-11-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/gpasswd.1.xml: Document the difference between the -r and -R
|
|
|
|
|
options.
|
|
|
|
|
|
2011-11-19 14:33:53 +00:00
|
|
|
2011-11-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/useradd.8.xml, man/groupadd.8.xml, man/usermod.8.xml,
|
|
|
|
|
man/groupmod.8.xml: Avoid hardcoded values, and reference instead
|
|
|
|
|
the configuration options (e.g. UID_MIN)
|
|
|
|
|
* man/groupmod.8.xml, man/usermod.8.xml: Add missing reference to
|
|
|
|
|
login.defs
|
|
|
|
|
* man/login.defs.d/UID_MAX.xml, man/login.defs.d/SYS_UID_MAX.xml,
|
|
|
|
|
man/login.defs.d/GID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
|
|
|
|
|
Document the default values.
|
|
|
|
|
|
|
|
|
|
2011-11-19 Nicolas François <nicolas.francois@centraliens.net>
|
2011-11-19 14:27:48 +00:00
|
|
|
|
|
|
|
|
* src/gpasswd.c: Change of group password enforces gshadow
|
|
|
|
|
password. Set /etc/group password to "x".
|
|
|
|
|
|
2011-11-17 21:51:07 +00:00
|
|
|
2011-11-16 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/userdel.c, man/userdel.8.xml: Add option -Z/--selinux-user.
|
|
|
|
|
* libmisc/system.c, lib/prototypes.h, libmisc/Makefile.am: Removed
|
|
|
|
|
safe_system().
|
|
|
|
|
* lib/selinux.c, po/POTFILES.in, lib/prototypes.h,
|
|
|
|
|
lib/Makefile.am: Added helper functions for semanage.
|
2011-11-17 21:52:49 +00:00
|
|
|
* NEWS, README, src/useradd.c, src/usermod.c, src/userdel.c,
|
2011-11-17 21:51:07 +00:00
|
|
|
configure.in: Use libsemanage instead of semanage.
|
|
|
|
|
|
2011-11-16 21:17:43 +00:00
|
|
|
2011-11-16 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
|
|
|
|
|
|
* src/Makefile.am: useradd may need the LIBATTR library.
|
|
|
|
|
|
2011-11-16 21:00:43 +00:00
|
|
|
2011-11-16 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libmisc/copydir.c: Ignore perm_copy_file() errors with errno set
|
|
|
|
|
to ENOTSUP.
|
|
|
|
|
|
2011-11-16 19:33:51 +00:00
|
|
|
2011-11-16 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2011-11-16 19:34:39 +00:00
|
|
|
* src/useradd.c: Compilation fix when SHADOWGRP is not enabled.
|
|
|
|
|
* libmisc/root_flag.c: Add missing #include <stdio.h>
|
2011-11-16 19:33:51 +00:00
|
|
|
|
2011-11-13 18:21:43 +00:00
|
|
|
2011-11-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
|
|
|
|
|
* po/*.po, man/po/*.po: Updated PO files.
|
|
|
|
|
|
2011-11-13 16:24:57 +00:00
|
|
|
2011-11-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chage.c, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
|
|
|
|
|
src/chsh.c, src/groupadd.c, src/groupdel.c, src/groupmems.c,
|
|
|
|
|
src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c,
|
|
|
|
|
src/usermod.c: Provide the PAM error
|
|
|
|
|
message instead of our own, and log error to syslog.
|
|
|
|
|
* src/groupmems.c: Exit with exit rather than fail_exit in usage().
|
|
|
|
|
* src/newusers.c: Check the number of arguments.
|
|
|
|
|
* src/newusers.c: Do not create the home directory when it is not
|
|
|
|
|
changed.
|
|
|
|
|
* src/useradd.c: Set the group password to "!" rather "x" if there
|
|
|
|
|
are no gshadow file.
|
|
|
|
|
|
2011-11-13 16:24:39 +00:00
|
|
|
2011-11-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwck.c: Removed pw_opened.
|
|
|
|
|
* src/pwck.c: optind cannot be greater than argc.
|
|
|
|
|
* src/pwck.c: If spw_opened, then is_shadow is implicitly set.
|
|
|
|
|
* src/pwck.c: Do not report passwd entry without x password and a
|
|
|
|
|
shadow entry in --quiet mode (no interaction with the caller)
|
|
|
|
|
* src/pwck.c: Do not check if the last password change is in the
|
|
|
|
|
future if the time is set to 0.
|
|
|
|
|
|
2011-11-11 12:09:58 +00:00
|
|
|
2011-11-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/root_flag.c: Drop privileges before changing root. The
|
|
|
|
|
--root option should not be used by regular users for suid utils.
|
|
|
|
|
* libmisc/root_flag.c: Improve error messages.
|
|
|
|
|
|
2011-11-11 12:00:05 +00:00
|
|
|
2011-11-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwck.c: Compile fix for TCB.
|
|
|
|
|
|
2011-11-11 11:59:21 +00:00
|
|
|
2011-11-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/copydir.c: Avoid conflict with glibc. Rename error to
|
|
|
|
|
error_acl.
|
|
|
|
|
|
2011-11-11 11:35:56 +00:00
|
|
|
2011-11-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/newusers.8.xml: Document the optional file argument.
|
|
|
|
|
* man/newusers.8.xml: Fix the documentation of the inputs' format.
|
|
|
|
|
|
2011-11-06 19:01:54 +00:00
|
|
|
2011-11-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/groupmod.8.xml: Document that the primary group of users may
|
|
|
|
|
be changed by groupmod -g.
|
|
|
|
|
|
2011-11-06 18:40:22 +00:00
|
|
|
2011-11-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/newusers.c, man/newusers.8.xml: Add --root option.
|
|
|
|
|
|
2011-11-06 18:40:17 +00:00
|
|
|
2011-11-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/vipw.c: Remove unused variable a.
|
|
|
|
|
|
2011-11-06 18:40:11 +00:00
|
|
|
2011-11-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/generate_mans.mak: The xml-config files do not depend on the
|
|
|
|
|
Makefile.
|
|
|
|
|
|
2011-11-06 18:39:59 +00:00
|
|
|
2011-10-31 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chage.c, src/chgpasswd.c, src/chpasswd.c, src/chsh.c,
|
|
|
|
|
src/faillog.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c,
|
|
|
|
|
src/groupmems.c, src/groupmod.c, src/grpconv.c, src/grpunconv.c,
|
|
|
|
|
src/lastlog.c, src/newusers.c, src/passwd.c, src/pwconv.c,
|
|
|
|
|
src/pwunconv.c, src/su.c, src/useradd.c, src/userdel.c,
|
|
|
|
|
src/usermod.c, src/vipw.c: Align and sort options.
|
|
|
|
|
|
2011-11-06 18:39:53 +00:00
|
|
|
2011-10-31 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/pwck.c, man/pwck.8.xm, src/grpck.c, man/grpck.8.xml:
|
|
|
|
|
Add --root option.
|
|
|
|
|
|
2011-11-06 18:39:47 +00:00
|
|
|
2011-10-31 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/limits.5.xml, libmisc/limits.c: Sort limit identifiers.
|
|
|
|
|
* libmisc/limits.c: Fix support for the K limit identifier.
|
|
|
|
|
* libmisc/limits.c: Add missing default limit for L and U.
|
|
|
|
|
|
2011-11-06 18:39:36 +00:00
|
|
|
2011-10-31 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwck.c, man/pwck.8.xml: Add support for long options.
|
|
|
|
|
* src/pwck.c, man/pwck.8.xml: Add -h/--help option
|
|
|
|
|
* src/grpck.c, man/grpck.8.xml: Add support for long options.
|
|
|
|
|
* src/grpck.c, man/grpck.8.xml: Add -h/--help option
|
|
|
|
|
|
2011-11-06 18:39:30 +00:00
|
|
|
2011-10-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/expiry.c, man/expiry.1.xml: Add support for long options.
|
|
|
|
|
* src/expiry.c, man/expiry.1.xml: Add -h/--help option
|
|
|
|
|
|
2011-11-06 18:39:19 +00:00
|
|
|
2011-10-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chfn.c, man/chfn.1.xml: Add support for long options.
|
|
|
|
|
* src/chfn.c, man/chfn.1.xml: Add -u/--help option
|
2011-11-06 18:39:24 +00:00
|
|
|
* NEWS, src/chfn.c, man/chfn.1.xml: Add --root option.
|
2011-11-06 18:39:19 +00:00
|
|
|
|
2011-11-06 18:39:09 +00:00
|
|
|
2011-10-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/vipw.c, man/vipw.8.xml: Add --root option.
|
|
|
|
|
|
2011-11-06 18:39:03 +00:00
|
|
|
2011-10-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/faillog.c, man/faillog.8.xml: Add --root option.
|
|
|
|
|
* NEWS, src/lastlog.c, man/lastlog.8.xml: Likewise.
|
|
|
|
|
* src/faillog.c: Add Prog variable, and prefix error messages with
|
|
|
|
|
Prog rather than "faillog".
|
|
|
|
|
* src/lastlog.c: Likewise.
|
|
|
|
|
* src/lastlog.c: Split usage in smaller messages.
|
|
|
|
|
|
2011-11-06 18:38:57 +00:00
|
|
|
2011-10-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/chage.c, man/chage.1.xml: Add --root option. Open
|
|
|
|
|
audit and syslog after the potential chroot. chage's usage split
|
|
|
|
|
in smaller messages.
|
|
|
|
|
|
2011-11-06 18:38:51 +00:00
|
|
|
2011-10-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: re-indent.
|
|
|
|
|
* src/login.c: Fix support for sub-logins.
|
|
|
|
|
|
2011-11-06 18:38:45 +00:00
|
|
|
2011-10-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/faillog.c, src/chage.c, src/newusers.c, src/su.c: The getopt
|
|
|
|
|
index of long options is not used.
|
|
|
|
|
|
2011-11-06 18:37:19 +00:00
|
|
|
2011-10-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes.h, libmisc/Makefile.am, libmisc/root_flag.c,
|
|
|
|
|
po/POTFILES.in: Add process_root_flag() to process the --root
|
|
|
|
|
option and chroot so that the chroot config is used and changes
|
|
|
|
|
are applied to the chroot.
|
2011-11-06 18:37:25 +00:00
|
|
|
* NEWS, src/useradd.c, man/useradd.8.xml: Add --root option. Open
|
|
|
|
|
audit after the potential chroot.
|
2011-11-06 18:37:32 +00:00
|
|
|
* NEWS, src/userdel.c, man/userdel.8.xml: Add --root option. Open
|
|
|
|
|
audit and syslog after the potential chroot. userdel's usage split
|
|
|
|
|
in smaller messages.
|
2011-11-06 18:37:39 +00:00
|
|
|
* NEWS, src/usermod.c, man/usermod.8.xml: Likewise
|
2011-11-06 18:37:45 +00:00
|
|
|
* NEWS, src/groupadd.c, man/groupadd.8.xml: Add --root option. Open
|
2011-11-06 18:37:51 +00:00
|
|
|
audit and syslog after the potential chroot.
|
2011-11-06 18:37:45 +00:00
|
|
|
* src/groupadd.c: Check atexit failures.
|
|
|
|
|
* src/groupadd.c: Return E_SUCCESS instead of exit'ing at the end
|
|
|
|
|
of main().
|
2011-11-06 18:37:51 +00:00
|
|
|
* NEWS, src/groupadd.c, man/groupadd.8.xml: Add --root option. Open
|
|
|
|
|
audit and syslog after the potential chroot.
|
2011-11-06 18:38:10 +00:00
|
|
|
* src/groupmod.c: The getopt index of long options is not used.
|
2011-11-06 18:37:57 +00:00
|
|
|
* src/groupdel.c: Add process_flags().
|
|
|
|
|
* src/groupdel.c, man/groupdel.8.xml: Add --help option.
|
|
|
|
|
* NEWS, src/groupdel.c, man/groupdel.8.xml: Add --root option. Open
|
|
|
|
|
audit and syslog after the potential chroot.
|
|
|
|
|
* src/groupdel.c: Check atexit failures.
|
2011-11-06 18:38:04 +00:00
|
|
|
* NEWS, src/pwconv.c, src/pwunconv.c, src/grpconv.c,
|
|
|
|
|
src/grpunconv.c, man/pwconv.8.xml: Add --root option.
|
|
|
|
|
* src/pwconv.c, src/pwunconv.c, src/grpconv.c, src/grpunconv.c:
|
|
|
|
|
Add --help option.
|
|
|
|
|
* src/pwconv.c, src/pwunconv.c, src/grpconv.c, src/grpunconv.c:
|
|
|
|
|
Add process_flags() and usage().
|
2011-11-06 18:38:10 +00:00
|
|
|
* NEWS, src/chpasswd.c, man/chpasswd.8.xml, src/chgpasswd.c,
|
|
|
|
|
man/chgpasswd.8.xml: Add --root option.
|
|
|
|
|
* src/chpasswd.c, src/chgpasswd.c: The getopt index of long
|
|
|
|
|
options is not used.
|
2011-11-06 18:38:16 +00:00
|
|
|
* NEWS, src/passwd.c, man/passwd.1.xml: Add --root option.
|
|
|
|
|
passwd's usage split in smaller messages.
|
|
|
|
|
* src/passwd.c: Call sanitize_env() before setting the locales.
|
2011-11-06 18:38:26 +00:00
|
|
|
* NEWS, src/groupmems.c, man/groupmems.8.xml: Add --root option.
|
|
|
|
|
Open syslog after the potential chroot.
|
|
|
|
|
* src/groupmems.c: The getopt index of long options is not used.
|
2011-11-06 18:38:32 +00:00
|
|
|
* NEWS, src/chsh.c, man/chsh.1.xml: Add --root option.
|
|
|
|
|
chsh's usage split in smaller messages.
|
|
|
|
|
* src/chsh.c: The getopt index of long options is not used.
|
2011-11-06 18:38:39 +00:00
|
|
|
* NEWS, src/gpasswd.c, man/gpasswd.1.xml: Add --root option.
|
|
|
|
|
* src/gpasswd.c: The getopt index of long options is not used.
|
2011-11-06 18:37:19 +00:00
|
|
|
|
2011-10-22 08:59:08 +00:00
|
|
|
2011-10-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/ja/Makefile.am, man/fr/Makefile.am, man/ru/Makefile.am,
|
|
|
|
|
man/sv/Makefile.am, man/pl/Makefile.am, man/zh_CN/Makefile.am,
|
|
|
|
|
man/it/Makefile.am, man/Makefile.am: Include man_nopam in
|
|
|
|
|
EXTRA_DIST only when USE_PAM (they are already in man_MANS
|
|
|
|
|
otherwise).
|
|
|
|
|
|
2011-10-22 08:56:51 +00:00
|
|
|
2011-10-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/su.1.xml: Document that su -c does not providea controlling
|
|
|
|
|
terminal.
|
|
|
|
|
|
2011-10-18 20:13:37 +00:00
|
|
|
2011-10-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newusers.c: Fix typo.
|
|
|
|
|
* src/useradd.c: Likewise.
|
2011-10-18 20:16:00 +00:00
|
|
|
* lib/nscd.c: Remove unused variable.
|
2011-10-18 20:23:33 +00:00
|
|
|
* lib/prototypes.h, libmisc/cleanup.c, lib/spawn.c, src/chage.c:
|
|
|
|
|
Add splint annotations.
|
2011-10-18 20:28:01 +00:00
|
|
|
* src/sulogin.c (main): env is only used when USE_PAM is not set.
|
2011-10-18 20:13:37 +00:00
|
|
|
|
2011-10-15 16:01:07 +00:00
|
|
|
2011-10-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.defs.d/LOGIN_STRING.xml: Fix typo.
|
|
|
|
|
|
2011-09-18 21:02:43 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes, libmisc/basename.c (Basename): Input is a
|
|
|
|
|
constant string.
|
|
|
|
|
* lib/prototypes.h, lib/spawn.h, lib/spawn.c, src/userdel.c,
|
|
|
|
|
lib/nscd.c, lib/Makefile.am: Delete spawn.h. Move from spawn.h to
|
|
|
|
|
prototypes.h.
|
|
|
|
|
* src/userdel.c: Remove unused variables.
|
|
|
|
|
* lib/nscd.c: Remove unused header files.
|
|
|
|
|
* lib/nscd.c: Add the program name to error messages.
|
|
|
|
|
* lib/nscd.c: Indicate when nscd does not terminate normally (signal).
|
|
|
|
|
* lib/spawn.c: Updated header.
|
|
|
|
|
* lib/spawn.c: Flush stdout and stderr to avoid inheriting from
|
|
|
|
|
ongoing buffers.
|
|
|
|
|
* lib/spawn.c: Avoid implicit conversion of pointer to boolean.
|
|
|
|
|
* lib/spawn.c: Replace perror by a complete message.
|
|
|
|
|
* lib/spawn.c: Continue to wait for the child if another child
|
|
|
|
|
terminates.
|
|
|
|
|
* lib/prototypes.h: The name field from cleanup_info_mod is a
|
|
|
|
|
constant string. (username).
|
|
|
|
|
|
2011-09-18 20:43:28 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/cleanup.c: Spawn children should no trigger cleanup
|
|
|
|
|
actions. Make sure only the parent (initial caller) perform the
|
|
|
|
|
cleanup actions.
|
|
|
|
|
|
2011-09-18 20:40:50 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/salt.c (SHA_salt_rounds): It is statically ensured that
|
|
|
|
|
the format fits in rounds_prefix.
|
2011-09-18 20:41:38 +00:00
|
|
|
* libmisc/loginprompt.c: Likewise.
|
2011-09-18 20:40:50 +00:00
|
|
|
|
2011-09-18 20:26:27 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/grpconv.c: Fail if not called correctly.
|
|
|
|
|
* src/grpconv.c: At the end of main, the passwd and shadow files
|
|
|
|
|
are locked. No need to check before unlocking. No need to set the
|
|
|
|
|
lock as false neither since there cannot be anymore failures.
|
|
|
|
|
|
2011-09-18 20:24:36 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chage.c: EPOCH is not needed, it's converted to -1 by
|
|
|
|
|
strtoday(). But we need to support "-1" specifically.
|
|
|
|
|
* src/chage.c: Fix usage: LOGIN is mandatory.
|
|
|
|
|
* src/chage.c: Display disabled expiry or last change as "-1"
|
|
|
|
|
instead of 1969-12-31. 1969-12-31 is still supported as input from
|
|
|
|
|
the user.
|
|
|
|
|
* src/chage.c: Exit cleanly with fail_exit() (lock files were not
|
|
|
|
|
removed).
|
|
|
|
|
|
2011-09-18 18:00:06 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: Remove def_file. It was always set to
|
|
|
|
|
USER_DEFAULTS_FILE.
|
|
|
|
|
* src/useradd.c: Fix cut&paste issue causing bad warning when
|
|
|
|
|
the useradd.default file contains an invalid INACTIVE= value.
|
|
|
|
|
* src/useradd.c: Added missing end of line for rename errors.
|
|
|
|
|
* src/useradd.c: Added -D synopsis to the usage message.
|
|
|
|
|
* src/useradd.c: Do not scale_age(-1), just use -1.
|
|
|
|
|
* src/useradd.c: Added FIXME to be fixed later.
|
|
|
|
|
* src/useradd.c: Allow -e -1 when there is no shadow file.
|
|
|
|
|
* src/useradd.c: Fail, but do not print the usage message when the
|
|
|
|
|
-e argument is not valid.
|
|
|
|
|
* src/useradd.c: No need to check for oflg since uflg is
|
|
|
|
|
already checked.
|
|
|
|
|
|
2011-09-18 17:47:03 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: Too much const were added on 2011-08-15. pw in
|
|
|
|
|
save_caller_context() is allocated and freed.
|
|
|
|
|
* src/su.c: Added missing #endif indication
|
2011-09-18 20:40:50 +00:00
|
|
|
* src/su.c (save_caller_context): password only needed if
|
2011-09-18 17:47:03 +00:00
|
|
|
SU_ACCESS and !USE_PAM.
|
|
|
|
|
|
2011-09-18 17:34:21 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c: date_to_str() is always called with negativ set
|
|
|
|
|
to "never", remove this argument.
|
|
|
|
|
* src/usermod.c: Added missing cast for gr_free argument.
|
|
|
|
|
|
2011-09-18 17:32:04 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwconv.c: Fail if not called correctly.
|
|
|
|
|
* src/pwconv.c: At the end of main, the passwd and shadow files
|
|
|
|
|
are locked. No need to check before unlocking.
|
|
|
|
|
|
2011-09-18 17:29:52 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newusers.c: Initially set the passwd's password to '*'
|
|
|
|
|
instead of 'x'. Only when it is confirmed that a shadow entry is
|
|
|
|
|
(will be) added, set the passwd's password to 'x'.
|
|
|
|
|
* src/newusers.c: An invalid line is an error. A failure needs to
|
|
|
|
|
be reported.
|
|
|
|
|
|
2011-09-18 17:27:18 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/gpasswd.c: Remove log_gpasswd_success_gshadow(). Writing in
|
2011-11-19 14:20:52 +00:00
|
|
|
gshadow is the last sub-task.
|
2011-09-18 17:27:18 +00:00
|
|
|
|
2011-09-18 17:24:15 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chsh.c: No needto remove lines tarting with '#' from
|
|
|
|
|
/etc/shells. This is already done by getusershell() and these
|
|
|
|
|
shell would fail the access(X_OK) test.
|
|
|
|
|
|
2011-09-18 17:02:10 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/generate_mans.mak: Fix the generation of translated man
|
|
|
|
|
pages. xml2po removed the comment from empty headers and the
|
|
|
|
|
config was no more inserted.
|
|
|
|
|
|
2011-09-18 16:59:16 +00:00
|
|
|
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/chage.1.xml: The LOGIN argument is not optional.
|
2011-09-18 17:00:28 +00:00
|
|
|
* man/login.defs.d/QUOTAS_ENAB.xml: Document the dependency
|
|
|
|
|
between /etc/limits and QUOTAS_ENAB.
|
2011-09-18 16:59:16 +00:00
|
|
|
|
2011-09-18 16:58:12 +00:00
|
|
|
2011-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* po/POTFILES.in: Added lib/spawn.c.
|
|
|
|
|
|
2011-08-20 13:33:38 +00:00
|
|
|
2011-08-20 Jonathan Nieder <jrnieder@gmail.com>
|
|
|
|
|
|
|
|
|
|
* lib/Makefile.am: Added lib/spawn.c and lib/spawn.h.
|
|
|
|
|
* lib/nscd.c, lib/spawn.c, lib/spawn.h: It is not possible to
|
|
|
|
|
differentiate between an nscd failure, and a failure to execute
|
|
|
|
|
due to no nscd with posix_spawn. Use our own run_command routine.
|
|
|
|
|
* src/userdel.c: Use run_command()
|
|
|
|
|
|
2011-08-15 14:22:33 +00:00
|
|
|
2011-08-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/groupmod.c: Ignore return value from snprintf.
|
|
|
|
|
* src/groupmod.c: Add static qualifier to the cleanup structures.
|
2011-08-15 14:38:49 +00:00
|
|
|
* src/groupmod.c: Check atexit failures.
|
2011-08-15 14:22:33 +00:00
|
|
|
|
2011-08-15 09:56:43 +00:00
|
|
|
2011-08-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c: Do not assign static to NULL.
|
|
|
|
|
* src/usermod.c (date_to_str): buf needs to be unique (e.g.
|
|
|
|
|
independent from negativ), and is an out buffer.
|
|
|
|
|
* src/usermod.c: Ignore return value from snprintf, and force
|
|
|
|
|
nul-termination of buffer.
|
|
|
|
|
* src/usermod.c: Improve memory management.
|
|
|
|
|
* src/usermod.c: An audit bloc was not reachable, moved above on
|
|
|
|
|
success to move the home directory.
|
|
|
|
|
* src/usermod.c: Ignore close() return value for the mailbox
|
|
|
|
|
(opened read only).
|
|
|
|
|
|
2011-08-15 09:25:58 +00:00
|
|
|
2011-08-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: Added const modifiers.
|
|
|
|
|
* lib/prototypes: Synchronize splint annotations.
|
|
|
|
|
|
2011-08-14 21:44:46 +00:00
|
|
|
2011-08-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: Add splint annotations.
|
|
|
|
|
* src/su.c: Set caller_on_console as boolean.
|
2011-09-18 17:47:03 +00:00
|
|
|
* src/su.c: Ignore return value from fputs (usage) / puts (prompt).
|
2011-08-14 21:44:46 +00:00
|
|
|
* src/su.c: Improved memory management.
|
|
|
|
|
|
2011-08-14 14:44:35 +00:00
|
|
|
2011-08-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chgpasswd.c, src/chpasswd.c, src/newusers.c: Replace cflg by
|
|
|
|
|
a test on crypt_method.
|
|
|
|
|
|
2011-08-14 14:00:14 +00:00
|
|
|
2011-08-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/chowndir.c: Add splint annotations.
|
2011-08-14 14:37:17 +00:00
|
|
|
* src/chgpasswd.c: Likewise.
|
|
|
|
|
* src/chpasswd.c: Likewise.
|
|
|
|
|
* src/newusers.c: Likewise.
|
|
|
|
|
* libmisc/salt.c, lib/prototypes.h (crypt_make_salt): Likewise.
|
2011-08-14 14:00:14 +00:00
|
|
|
|
2011-08-14 13:16:54 +00:00
|
|
|
2011-08-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/gshadow_.h: Fix typo in comment.
|
|
|
|
|
|
2011-08-14 13:16:26 +00:00
|
|
|
2011-08-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes.h, libmisc/getgr_nam_gid.c: getgr_nam_gid()
|
|
|
|
|
returns an allocated structure.
|
|
|
|
|
|
2011-08-14 13:15:20 +00:00
|
|
|
2011-08-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: Add annotations to indicate that su_failure() does
|
|
|
|
|
not return.
|
|
|
|
|
|
2011-07-30 01:48:42 +00:00
|
|
|
2011-07-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Display PID as unsigned long.
|
|
|
|
|
|
2011-07-30 01:47:52 +00:00
|
|
|
2011-07-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: Remove unused Zflg.
|
|
|
|
|
|
2011-07-30 01:46:23 +00:00
|
|
|
2011-07-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chgpasswd.c: Fix typo sp -> sg. sg_namp -> sg_name
|
|
|
|
|
* src/chgpasswd.c: Always update the group file when SHADOWGRP is
|
|
|
|
|
not enabled.
|
|
|
|
|
|
2011-07-30 01:41:56 +00:00
|
|
|
2011-07-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newgrp.c: Fix typo in notreached annotation.
|
|
|
|
|
|
2011-07-30 01:41:03 +00:00
|
|
|
2011-07-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c: Add annotations to indicate that fail_exit() does
|
|
|
|
|
not return.
|
|
|
|
|
* src/usermod.c: Fix typo in notreached annotation.
|
|
|
|
|
|
2011-07-30 01:38:07 +00:00
|
|
|
2011-07-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/find_new_uid.c: free (used_uids) on return.
|
|
|
|
|
* libmisc/find_new_gid.c: free (used_gids) on return.
|
|
|
|
|
|
2011-07-28 15:19:40 +00:00
|
|
|
2011-07-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Fix NIS commit from 2011-07-14.
|
|
|
|
|
|
2011-07-28 15:18:39 +00:00
|
|
|
2011-07-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/chpasswd.c: Create a shadow entry if the password is
|
|
|
|
|
set to 'x' in passwd and there are no entry in shadow for the
|
|
|
|
|
user.
|
|
|
|
|
* NEWS, src/chgpasswd.c: Create a gshadow entry if the password is
|
|
|
|
|
set to 'x' in group and there are no entry in gshadow for the
|
|
|
|
|
group.
|
|
|
|
|
|
2011-07-28 14:40:56 +00:00
|
|
|
2011-07-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwunconv.c: Exit after printing usage when arguments or
|
|
|
|
|
options are provided.
|
|
|
|
|
* src/pwunconv.c: Re-indent.
|
|
|
|
|
* src/pwunconv.c: Open the shadow file read only.
|
|
|
|
|
* src/grpunconv.c: Exit after printing usage when arguments or
|
|
|
|
|
options are provided.
|
|
|
|
|
* src/grpunconv.c: Open the gshadow file read only.
|
|
|
|
|
|
2011-07-28 14:36:24 +00:00
|
|
|
2011-07-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chgpasswd.c: Fix typo.
|
|
|
|
|
|
2011-07-23 11:03:50 +00:00
|
|
|
2011-07-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/login.c: Do not log in utmp / utmpx / wtmp when PAM is
|
2011-07-23 11:05:59 +00:00
|
|
|
enabled. This is already done by pam_lastlog. Note that
|
|
|
|
|
pam_lastlog can only log the parent PID, not the PID of the
|
|
|
|
|
process forked by login.
|
2011-07-23 11:03:50 +00:00
|
|
|
|
2011-07-23 08:14:15 +00:00
|
|
|
2011-07-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chpasswd.c: Add annotations to indicate that usage() does
|
|
|
|
|
not return.
|
|
|
|
|
* src/chpasswd.c: Reindent.
|
|
|
|
|
* src/chpasswd.c: Remove dead code. No need to set crypt_method
|
|
|
|
|
to NULL when it is already NULL. sflg is only set if crypt_method
|
|
|
|
|
is not NULL.
|
|
|
|
|
|
2011-07-23 08:10:27 +00:00
|
|
|
2011-07-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/lastlog.c: Add annotations to indicate that usage() does not
|
|
|
|
|
return.
|
|
|
|
|
|
2011-07-22 23:59:57 +00:00
|
|
|
2011-07-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/faillog.c: Add annotations to indicate that usage() does not
|
|
|
|
|
return.
|
|
|
|
|
* src/faillog.c: Fix message: this is faillog, not lastlog.
|
|
|
|
|
* src/faillog.c: Check that there are no extra arguments after
|
|
|
|
|
parsing the options.
|
|
|
|
|
|
2011-07-22 23:52:08 +00:00
|
|
|
2011-07-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chgpasswd.c: Add annotations to indicate that usage() does
|
|
|
|
|
not return.
|
|
|
|
|
* src/chgpasswd.c: Split usage in smaller parts. Those parts are
|
|
|
|
|
already translated for chpasswd. Usage is now closer to
|
|
|
|
|
chpasswd's.
|
|
|
|
|
* src/chgpasswd.c: Remove dead code. No need to set crypt_method
|
|
|
|
|
to NULL when it is already NULL. sflg is only set if crypt_method
|
|
|
|
|
is not NULL.
|
|
|
|
|
|
2011-07-22 22:39:30 +00:00
|
|
|
2011-07-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/expiry.c: Remove dead code.
|
|
|
|
|
* src/expiry.c: Improve comments.
|
|
|
|
|
|
2011-07-22 22:07:23 +00:00
|
|
|
2011-07-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/grpck.c: Added comments.
|
|
|
|
|
* src/grpck.c: Avoid implicit conversion of pointer to boolean.
|
|
|
|
|
* src/grpck.c: Remove dead code. argc cannot be lower than optind.
|
|
|
|
|
Avoid checking twice in a row for NULL != list[i].
|
|
|
|
|
|
2011-07-22 21:53:01 +00:00
|
|
|
2011-07-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/find_new_gid.c, libmisc/find_new_uid.c: Fail in case of
|
|
|
|
|
invalid configuration.
|
|
|
|
|
* libmisc/find_new_gid.c, libmisc/find_new_uid.c: Updated
|
|
|
|
|
comments.
|
|
|
|
|
* libmisc/find_new_gid.c, libmisc/find_new_uid.c: Be more strict
|
|
|
|
|
on the loop stop conditions. Stop if we passed the limit, even if
|
|
|
|
|
the limit itself was never noticed.
|
|
|
|
|
|
2011-07-14 14:14:36 +00:00
|
|
|
2011-07-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: Fix some spacing issues due to configuration
|
|
|
|
|
variants.
|
|
|
|
|
|
2011-07-14 14:03:19 +00:00
|
|
|
2011-07-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/passwd.c: Overflow when computing the number of days based
|
|
|
|
|
on the scaling. Use of long long needed.
|
|
|
|
|
|
2011-07-14 13:58:17 +00:00
|
|
|
2011-07-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, lib/commonio.h, lib/commonio.c: Additional messages to
|
|
|
|
|
indicate why locking failed.
|
|
|
|
|
* NEWS, lib/commonio.c: Fix the sort algorithm in case of NIS. NIS
|
|
|
|
|
entries were dropped.
|
|
|
|
|
* lib/commonio.c: NIS entries can start by '+' or '-'.
|
|
|
|
|
|
2011-07-14 13:30:05 +00:00
|
|
|
2011-07-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/groupmod.c: When the gshadow file exists but there are
|
|
|
|
|
no gshadow entries, an entry is created if the password is changed
|
|
|
|
|
and group requires a shadow entry.
|
|
|
|
|
|
2011-07-14 13:28:59 +00:00
|
|
|
2011-07-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c: Fix typo in comment.
|
2011-07-14 13:29:05 +00:00
|
|
|
* src/usermod.c (move_home): It is always an error to use -m if
|
|
|
|
|
the new home directory already exist (independently from the
|
|
|
|
|
existence of the old home directory did not exist)
|
2011-07-14 13:29:10 +00:00
|
|
|
* src/usermod.c (process_flags): Report usage if no options are
|
|
|
|
|
provided. Update the error message.
|
|
|
|
|
* src/usermod.c (process_flags): Check option compatibility and
|
|
|
|
|
dependency before options are discarded when no changes are
|
|
|
|
|
requested.
|
2011-07-14 13:29:16 +00:00
|
|
|
* src/usermod.c (process_flags): Check for oflg is not needed to
|
|
|
|
|
check if changes are needed.
|
2011-07-14 13:29:22 +00:00
|
|
|
* src/usermod.c: usage() does not return. Add annotations.
|
2011-07-14 13:29:27 +00:00
|
|
|
* src/usermod.c (update_gshadow): is_member was computed twice.
|
2011-07-14 13:29:32 +00:00
|
|
|
* src/usermod.c (update_group, update_gshadow): Reduce complexity
|
|
|
|
|
and document checks. Some checks were always true/false within
|
|
|
|
|
their call context.
|
2011-07-14 13:29:37 +00:00
|
|
|
* NEWS, src/usermod.c; man/usermod.8.xml: When the shadow file
|
|
|
|
|
exists but there are no shadow entries, an entry has to be created
|
|
|
|
|
if the password is changed and passwd requires a shadow entry, or
|
|
|
|
|
if aging features are used (-e or -f). Document this and also that
|
|
|
|
|
-e and -f require a shadow file.
|
2011-07-14 13:29:43 +00:00
|
|
|
* man/usermod.8.xml: Document behavior of an empty EXPIRE_DATE.
|
|
|
|
|
* man/usermod.8.xml: Document that the mail spool might have to be
|
|
|
|
|
renamed (as for the homedir)
|
2011-07-14 13:29:48 +00:00
|
|
|
* src/usermod.c (new_pwent): Document that pw_locate will not fail
|
|
|
|
|
because getpwnam returned successfully.
|
2011-07-14 13:29:54 +00:00
|
|
|
* src/usermod.c (process_flags): Do not display the usage in case
|
|
|
|
|
of an invalid -f value (similar to -e).
|
2011-07-14 13:29:59 +00:00
|
|
|
* src/usermod.c (process_flags): Indicate that the user name is
|
|
|
|
|
invalid, instead of just a 'field'.
|
2011-07-14 13:28:59 +00:00
|
|
|
|
2011-07-08 19:56:18 +00:00
|
|
|
2011-07-08 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/groupadd.c: Fix typo in comment.
|
|
|
|
|
* src/userdel.c: Fix typo from 2011-06-04. Report failure on the
|
|
|
|
|
mailfile instead of user_home.
|
2011-11-19 14:20:52 +00:00
|
|
|
* lib/fields.c: Fixed typo from 2010-02-15. field instead of cp
|
2011-07-08 19:56:18 +00:00
|
|
|
ought to be checked.
|
|
|
|
|
* src/vipw.c: Use Prog instead of progname. This is needed since
|
|
|
|
|
Prog is used in the library.
|
2011-07-08 19:57:08 +00:00
|
|
|
* configure.in: Fix typo. libcrack default is 'no'.
|
2011-07-08 19:58:40 +00:00
|
|
|
* src/groupmod.c: Avoid implicit conversion of pointer to boolean.
|
|
|
|
|
* src/groupmod.c: osgrp can be set only if pflg || nflg. No need
|
|
|
|
|
to check for pflg || nflg again
|
2011-07-08 19:56:18 +00:00
|
|
|
|
2011-07-08 19:49:09 +00:00
|
|
|
2011-07-08 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/*.xml, man/config.xml.in: Add source and version
|
|
|
|
|
information. This reduce the amount of warnings during the
|
|
|
|
|
manpages generation.
|
|
|
|
|
|
2011-06-25 09:03:05 +00:00
|
|
|
2011-06-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/passwd.1.xml: Added reference to chpasswd(8).
|
2011-06-25 09:13:14 +00:00
|
|
|
* man/po/ru.po: Add space between option and argument.
|
2011-06-25 09:03:05 +00:00
|
|
|
|
2011-06-18 05:33:27 +00:00
|
|
|
2011-06-16 Francisco Javier Cuadrado <fcocuadrado@gmail.com>
|
|
|
|
|
|
|
|
|
|
* po/es.po: Spanish translation
|
|
|
|
|
|
2011-06-16 21:25:36 +00:00
|
|
|
2011-06-16 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/isexpired.c: Added parenthesis.
|
|
|
|
|
* libmisc/env.c: Added comments.
|
|
|
|
|
* libmisc/env.c: Avoid implicit conversion of pointer to boolean.
|
|
|
|
|
|
2011-06-16 21:21:29 +00:00
|
|
|
2011-06-16 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: environ is provided by <unistd.h>.
|
|
|
|
|
* src/su.c: Added function prototypes.
|
|
|
|
|
* src/su.c: Rename shellstr parameter to shellname to avoid
|
|
|
|
|
collision with static variable.
|
|
|
|
|
* NEWS, src/su.c: Added support for PAM modules which change
|
|
|
|
|
PAM_USER.
|
|
|
|
|
|
2011-06-13 18:27:34 +00:00
|
|
|
2011-06-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c (prepare_pam_close_session): Extract the creation of a
|
|
|
|
|
child and listening for signal in the parent from run_shell().
|
|
|
|
|
prepare_pam_close_session() is now executed before the creation of
|
|
|
|
|
the pam session and before the UID is changed. This allows to
|
|
|
|
|
close the session as root.
|
2011-06-13 18:27:40 +00:00
|
|
|
* src/su.c: Also drop the controlling terminal when PAM is not
|
|
|
|
|
used.
|
|
|
|
|
* src/su.c: Remove run_shell().
|
2011-06-13 18:27:46 +00:00
|
|
|
* src/su.c: After prepare_pam_close_session() there is no need to
|
|
|
|
|
close the session in the child. Added pam_setcred to
|
|
|
|
|
prepare_pam_close_session().
|
2011-06-13 18:27:34 +00:00
|
|
|
|
2011-06-13 18:26:47 +00:00
|
|
|
2011-06-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c (save_caller_context): Extract from main() the code
|
|
|
|
|
used to save the caller's context.
|
2011-06-13 18:26:58 +00:00
|
|
|
* src/su.c: Split check_perms() in to a PAM (check_perms_pam) and
|
|
|
|
|
a non-PAM (check_perms_nopam) version.
|
2011-06-13 18:27:06 +00:00
|
|
|
* src/su.c: Cleanup check_perms_nopam().
|
2011-06-13 18:27:12 +00:00
|
|
|
* src/su.c: Merge environment setting blocks after the creation of
|
|
|
|
|
the session.
|
2011-06-13 18:27:17 +00:00
|
|
|
* src/su.c: Close the password databases together with syslog.
|
2011-06-13 18:27:23 +00:00
|
|
|
* src/su.c: Extract command line processing from main().
|
2011-06-13 18:27:28 +00:00
|
|
|
* src/su.c: Extract export of environment from main().
|
2011-06-13 18:26:47 +00:00
|
|
|
|
2011-06-13 18:25:45 +00:00
|
|
|
2011-06-10 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: Group some of the environment processing blocks. The
|
|
|
|
|
definition of shellstr, PATH and IFS is not influenced (getenv,
|
|
|
|
|
getdef, restricted_shell) by and does not influence (addenv does
|
|
|
|
|
not change environ) the authentication. And the authentication
|
2011-06-13 18:25:57 +00:00
|
|
|
did not overwrite those definitions. This will ease an extraction
|
2011-06-13 18:25:45 +00:00
|
|
|
from the big main() function.
|
2011-06-13 18:25:57 +00:00
|
|
|
* src/su.c: Move definition of change_environment and shellstr
|
|
|
|
|
after the switch to the final subsystem. The previous architecture
|
|
|
|
|
forced to always change the environment (the shell starts with a
|
|
|
|
|
'*' and was thus restricted, and change_environment could not be
|
|
|
|
|
reset to false).
|
2011-06-13 18:25:51 +00:00
|
|
|
* src/su.c: No need to change the user's shell in case of
|
|
|
|
|
subsystem root. Update the comments.
|
2011-06-13 18:26:10 +00:00
|
|
|
* src/su.c: Define shellstr before the environment so that
|
|
|
|
|
restricted_shell is called only once. This will allow moving the
|
|
|
|
|
environment definition after the switch to the new user.
|
2011-06-13 18:26:16 +00:00
|
|
|
* src/su.c: Extract the authentication from the main function.
|
2011-06-13 18:26:26 +00:00
|
|
|
* lib/prototypes.h, src/suauth.c, src/su.c (check_su_auth): Do not
|
|
|
|
|
use the pwent global variable to communicate between APIs of
|
|
|
|
|
different files. Added boolean parameter su_to_root to
|
|
|
|
|
check_su_auth().
|
|
|
|
|
* src/su.c (check_perms): Return the passwd entry of the finally
|
|
|
|
|
authenticated user. Remove usage of the pwent variable.
|
|
|
|
|
* src/su.c: The password of the caller is the one from the
|
|
|
|
|
spwd structure only if the passwd's password is 'x'.
|
2011-06-13 18:26:36 +00:00
|
|
|
* src/su.c: Cleanup local variables.
|
2011-06-13 18:25:45 +00:00
|
|
|
|
2011-06-13 18:25:40 +00:00
|
|
|
2011-06-10 Nicolas François <nicolas.francois@centraliens.net>
|
2011-06-13 18:25:34 +00:00
|
|
|
|
|
|
|
|
* src/su.c: Updating pwent after expire() is not useful. Only the
|
|
|
|
|
password information may have changed and they are not used
|
|
|
|
|
anymore afterwards.
|
2011-06-13 18:25:40 +00:00
|
|
|
* src/su.c: No need to call expire() if there are no shadow entry.
|
|
|
|
|
No need to convert a passwd entry into an spwd entry in that case.
|
|
|
|
|
|
|
|
|
|
2011-06-12 Thomas Blein <tblein@tblein.eu>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: French manpages translation
|
2011-06-13 18:25:34 +00:00
|
|
|
|
2011-06-05 14:41:15 +00:00
|
|
|
2011-06-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/su.c: Do not forward the controlling terminal to
|
|
|
|
|
commands executed with -c. This prevents tty hijacking which could
|
|
|
|
|
lead to execution with the caller's privileges. This required to
|
|
|
|
|
forward signals from the terminal (SIGINT, SIGQUIT, SIGTSTP) to
|
|
|
|
|
the executed command.
|
|
|
|
|
|
2011-06-05 12:23:59 +00:00
|
|
|
2011-06-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/userdel.c: Do not remove a group with the same name as
|
|
|
|
|
the user (usergroup) if this group isn't the user's primary group.
|
|
|
|
|
|
2011-06-04 22:38:57 +00:00
|
|
|
2011-06-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/userdel.c: Check the existence of the user's mail
|
|
|
|
|
spool before trying to remove it. If it does not exist, a warning
|
|
|
|
|
is issued, but no failure.
|
|
|
|
|
|
2011-06-03 21:08:56 +00:00
|
|
|
2011-06-03 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/sulogin.c: Added Prog, needed because of the last xmalloc()
|
|
|
|
|
change.
|
|
|
|
|
|
2011-06-03 21:07:58 +00:00
|
|
|
2011-06-03 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/zh_CN/, man/zh_CN/Makefile.am: Added directory, and zh_CN
|
|
|
|
|
Makefile.
|
|
|
|
|
* man/Makefile.am: Build zh_CN pages.
|
|
|
|
|
* man/generate_translations.mak: Add config.xml to CLEANFILES.
|
|
|
|
|
* man/po/zh_CN.po: limits, groups, faillog, expiry should not be
|
|
|
|
|
translated (command name, file name), also this broke the build
|
|
|
|
|
system as they are used to derive manpage names.
|
|
|
|
|
|
2011-06-02 20:26:30 +00:00
|
|
|
2011-06-02 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
|
|
|
|
|
|
* src/lastlog.c, src/faillog.c: Fix underflows causing wrong entry
|
|
|
|
|
to be displayed.
|
|
|
|
|
|
2011-06-02 18:41:05 +00:00
|
|
|
2011-06-02 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/xmalloc.c: Harmonize message.
|
|
|
|
|
|
2011-06-02 18:40:06 +00:00
|
|
|
2011-06-02 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libmisc/find_new_uid.c, libmisc/find_new_gid.c: Add missing
|
|
|
|
|
memory allocation check.
|
|
|
|
|
|
|
|
|
|
2011-06-02 Cal Peake <cp@absolutedigital.net>
|
2011-06-02 15:36:29 +00:00
|
|
|
|
|
|
|
|
* NEWS, libmisc/addgrps.c: Fix allocator loop. Continue to
|
|
|
|
|
getgroups() when getgroups fails (-1) with errno==EINVAL.
|
|
|
|
|
|
2011-06-01 11:58:04 +00:00
|
|
|
2011-06-01 Simon Brandmair <sbrandmair@gmx.net>
|
|
|
|
|
|
|
|
|
|
* man/newusers.8.xml, man/suauth.5.xml, man/suauth.5.xml,
|
|
|
|
|
man/logoutd.8.xml, man/chgpasswd.8.xml, man/groups.1.xml,
|
|
|
|
|
man/faillog.5.xml, man/login.defs.d/MD5_CRYPT_ENAB.xml,
|
|
|
|
|
man/login.defs.d/DEFAULT_HOME.xml,
|
|
|
|
|
man/login.defs.d/LOGIN_RETRIES.xml,
|
|
|
|
|
man/login.defs.d/MD5_CRYPT_ENAB.xml,
|
|
|
|
|
man/login.defs.d/PORTTIME_CHECKS_ENAB.xml,
|
|
|
|
|
man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml:
|
|
|
|
|
Fix typos
|
2011-06-01 12:19:25 +00:00
|
|
|
* man/po/de.po: German translation of manpages completed
|
2011-06-01 11:58:04 +00:00
|
|
|
|
|
|
|
|
2011-05-23 Innocent De Marchi <tangram.peces@gmail.com>
|
|
|
|
|
|
|
|
|
|
* po/ca.po: Catalan translation completed
|
|
|
|
|
|
2011-04-25 10:06:23 +00:00
|
|
|
2011-04-22 Miguel Figueiredo <elmig@debianpt.org>
|
|
|
|
|
|
2011-06-01 11:58:04 +00:00
|
|
|
* po/pt.po: Portuguese translation completed
|
2011-04-25 10:06:23 +00:00
|
|
|
|
|
|
|
|
2011-04-22 Thomas Blein <tblein@tblein.eu>
|
|
|
|
|
|
|
|
|
|
* po/fr.po: French translation completed
|
|
|
|
|
|
2011-04-16 07:31:49 +00:00
|
|
|
2011-04-16 Holger Wansing <linux@wansing-online.de>
|
|
|
|
|
|
|
|
|
|
* po/de.po: German translation completed
|
|
|
|
|
|
2011-04-15 06:21:10 +00:00
|
|
|
2011-04-15 Fred Maranhão <fred.maranhao@gmail.com>
|
|
|
|
|
|
|
|
|
|
* po/pt_BR.po: Brazilian Portuguese translation completed
|
|
|
|
|
|
2011-04-10 15:50:13 +00:00
|
|
|
2011-04-10 Yuri Kozlov <yuray@komyakino.ru>
|
|
|
|
|
|
|
|
|
|
* po/ru.po: Russian translation completed
|
|
|
|
|
|
2011-04-07 17:45:33 +00:00
|
|
|
2011-04-07 Daniel Nylander <po@danielnylander.se>
|
|
|
|
|
|
|
|
|
|
* po/sv.po: Swedish translation completed
|
|
|
|
|
|
|
|
|
|
2011-04-07 Joe Dalton <joedalton2@yahoo.dk>
|
|
|
|
|
|
|
|
|
|
* po/da.po: Danish translation completed
|
|
|
|
|
|
2011-04-05 18:06:32 +00:00
|
|
|
2011-04-05 Timur Birsh <taem@linukz.org>
|
|
|
|
|
|
|
|
|
|
* po/kk.po: Kazakh translation completed
|
|
|
|
|
|
|
|
|
|
2011-04-05 NAKANO Takeo <nakano@st.seikei.ac.jp>
|
|
|
|
|
|
|
|
|
|
* po/ja.po: Japanese translation completed
|
|
|
|
|
|
2011-03-30 17:50:19 +00:00
|
|
|
2011-03-30 YunQiang Su <wzssyqa@gmail.com>
|
|
|
|
|
|
|
|
|
|
* man/po/zh_CN.po: convert Simplified Chinese translation
|
|
|
|
|
of manpages to gettext
|
2011-03-30 17:51:50 +00:00
|
|
|
* po/zh_CN.po: Simplified Chinese translation completed
|
2011-03-30 17:50:19 +00:00
|
|
|
|
2011-02-19 16:17:26 +00:00
|
|
|
2010-02-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/ru/Makefile.am: Remove double inclusion of $(man_nopam)
|
|
|
|
|
|
2011-02-16 20:46:27 +00:00
|
|
|
2010-02-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/user_busy.c, src/userdel.c, src/usermod.c: Warn in
|
|
|
|
|
user_busy() rather than in src/userdel.c or src/usermod.c to
|
|
|
|
|
provide more accurate failure cause (user is logged in or user
|
|
|
|
|
still executes processes).
|
|
|
|
|
|
2011-02-16 20:32:16 +00:00
|
|
|
2010-02-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/groupio.c, lib/sgroupio.c, lib/shadowio.c, lib/pwio.c: Check
|
|
|
|
|
entry validity before commits to databases.
|
|
|
|
|
* libmisc/fields.c, libmisc/Makefile.am, lib/fields.c,
|
|
|
|
|
lib/Makefile.am, po/POTFILES.in: fields.c moved from libmisc to
|
|
|
|
|
lib.
|
2011-02-16 20:33:16 +00:00
|
|
|
* lib/fields.c: Fail if input pointer is NULL.
|
2011-02-16 20:32:16 +00:00
|
|
|
|
2011-02-16 00:18:45 +00:00
|
|
|
2010-02-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/chfn.c, src/chsh.c: Fix CVE-2011-0721: forbid \n in
|
|
|
|
|
gecos or shell.
|
|
|
|
|
|
2011-02-12 14:57:37 +00:00
|
|
|
2011-02-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* autogen.sh: Restore original autoreconf (see 2010-08-29's change
|
|
|
|
|
for autogen.sh)
|
|
|
|
|
* configure.in, man/po/Makefile.in.in, man/po/Makefile.in:
|
|
|
|
|
Makefile.in.in replaced by Makefile.in to avoid config.status
|
|
|
|
|
issues when there are multiple po directories.
|
|
|
|
|
* man/po/LINGUAS: Adapted to above change.
|
|
|
|
|
* man/po/POTFILES.in, man/po/XMLFILES: POTFILES.in replaced by
|
|
|
|
|
XMLFILES.
|
|
|
|
|
* man/Makefile.am: generate_mans.deps shall be included by make,
|
|
|
|
|
not automake.
|
|
|
|
|
|
2010-11-19 21:54:41 +00:00
|
|
|
2010-11-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, libmisc/console.c: Fix CONSOLE parser. This caused login
|
|
|
|
|
to hang when CONSOLE was configured with a colon separated list of
|
|
|
|
|
TTYs. See http://bugs.gentoo.org/show_bug.cgi?id=324419
|
|
|
|
|
|
2010-09-05 15:34:42 +00:00
|
|
|
2010-09-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
Integrate review comments from Julien Cristau
|
|
|
|
|
* libmisc/copydir.c: Missing parenthesis in comment.
|
|
|
|
|
* libmisc/chowndir.c: Fixed memory leak on failed realloc().
|
|
|
|
|
* libmisc/chowndir.c: Make sure the buffer for the path is large
|
|
|
|
|
enough.
|
|
|
|
|
* libmisc/remove_tree.c: Remove check for NULL before free().
|
|
|
|
|
|
2010-08-29 19:11:40 +00:00
|
|
|
2010-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: Fix 2 fuzzy strings.
|
|
|
|
|
|
2010-08-29 19:02:41 +00:00
|
|
|
2010-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/usermod.c: Accept options in any order (username not
|
|
|
|
|
necessarily at the end)
|
|
|
|
|
|
2010-08-29 16:42:25 +00:00
|
|
|
2010-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* autogen.sh: Expand autoreconf to avoid running autopoint.
|
|
|
|
|
|
2010-08-29 16:13:47 +00:00
|
|
|
2010-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
|
|
|
|
|
* po/*.po, man/po/*.po: Updated PO files.
|
|
|
|
|
|
2010-08-28 20:16:18 +00:00
|
|
|
2010-08-28 Brian M. Carlson <sandals@crustytoothpaste.ath.cx>
|
|
|
|
|
|
|
|
|
|
* man/chsh.1.xml: Fix comma splice.
|
|
|
|
|
|
2010-08-28 19:58:00 +00:00
|
|
|
2010-08-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
|
|
|
|
|
selinux_file_context renamed set_selinux_file_context.
|
|
|
|
|
* lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
|
|
|
|
|
Added reset_selinux_file_context.
|
|
|
|
|
* src/useradd.c: Check the return value of
|
|
|
|
|
set_selinux_file_context and reset_selinux_file_context.
|
|
|
|
|
* libmisc/copydir.c: Check the return value of
|
|
|
|
|
reset_selinux_file_context.
|
|
|
|
|
|
2010-08-28 19:55:31 +00:00
|
|
|
2010-08-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: Fix handling of environment variables when
|
|
|
|
|
the environment is not changed. In particular, this makes su
|
|
|
|
|
behave as documented regarding PATH and IFS (i.e. they are reset)
|
|
|
|
|
when -p is provided.
|
|
|
|
|
|
2010-08-28 19:48:17 +00:00
|
|
|
2010-08-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/su.1.xml: Fix typo.
|
|
|
|
|
|
2010-08-22 19:36:09 +00:00
|
|
|
2010-08-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
|
|
|
|
|
src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
|
|
|
|
|
src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
|
|
|
|
|
src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
|
|
|
|
|
src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/chage.c,
|
|
|
|
|
src/groupadd.c, src/login.c, src/grpconv.c, src/groups.c,
|
|
|
|
|
src/grpunconv.c, src/chsh.c: Prog changed to a constant string.
|
|
|
|
|
|
2010-08-22 19:13:53 +00:00
|
|
|
2010-08-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/limits.c: Avoid implicit conversion of integer to
|
|
|
|
|
boolean.
|
|
|
|
|
* libmisc/basename.c: Avoid implicit conversion of pointer to
|
|
|
|
|
boolean.
|
|
|
|
|
* libmisc/basename.c, lib/prototypes.h (Basename): Return a
|
|
|
|
|
constant string.
|
|
|
|
|
* libmisc/basename.c, libmisc/obscure.c, lib/prototypes.h,
|
|
|
|
|
libmisc/xmalloc.c, libmisc/getdate.h, libmisc/system.c,
|
|
|
|
|
libmisc/getgr_nam_gid.c, libmisc/failure.c, libmisc/valid.c: Add
|
|
|
|
|
splint annotations.
|
|
|
|
|
* libmisc/chowndir.c: Avoid memory leak.
|
|
|
|
|
* libmisc/chowndir.c: Do not check *printf/*puts return value.
|
|
|
|
|
* libmisc/chowntty.c: Avoid implicit conversion between integer
|
|
|
|
|
types.
|
|
|
|
|
* libmisc/obscure.c: Return a bool when possible instead of int.
|
|
|
|
|
* libmisc/shell.c: Do not check *printf/*puts return value.
|
|
|
|
|
* libmisc/shell.c: Do not check execle return value.
|
|
|
|
|
* libmisc/setupenv.c: Avoid implicit conversion between integer
|
|
|
|
|
types.
|
|
|
|
|
* libmisc/xmalloc.c: size should not be zero to avoid returning
|
|
|
|
|
NULL pointers.
|
|
|
|
|
* libmisc/hushed.c: Do not check *printf/*puts return value.
|
|
|
|
|
* libmisc/system.c: Avoid implicit conversion of integer to
|
|
|
|
|
boolean. safe_system last argument is a boolean.
|
|
|
|
|
* libmisc/system.c: Check return value of dup2.
|
|
|
|
|
* libmisc/system.c: Do not check *printf/*puts return value.
|
|
|
|
|
* libmisc/system.c: Do not check execve return value.
|
|
|
|
|
* libmisc/salt.c: Do not check *printf/*puts return value.
|
|
|
|
|
* libmisc/loginprompt.c: Do not check gethostname return value.
|
|
|
|
|
* libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not check
|
|
|
|
|
gr_rewind/pw_rewind return value.
|
|
|
|
|
* libmisc/ttytype.c: Limit the number of parsed characters in the
|
|
|
|
|
sscanf format.
|
|
|
|
|
* libmisc/ttytype.c: Test if a type was really read.
|
|
|
|
|
* libmisc/sub.c: Do not check *printf/*puts return value.
|
|
|
|
|
* libmisc/sub.c: Avoid implicit conversion of integer to boolean.
|
|
|
|
|
* src/userdel.c: Fix typo in comment.
|
|
|
|
|
* src/userdel.c: Avoid implicit conversion of boolean to integer.
|
|
|
|
|
* src/userdel.c: safe_system last argument is a boolean.
|
|
|
|
|
* src/newusers.c: Avoid implicit conversion of boolean to integer.
|
|
|
|
|
* src/newusers.c: Avoid implicit conversion of integer to boolean.
|
|
|
|
|
* src/usermod.c: Add brackets.
|
|
|
|
|
* src/usermod.c: Avoid implicit conversion of characters or
|
|
|
|
|
integers to booleans.
|
|
|
|
|
* src/vipw.c: Avoid implicit conversion of integer to boolean.
|
|
|
|
|
* src/su.c: Avoid implicit conversion of integer to boolean.
|
|
|
|
|
* src/su.c: Add brackets.
|
|
|
|
|
* src/useradd.c: Avoid implicit conversion of characters or
|
|
|
|
|
integers to booleans.
|
|
|
|
|
|
2010-08-22 12:49:07 +00:00
|
|
|
2010-08-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/obscure.c, lib/prototypes.h (obscure): Return a bool
|
|
|
|
|
instead of an int.
|
|
|
|
|
* libmisc/obscure.c, libmisc/tz.c, src/passwd.c, lib/encrypt.c,
|
|
|
|
|
libmisc/copydir.c, lib/prototypes.h: Add splint annotations.
|
|
|
|
|
* libmisc/tz.c: Fix some const issues.
|
|
|
|
|
* libmisc/tz.c: Avoid multi-statements lines.
|
|
|
|
|
* libmisc/tz.c: Add brackets.
|
|
|
|
|
* libmisc/copydir.c: Do not check *printf/*puts return value.
|
|
|
|
|
* libmisc/copydir.c: Fail if we cannot set or reset the SELinux
|
|
|
|
|
fscreate context.
|
|
|
|
|
* libmisc/copydir.c: Use xmalloc instead of malloc.
|
|
|
|
|
* libmisc/copydir.c: Do not check lutimes return value
|
|
|
|
|
* src/vipw.c: Avoid implicit conversion of integer to boolean.
|
|
|
|
|
* src/su.c (iswheel): Return a bool instead of an int.
|
|
|
|
|
* src/passwd.c: Remove insert_crypt_passwd(). Use xstrdup instead.
|
|
|
|
|
* src/passwd.c: Return constant strings when sufficient.
|
|
|
|
|
* src/passwd.c: Do not check *printf/*puts return value.
|
|
|
|
|
* src/passwd.c: Avoid implicit conversion of character to boolean.
|
|
|
|
|
* src/passwd.c: Do not check sleep return value.
|
|
|
|
|
* src/sulogin.c: Do not check *printf/*puts return value.
|
|
|
|
|
* lib/encrypt.c: Do not check fprintf return value.
|
|
|
|
|
|
2010-08-21 19:55:46 +00:00
|
|
|
2010-08-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/passwd.c: Fix a const issue.
|
|
|
|
|
* src/passwd.c: Avoid multi-statements lines.
|
2010-08-21 20:37:23 +00:00
|
|
|
* src/sulogin.c: Fix a const issue.
|
2010-08-21 19:55:46 +00:00
|
|
|
|
2010-08-21 17:31:45 +00:00
|
|
|
2010-08-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/copydir.c, lib/prototypes.h: Caller can choose not to
|
|
|
|
|
copy the extended attributes (the SELinux context is hence reset)
|
|
|
|
|
* src/usermod.c: Copy the extended attributes.
|
|
|
|
|
* src/useradd.c: Only reset the SELinux context.
|
|
|
|
|
|
2010-08-21 16:51:53 +00:00
|
|
|
2010-08-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* configure.in: Fixed typo.
|
|
|
|
|
|
|
|
|
|
2010-08-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/console.c, libmisc/motd.c, libmisc/setupenv.c,
|
|
|
|
|
libmisc/sulog.c, libmisc/hushed.c, libmisc/failure.c,
|
2010-08-21 19:22:32 +00:00
|
|
|
libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/obscure.c,
|
2010-08-21 16:51:53 +00:00
|
|
|
libmisc/pam_pass_non_interractive.c, src/userdel.c, src/login.c,
|
2010-08-21 19:22:32 +00:00
|
|
|
lib/commonio.c, lib/commonio.h, libmisc/setugid.c,
|
|
|
|
|
libmisc/setupenv.c: Fix some const issues.
|
2010-08-21 16:51:53 +00:00
|
|
|
* libmisc/motd.c: Avoid multi-statements lines.
|
|
|
|
|
* libmisc/motd.c: Support long MOTD_FILE.
|
|
|
|
|
* libmisc/list.c, lib/prototypes.h: Revert previous change.
|
|
|
|
|
dup_list and is_on_list are used with members as defined for the
|
|
|
|
|
group structure, and thus even if the list is not modified, the
|
|
|
|
|
list elements cannot be constant strings.
|
|
|
|
|
* libmisc/system.c: Avoid C++ comments.
|
|
|
|
|
* src/vipw.c: WITH_TCB cannot be tested inside a gettextized
|
|
|
|
|
string. Split the Usage string.
|
|
|
|
|
* lib/commonio.h: Re-indent.
|
|
|
|
|
|
2010-08-21 15:22:39 +00:00
|
|
|
2010-08-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/audit_help.c (audit_logger):pgname is not used. We let
|
|
|
|
|
audit find out the name of the program.
|
|
|
|
|
* libmisc/audit_help.c: Re-indent.
|
|
|
|
|
|
2010-08-20 20:35:52 +00:00
|
|
|
2010-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/groupio.c: Avoid implicit conversion from signed to unsigned.
|
|
|
|
|
|
2010-08-20 20:34:44 +00:00
|
|
|
2010-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Make sure there are no NULL pointer dereference.
|
|
|
|
|
|
2010-08-20 20:27:34 +00:00
|
|
|
2010-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/remove_tree.c: Ignore snprintf return value.
|
|
|
|
|
|
2010-08-20 20:26:32 +00:00
|
|
|
2010-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes.h, libmisc/list.c: dup_list() and is_on_list() do
|
|
|
|
|
not change the members of the list they receive. Added const
|
|
|
|
|
qualifiers.
|
|
|
|
|
|
2010-08-20 18:24:33 +00:00
|
|
|
2010-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c: Re-indent.
|
|
|
|
|
|
2010-08-20 18:09:14 +00:00
|
|
|
2010-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Avoid multi-statements lines.
|
|
|
|
|
|
2010-08-20 17:57:33 +00:00
|
|
|
2010-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: Fix a typo.
|
|
|
|
|
|
2010-08-28 20:02:25 +00:00
|
|
|
2010-06-24 Baurzhan Muftakhidinov <baurthefirst@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS, po/kk.po: Updated Kazakh translation.
|
|
|
|
|
|
2010-04-12 21:49:09 +00:00
|
|
|
2010-04-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: Fix some typos. Minor updates: 886t70f187u.
|
|
|
|
|
|
2010-04-12 21:05:33 +00:00
|
|
|
2010-04-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
|
|
|
|
|
* po/*.po, man/po/*.po: Updated PO files.
|
|
|
|
|
|
2010-04-04 23:17:11 +00:00
|
|
|
2010-04-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/newusers.8.xml, man/useradd.8.xml, man/groupadd.8.xml,
|
|
|
|
|
man/login.defs.d/UMASK.xml, man/login.defs.d/CREATE_HOME.xml,
|
|
|
|
|
man/login.defs.d/LOGIN_RETRIES.xml: Fix typos: choosen, overriden,
|
|
|
|
|
bahavior.
|
|
|
|
|
|
2010-04-04 21:23:02 +00:00
|
|
|
2010-04-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/usermod.8.xml: Document changes of ownerships.
|
|
|
|
|
|
2010-04-04 20:57:54 +00:00
|
|
|
2010-04-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/vipw.8.xml: Fix formatting typo.
|
|
|
|
|
* man/vipw.8.xml: Document the login.defs parameters only when tcb
|
|
|
|
|
is enabled.
|
|
|
|
|
|
2010-04-04 20:55:46 +00:00
|
|
|
2010-04-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: spool is a constant string.
|
|
|
|
|
* src/useradd.c: Set the new copy_tree's paramater 'copy_root' to false
|
|
|
|
|
|
|
|
|
|
2010-04-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c: move_home() is only called if mflg is set.
|
|
|
|
|
* src/usermod.c: Fail is -m is provided but the old home directory
|
|
|
|
|
is not a directory.
|
|
|
|
|
* src/usermod.c: Use the previous improvement of copy_tree to
|
|
|
|
|
provide better error diagnosis.
|
|
|
|
|
* src/usermod.c: When rename() is used, also change the ownership.
|
|
|
|
|
* src/usermod.c: Do not change the ownership of the root directory
|
|
|
|
|
twice.
|
|
|
|
|
* src/usermod.c: When -u is provided, only change the ownership of
|
|
|
|
|
the home directory if it is a directory.
|
|
|
|
|
* src/usermod.c: Also change ownerships when -g is used.
|
|
|
|
|
|
|
|
|
|
2010-04-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes.h, libmisc/copydir.c: Add the old UID and GID to
|
|
|
|
|
copy_tree to detect when ownership shall be changed.
|
|
|
|
|
* libmisc/copydir.c: Document the behavior when the IDs are set to
|
|
|
|
|
-1.
|
|
|
|
|
* lib/prototypes.h, libmisc/copydir.c (copy_tree): Add parameter
|
|
|
|
|
copy_root.
|
|
|
|
|
* libmisc/copydir.c: error() and ctx can be static.
|
|
|
|
|
* libmisc/copydir.c (copy_hardlink): Remove parameter src.
|
|
|
|
|
|
|
|
|
|
2010-04-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/chowndir.c: Dynamically allocate memory to support
|
|
|
|
|
path longer than 1024 characters.
|
|
|
|
|
* libmisc/chowndir.c: Fix typos in documentation.
|
|
|
|
|
* libmisc/chowndir.c: Support and document the behavior when a old
|
|
|
|
|
or new ID is set to -1.
|
|
|
|
|
* libmisc/chowndir.c: Improved error detection when chown fails.
|
|
|
|
|
* libmisc/chowndir.c: Harmonize error handling strategy when an
|
|
|
|
|
error occurs: stop changing ownership as soon as an error was
|
|
|
|
|
detected.
|
|
|
|
|
|
2010-04-04 20:48:29 +00:00
|
|
|
2010-04-03 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/hu/passwd.5: Fix formatting typo.
|
|
|
|
|
* man/id/login.1: Likewise.
|
|
|
|
|
|
2010-03-31 19:52:30 +00:00
|
|
|
2010-03-31 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/vipw.8.xml: When TCB is enabled, vipw uses login.defs.
|
|
|
|
|
|
2010-03-30 23:14:04 +00:00
|
|
|
2010-03-31 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, libmisc/copydir.c: When a hardlink is detected, the
|
|
|
|
|
original hardlink should not be removed.
|
|
|
|
|
|
2010-03-30 21:54:29 +00:00
|
|
|
2010-03-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* po/POTFILES.in, libmisc/Makefile.am, lib/prototypes.h,
|
|
|
|
|
libmisc/remove_tree.c, libmisc/copydir.c: Split remove_tree()
|
|
|
|
|
outside of copydir.c to avoid linking against libacl or libattr.
|
|
|
|
|
|
2010-03-30 21:32:36 +00:00
|
|
|
2010-03-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: shell's name must be -su when a su fakes a login.
|
|
|
|
|
|
2010-03-30 21:01:27 +00:00
|
|
|
2010-03-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, configure.in, libmisc/copydir.c, man/useradd.8.xml,
|
|
|
|
|
man/usermod.8.xml, src/Makefile.am: Added support for ACLs and
|
|
|
|
|
Extended Attributes.
|
|
|
|
|
|
2010-03-30 21:00:43 +00:00
|
|
|
2010-03-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/copydir.c: Document the sections closed by #endif
|
|
|
|
|
|
2010-03-27 20:09:49 +00:00
|
|
|
2010-03-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/vipw.8.xml: Add section ENVIRONMENT.
|
|
|
|
|
|
2010-03-26 11:53:06 +00:00
|
|
|
2010-03-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* etc/login.defs: Updated description of UMASK to indicate its
|
|
|
|
|
usage by pam_umask.
|
2010-03-27 20:11:21 +00:00
|
|
|
* man/login.defs.d/UMASK.xml: Likewise.
|
2010-03-26 11:53:06 +00:00
|
|
|
|
2010-03-25 20:38:31 +00:00
|
|
|
2010-03-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.1.xml: login does not check for new mails in PAM
|
|
|
|
|
enabled versions. This is done by pam_mail.
|
|
|
|
|
|
2010-03-25 20:35:59 +00:00
|
|
|
2010-03-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/chpasswd.c, man/chpasswd.8.xml, man/login.defs.5.xml:
|
|
|
|
|
PAM enabled versions: restore the -e option to allow restoring
|
|
|
|
|
passwords without knowing those passwords. Restore together the -m
|
|
|
|
|
and -c options.
|
|
|
|
|
|
2010-03-23 13:05:06 +00:00
|
|
|
2010-03-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c, src/vipw.c, src/newgrp.c: When the child is
|
|
|
|
|
interrupted, stop ourself with a SIGSTOP signal.
|
|
|
|
|
|
2010-03-23 11:26:34 +00:00
|
|
|
2010-03-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newgrp.c: Limit the scope of variable pid.
|
|
|
|
|
* src/login_nopam.c: Limit the scope of variables end, lineno, i,
|
|
|
|
|
str_len.
|
|
|
|
|
* src/logoutd.c: Limit the scope of variable c.
|
|
|
|
|
* src/vipw.c: Re-indent.
|
|
|
|
|
* src/vipw.c: Close the file after the creation of the backup.
|
|
|
|
|
* src/useradd.c (set_default): Close input file on failure.
|
|
|
|
|
* src/useradd.c: Limit the scope of variables spool, file, fd, gr,
|
|
|
|
|
gid, mode.
|
|
|
|
|
* src/passwd.c: Limit the scope of variables last and ok.
|
|
|
|
|
* src/chage.c: Fix typo (non breaking space).
|
|
|
|
|
* src/login.c: Limit the scope of variables erasechar killchar, c,
|
|
|
|
|
failed.
|
|
|
|
|
* src/groups.c: Limit the scope of variable ngroups, pri_grp, i.
|
|
|
|
|
* src/id.c: Limit the scope of variable i.
|
|
|
|
|
|
2010-03-23 08:56:52 +00:00
|
|
|
2010-03-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/utent.c (getutline): Remove getutline(). This function is
|
|
|
|
|
no more used.
|
|
|
|
|
* lib/groupmem.c: Limit the scope of variable i.
|
|
|
|
|
* lib/shadow.c: Avoid implicit conversion of pointers and integers
|
|
|
|
|
to booleans.
|
|
|
|
|
* lib/shadow.c: Added brackets.
|
|
|
|
|
* libmisc/limits.c: Limit the scope of variable tmpmask.
|
|
|
|
|
* libmisc/copydir.c: Close opened file on failure.
|
|
|
|
|
* libmisc/loginprompt.c: Limit the scope of variable envc.
|
|
|
|
|
* libmisc/find_new_uid.c, libmisc/find_new_gid.c: Limit the scope
|
|
|
|
|
of variable id.
|
|
|
|
|
|
2010-03-21 01:20:50 +00:00
|
|
|
2010-03-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/find_new_gid.c, libmisc/find_new_uid.c: Detect some
|
|
|
|
|
misconfigurations of UID_MIN, UID_MAX, SYS_UID_MIN, SYS_UID_MAX (and
|
|
|
|
|
the GID equivalents)
|
|
|
|
|
|
2010-03-20 10:31:36 +00:00
|
|
|
2010-03-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, configure.in: Next version will be 4.1.5.
|
2010-03-23 08:56:52 +00:00
|
|
|
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
|
|
|
|
|
* po/*.po, man/po/*.po: Updated PO files.
|
2010-03-20 10:31:36 +00:00
|
|
|
|
2010-03-20 10:29:27 +00:00
|
|
|
2010-03-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/limits.c: Re-indent to make pmccabe happy.
|
|
|
|
|
|
2010-03-20 10:25:34 +00:00
|
|
|
2010-03-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/generate_translations.mak, man/generate_mans.mak: Fix
|
|
|
|
|
distcheck. All manpages generation code shall be enclosed in
|
|
|
|
|
ENABLE_REGENERATE_MAN conditions.
|
|
|
|
|
|
2010-03-20 10:23:57 +00:00
|
|
|
2010-03-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/useradd.8.xml: Do not document the features which are not
|
|
|
|
|
working.
|
|
|
|
|
* man/useradd.8.xml: Fix typo: -u was meant instead of -o.
|
|
|
|
|
* man/useradd.8.xml: Document that the default behavior depends on
|
|
|
|
|
CREATE_HOME.
|
|
|
|
|
|
2010-03-20 10:21:40 +00:00
|
|
|
2010-03-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/groupio.c: Fix memory management insplit_groups().
|
|
|
|
|
|
2010-03-20 10:19:50 +00:00
|
|
|
2010-03-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/strtoday.c: Empty dates indicate a disabled date, this is
|
|
|
|
|
not an error.
|
|
|
|
|
|
2010-03-19 11:01:32 +00:00
|
|
|
2010-03-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c, lib/commonio.c, po/POTFILES.in: Fix typos.
|
2010-03-19 11:25:56 +00:00
|
|
|
* libmisc/limits.c: Removed unused variable.
|
2010-03-19 11:01:32 +00:00
|
|
|
|
2010-03-18 23:21:21 +00:00
|
|
|
2010-03-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Stop sorting entries when we reach the first
|
|
|
|
|
NIS line.
|
|
|
|
|
|
2010-03-18 23:21:00 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chsh.c: Even for root, warn if an invalid shell is
|
2010-03-18 23:21:10 +00:00
|
|
|
specified. Alioth#311305
|
2010-03-18 23:21:00 +00:00
|
|
|
|
2010-03-18 23:20:30 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/limits.5.xml: Document the selection of the limits when
|
|
|
|
|
multiple lines match the user.
|
|
|
|
|
|
2010-03-18 23:20:24 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/limits.c: Re-indent.
|
|
|
|
|
* libmisc/limits.c: Reformat the documentation. Avoid personal
|
|
|
|
|
comments.
|
|
|
|
|
* man/limits.5.xml: Document the new features.
|
|
|
|
|
|
2010-03-18 23:20:15 +00:00
|
|
|
2010-03-18 Thomas Orgis <thomas@orgis.org>
|
|
|
|
|
|
|
|
|
|
* NEWS, libmisc/limits.c: Fix parsing of limits.
|
2010-03-18 23:20:24 +00:00
|
|
|
* NEWS, libmisc/limits.c: Add support for infinite limits.
|
|
|
|
|
* NEWS, libmisc/limits.c: Add support for @group syntax.
|
2010-03-18 23:20:15 +00:00
|
|
|
|
2010-03-18 19:23:00 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/tcbfuncs.h: Re-indent.
|
2010-03-30 21:00:43 +00:00
|
|
|
* lib/tcbfuncs.h: Explicitly indicate function taking a void
|
2010-03-18 19:23:00 +00:00
|
|
|
parameter.
|
|
|
|
|
|
2010-03-18 18:57:03 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: When exiting because of a failure, warn if an
|
|
|
|
|
home directory created, but cannot be removed.
|
|
|
|
|
|
2010-03-18 18:52:53 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/chowndir.c: Re-indent.
|
|
|
|
|
* libmisc/chowndir.c: Avoid assignment in comparisons.
|
|
|
|
|
* libmisc/chowndir.c: Added brackets and parenthesis.
|
|
|
|
|
|
2010-03-18 11:53:49 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/strtoday.c: Add support for numerical dates, assuming
|
|
|
|
|
they are already specified in number of days since Epoch. Return
|
|
|
|
|
-2 in case of errors to support the specification of -1.
|
|
|
|
|
* src/usermod.c, src/useradd.c: Adapt to the new error value of
|
|
|
|
|
strtoday().
|
|
|
|
|
* src/chage.c: Remove isnum(). Adapt to the new error value of
|
|
|
|
|
strtoday(). Support for numerical dates is moved to strtoday().
|
|
|
|
|
|
2010-03-18 10:54:32 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: Harmonize name of parameters.
|
|
|
|
|
|
2010-03-18 10:53:56 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS: Indicate which tools support TCB.
|
|
|
|
|
|
2010-03-18 10:52:52 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwck.c: Unlock the password and shadow files when there is a
|
|
|
|
|
failure to prepare the update in memory.
|
|
|
|
|
|
2010-03-18 10:35:11 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwck.c: Only log to SYSLOG when acting on system files.
|
|
|
|
|
|
2010-03-18 10:23:51 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwck.c: Document the sections closed by #endif
|
|
|
|
|
* src/pwck.c, man/pwck.8.xml: No alternative shadow file can be
|
|
|
|
|
given when USE_TCB is enabled.
|
2010-03-18 10:25:08 +00:00
|
|
|
* src/pwck.c: Remove the -s option from the usage when USE_TCB is
|
|
|
|
|
enabled. The option is still supported, but has no effect, as
|
|
|
|
|
documented in the manpage.
|
2010-03-18 10:23:51 +00:00
|
|
|
|
2010-03-18 09:46:15 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwck.c: Do not use pwd_file and spw_file. Always use the
|
|
|
|
|
dbname() functions.
|
|
|
|
|
|
2010-03-18 09:33:55 +00:00
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwck.c: Re-indent.
|
|
|
|
|
|
|
|
|
|
2010-03-18 Nicolas François <nicolas.francois@centraliens.net>
|
2010-03-18 09:21:27 +00:00
|
|
|
|
|
|
|
|
* src/userdel.c, src/usermod.c, src/vipw.c, src/useradd.c,
|
|
|
|
|
src/pwck.c, src/chage.c, lib/shadowio.c: Explicitly use the
|
|
|
|
|
SHADOWTCB_FAILURE return code instead of 0 or implicit conversion
|
|
|
|
|
to booleans.
|
|
|
|
|
|
2010-03-18 09:01:04 +00:00
|
|
|
2010-03-18 Paweł Hajdan, Jr. <phajdan.jr@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* src/pwck.c: Add support for TCB.
|
|
|
|
|
* src/pwck.c: Use spw_dbname() instead of spw_file since TCB
|
|
|
|
|
changes from a file to another depending on the user. Also use
|
|
|
|
|
pw_dbname() for consistency.
|
|
|
|
|
|
2010-03-18 00:07:00 +00:00
|
|
|
2010-03-17 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/faillog.c: Re-indent.
|
|
|
|
|
|
2010-03-17 23:59:55 +00:00
|
|
|
2010-03-17 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/tcbfuncs.h: Added type shadowtcb_status.
|
|
|
|
|
* lib/tcbfuncs.h, lib/tcbfuncs.c: Return a shadowtcb_status
|
|
|
|
|
instead of an int.
|
|
|
|
|
* lib/tcbfuncs.c: Do not return in OUT_OF_MEMORY.
|
2010-03-18 00:01:00 +00:00
|
|
|
* lib/tcbfuncs.c: Only FreeBSD specify that the returned buffer is
|
|
|
|
|
NULL in case of failure. The return value of asprintf shall be
|
|
|
|
|
checked.
|
2010-03-18 00:01:30 +00:00
|
|
|
* lib/tcbfuncs.c: Avoid implicit conversion of pointers or
|
|
|
|
|
integers to booleans.
|
2010-03-18 00:02:02 +00:00
|
|
|
* lib/tcbfuncs.c: Avoid assignments in comparisons.
|
2010-03-18 00:02:17 +00:00
|
|
|
* lib/tcbfuncs.c: Do not free path before its last use.
|
2010-03-18 00:03:06 +00:00
|
|
|
* lib/tcbfuncs.c: Include shadowio.h, needed for the
|
|
|
|
|
spw_setdbname's prototype.
|
2010-03-18 00:03:29 +00:00
|
|
|
* lib/tcbfuncs.c: Ignore fflush() return value.
|
2010-03-18 00:03:48 +00:00
|
|
|
* lib/tcbfuncs.c: Avoid implicit signed to unsigned conversions.
|
2010-03-18 00:04:05 +00:00
|
|
|
* lib/tcbfuncs.c: Avoid integer to char conversions.
|
2010-03-18 00:04:54 +00:00
|
|
|
* lib/tcbfuncs.c: Include prototypes.h for the definition of Prog.
|
2010-03-18 00:05:11 +00:00
|
|
|
* lib/tcbfuncs.c: Removed dead return.
|
2010-03-18 00:05:35 +00:00
|
|
|
* lib/tcbfuncs.c: move_dir() and shadowtcb_move() need a non NULL
|
|
|
|
|
stored_tcb_user.
|
2010-03-18 00:05:57 +00:00
|
|
|
* lib/tcbfuncs.c: Avoid implicit int to mode_t conversion.
|
2010-03-18 00:06:21 +00:00
|
|
|
* lib/tcbfuncs.c: Added brackets and parenthesis.
|
2010-03-18 00:06:33 +00:00
|
|
|
* lib/tcbfuncs.c: Re-indent.
|
2010-03-17 23:59:55 +00:00
|
|
|
|
2010-03-17 23:59:47 +00:00
|
|
|
2010-03-17 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Avoid implicit conversion of pointers to
|
|
|
|
|
booleans.
|
|
|
|
|
* lib/commonio.c: Ignore the return value of close when a
|
|
|
|
|
failure is reported.
|
|
|
|
|
|
2010-03-16 19:15:22 +00:00
|
|
|
2010-03-16 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/faillog.8.xml: Document the behavior in display mode of the
|
|
|
|
|
-a option.
|
|
|
|
|
* NEWS, man/faillog.8.xml, src/faillog.c: Extend the -a option to
|
|
|
|
|
the non-display mode. This changes the default behavior of the -l,
|
|
|
|
|
-m, -r, -t options when -a is not specified (restrict to existing
|
|
|
|
|
users).
|
|
|
|
|
|
2010-03-16 19:15:05 +00:00
|
|
|
2010-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/chage.1.xml, man/login.defs.5.xml, man/pwck.8.xml,
|
|
|
|
|
man/pwconv.8.xml, man/useradd.8.xml, man/userdel.8.xml,
|
|
|
|
|
man/usermod.8.xml, man/vipw.8.xml: Document the usage of the
|
|
|
|
|
TCB_AUTH_GROUP, TCB_SYMLINKS, and USE_TCB configuration
|
|
|
|
|
parameters.
|
|
|
|
|
* man/pwconv.8.xml, man/pwck.8.xml: Document the behavior when
|
|
|
|
|
USE_TCB is enabled.
|
|
|
|
|
|
2010-03-16 19:14:54 +00:00
|
|
|
2010-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* po/POTFILES.in, lib/tcbfuncs.c: Add more strings for
|
|
|
|
|
translation.
|
|
|
|
|
* lib/tcbfuncs.c: Indicate the name of the program in error
|
|
|
|
|
messages. Avoid perror.
|
|
|
|
|
* src/useradd.c: Re-indent.
|
|
|
|
|
* src/useradd.c: Add more strings for translation. Indicate the
|
|
|
|
|
name of the program in error messages.
|
|
|
|
|
* src/userdel.c: Re-indent.
|
|
|
|
|
* src/userdel.c: Add more strings for translation. Indicate the
|
|
|
|
|
name of the program in error messages.
|
|
|
|
|
|
2010-03-16 19:14:37 +00:00
|
|
|
2010-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c: user_newname and user_newid cannot be used to
|
|
|
|
|
test if the username or ID is changed. lflg and uflg should be
|
|
|
|
|
used instead.
|
|
|
|
|
|
2010-03-16 19:13:53 +00:00
|
|
|
2010-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/userdel.c: Avoid perror. Give more verbose warnings.
|
|
|
|
|
|
2010-03-11 22:04:22 +00:00
|
|
|
2010-03-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/Makefile.am: Indicate that man/generate_mans.deps is
|
|
|
|
|
generated.
|
|
|
|
|
|
2010-03-11 22:04:14 +00:00
|
|
|
2010-03-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Re-indent.
|
|
|
|
|
* lib/commonio.c: Document the sections closed by #endif
|
|
|
|
|
* lib/commonio.c: Added brackets.
|
|
|
|
|
* lib/commonio.c: Avoid implicit conversion of integer to
|
|
|
|
|
booleans.
|
|
|
|
|
|
2010-03-11 22:04:06 +00:00
|
|
|
2010-03-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/userdel.c: Re-indent.
|
|
|
|
|
* src/userdel.c: Added brackets.
|
|
|
|
|
* src/userdel.c: Avoid implicit conversion of pointers to
|
|
|
|
|
booleans.
|
|
|
|
|
|
2010-03-11 22:03:57 +00:00
|
|
|
2010-03-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/shadowio.c: Re-indent.
|
|
|
|
|
* lib/shadowio.c: Added brackets and parenthesis.
|
|
|
|
|
* lib/shadowio.c: Document the sections closed by #endif
|
|
|
|
|
* lib/shadowio.c: Avoid negation of comparisons.
|
|
|
|
|
* lib/shadowio.c: Avoid implicit conversion of integer to booleans
|
|
|
|
|
and booleans to integers.
|
|
|
|
|
|
2010-03-11 22:03:45 +00:00
|
|
|
2010-03-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: Re-indent.
|
|
|
|
|
* src/useradd.c: Added brackets.
|
|
|
|
|
* src/useradd.c: Avoid implicit conversion of integers to
|
|
|
|
|
booleans.
|
|
|
|
|
* src/useradd.c: Harmonize error messages.
|
|
|
|
|
|
2010-03-11 22:03:37 +00:00
|
|
|
2010-03-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/vipw.c: Document the sections closed by #endif
|
|
|
|
|
* src/vipw.c: Avoid implicit conversion of pointers or integers to
|
|
|
|
|
booleans.
|
|
|
|
|
* src/vipw.c: Added brackets and parenthesis.
|
|
|
|
|
* src/vipw.c: Limit the definition of some variables and macros to
|
|
|
|
|
the WITH_TCB scope.
|
|
|
|
|
* src/vipw.c: Avoid assignment in comparisons.
|
|
|
|
|
* src/vipw.c: Replace PASSWD_FILE (resp. GROUP_FILE and
|
|
|
|
|
SGROUP_FILE) by pw_dbname () (resp. gr_dbname () and sgr_dbname ()).
|
|
|
|
|
This is more consistent with the shadow file handling and may be
|
|
|
|
|
useful to allow edition of another partition's files.
|
|
|
|
|
|
|
|
|
|
|
2010-03-11 22:03:11 +00:00
|
|
|
2010-03-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c: Re-indent.
|
|
|
|
|
* src/usermod.c: Avoid implicit conversion of pointers to
|
|
|
|
|
booleans.
|
|
|
|
|
* src/usermod.c: Added parenthesis.
|
|
|
|
|
|
2010-03-11 22:02:54 +00:00
|
|
|
2010-03-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.
|
|
|
|
|
|
2010-03-11 22:01:59 +00:00
|
|
|
2010-03-10 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/userdel.c: Re-indent.
|
|
|
|
|
* src/userdel.c: Avoid implicit conversion of pointers to
|
|
|
|
|
booleans.
|
|
|
|
|
* src/userdel.c: Document the sections closed by #endif
|
|
|
|
|
|
2010-03-11 22:01:15 +00:00
|
|
|
2010-03-10 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwconv.c: Only check USE_TCB if configured WITH_TCB.
|
|
|
|
|
|
2010-03-11 22:00:41 +00:00
|
|
|
2010-03-10 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/copydir.c: Added parenthesis.
|
|
|
|
|
|
2010-03-10 22:30:03 +00:00
|
|
|
2010-02-14 Michael Bunk <mb@computer-leipzig.com>
|
|
|
|
|
|
|
|
|
|
* NEWS, lib/gshadow.c: Fix parsing of gshadow entries.
|
|
|
|
|
|
2010-03-04 18:11:13 +00:00
|
|
|
2010-01-30 Paweł Hajdan, Jr. <phajdan.jr@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* NEWS: Add support for TCB.
|
|
|
|
|
* lib/tcbfuncs.h, lib/tcbfuncs.c, lib/Makefile.am: New library to
|
|
|
|
|
support TCB.
|
|
|
|
|
* lib/prototypes, libmisc/copydir.c (remove_tree): Add boolean
|
|
|
|
|
parameter remove_root.
|
|
|
|
|
* configure.in: Add conditional WITH_TCB.
|
|
|
|
|
* src/userdel.c, src/usermod.c: Add support for TCB. Update call to
|
|
|
|
|
remove_tree().
|
|
|
|
|
* src/pwconv.c, src/pwunconv.c: Should not be used with TCB enabled.
|
|
|
|
|
* src/vipw.c: Add support for TCB. Update call to remove_tree().
|
|
|
|
|
* src/useradd.c: Add support for TCB. Open the shadow file outside
|
|
|
|
|
of open_files().
|
|
|
|
|
* src/chage.c: Add support for TCB.
|
|
|
|
|
* src/Makefile.am: Install passwd sgid shadow when TCB is enabled.
|
|
|
|
|
* lib/getdefs.c, man/vipw.8.xml, man/login.defs.5.xml,
|
|
|
|
|
man/login.defs/TCB_AUTH_GROUP.xml, man/login.defs/USE_TCB.xml,
|
|
|
|
|
man/login.defs/TCB_SYMLINKS.xml, man/generate_mans.mak,
|
|
|
|
|
man/generate_mans.deps, man/Makefile.am: New configuration
|
|
|
|
|
parameters: TCB_AUTH_GROUP, TCB_SYMLINKS, USE_TCB.
|
|
|
|
|
* lib/shadowio.c, lib/commonio.c: Add support for TCB.
|
|
|
|
|
|
|
|
|
|
2010-01-24 Nicolas François <nicolas.francois@centraliens.net>
|
2010-01-24 17:23:42 +00:00
|
|
|
|
|
|
|
|
* libmisc/env.c: Fix sanitize_env() noslash support. This fixes
|
|
|
|
|
Alioth#311740.
|
|
|
|
|
|
2010-03-04 18:11:13 +00:00
|
|
|
2010-01-24 Nicolas François <nicolas.francois@centraliens.net>
|
2010-01-24 17:13:40 +00:00
|
|
|
|
|
|
|
|
* src/su.c: Do not sanitize the environment. This breaks
|
|
|
|
|
--preserve-environment. This sanitation was disabled on Debian
|
|
|
|
|
since quite some time with no reported issues, and sanitize_env()
|
|
|
|
|
documentation agrees that it should be useless as all modern
|
2010-01-24 17:23:42 +00:00
|
|
|
Unixes will handle setuid executables properly. This fixes
|
2010-01-24 17:13:40 +00:00
|
|
|
Alioth#312287.
|
|
|
|
|
|
2010-03-04 18:11:13 +00:00
|
|
|
2010-01-24 Nicolas François <nicolas.francois@centraliens.net>
|
2010-01-24 17:05:37 +00:00
|
|
|
|
|
|
|
|
* libmisc/setupenv.c: Fix typo from 2009-11-01.
|
|
|
|
|
|
2010-03-04 18:11:13 +00:00
|
|
|
2010-01-24 Paweł Hajdan, Jr. <phajdan.jr@gentoo.org>
|
2010-01-24 16:53:15 +00:00
|
|
|
|
|
|
|
|
* configure.in: Add support for TCB in configure.in. Actual TCB
|
|
|
|
|
support will follow.
|
|
|
|
|
|
2009-11-05 22:03:36 +00:00
|
|
|
2009-11-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/groupmod.c: Fixed groupmod when configured with
|
|
|
|
|
--enable-account-tools-setuid.
|
|
|
|
|
|
2009-11-01 16:59:48 +00:00
|
|
|
2009-11-01 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, man/login.defs.d/ENV_SUPATH.xml, libmisc/setupenv.c:
|
|
|
|
|
Harmonize other paths and documentation with previous
|
|
|
|
|
change.
|
|
|
|
|
|
2009-11-01 16:57:59 +00:00
|
|
|
2009-11-01 Michel Hermier <michel.hermier@gmail.com>
|
|
|
|
|
|
|
|
|
|
* src/su.c: Set the default ENV_SUPATH to
|
|
|
|
|
/sbin:/bin:/usr/sbin:/usr/bin (i.e. PATH when no ENV_SUPATH is
|
|
|
|
|
specified).
|
|
|
|
|
|
2009-10-17 20:40:53 +00:00
|
|
|
2009-10-15 Thorsten Kukuk <kukuk@suse.de>
|
|
|
|
|
|
|
|
|
|
* src/faillog.c, man/faillog.8.xml: Harmonize long option in code
|
|
|
|
|
and documentation. Use --lock-secs instead of --lock-time.
|
|
|
|
|
|
2009-10-05 06:11:17 +00:00
|
|
|
2009-10-05 Miroslav Kure <kurem@upcase.inf.upol.cz>
|
|
|
|
|
|
2009-10-15 16:50:43 +00:00
|
|
|
* po/cs.po: updated to 412t
|
2009-10-05 06:11:17 +00:00
|
|
|
|
2009-09-29 18:11:31 +00:00
|
|
|
2009-09-29 Clytie Siddall <clytie@riverland.net.au>
|
|
|
|
|
|
2009-10-15 16:50:43 +00:00
|
|
|
* po/vi.po: updated to 412t
|
2009-09-29 18:11:31 +00:00
|
|
|
|
2009-09-27 06:23:23 +00:00
|
|
|
2009-09-27 Miroslav Kure <kurem@upcase.inf.upol.cz>
|
|
|
|
|
|
2009-10-15 16:50:43 +00:00
|
|
|
* po/cs.po: updated to 411t1f
|
2009-09-27 06:23:23 +00:00
|
|
|
|
2009-09-24 20:20:47 +00:00
|
|
|
2009-09-24 Christian Perrier <bubulle@debian.org>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: Updated French translation to 835t99f165
|
|
|
|
|
|
2009-09-24 20:18:50 +00:00
|
|
|
2009-09-24 Clytie Siddall <clytie@riverland.net.au>
|
|
|
|
|
|
2009-10-15 16:50:43 +00:00
|
|
|
* po/vi.po: updated to 348t30f34u
|
2009-09-24 20:18:50 +00:00
|
|
|
|
2009-09-08 21:00:12 +00:00
|
|
|
2009-09-08 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Avoid pre-decrement operator (--n). Add some
|
|
|
|
|
comments.
|
|
|
|
|
* libmisc/cleanup.c: Fix off by one in an assertion.
|
|
|
|
|
|
2009-09-08 20:46:43 +00:00
|
|
|
2009-09-08 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: Fix indentation.
|
|
|
|
|
* src/su.c: Add more messages for translation.
|
|
|
|
|
* src/su.c: Ignore kill() return value when sending the TERM
|
|
|
|
|
signal. If it fails, a KILL should be sent anyway.
|
|
|
|
|
|
2009-09-08 20:39:15 +00:00
|
|
|
2009-09-08 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/su.c: When su receives a signal, wait for the child to
|
|
|
|
|
terminate (after sending a SIGTERM), and kill it only if it did
|
|
|
|
|
not terminate by itself. No delay will be enforced if the child
|
|
|
|
|
cooperates. See http://bugs.gentoo.org/282094
|
|
|
|
|
* NEWS, man/su.1.xml: Document su's exit values.
|
|
|
|
|
|
2009-09-08 13:16:58 +00:00
|
|
|
2009-09-08 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: The default value for the CREATE_MAIL_SPOOL
|
|
|
|
|
variable (i.e. if CREATE_MAIL_SPOOL= is specified without any
|
|
|
|
|
values) is "no", not DCREATE_MAIL_SPOOL ("CREATE_MAIL_SPOOL=").
|
|
|
|
|
|
2009-09-08 13:11:03 +00:00
|
|
|
2009-09-08 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead.
|
|
|
|
|
For consistency, change HOME, INACT, EXPIRE, SKEL, and
|
|
|
|
|
CREATE_MAIL_SPOOL to DHOME, DINACT, DEXPIRE, DSKEL, and
|
|
|
|
|
DCREATE_MAIL_SPOOL.
|
|
|
|
|
|
2009-09-08 13:06:57 +00:00
|
|
|
2009-09-08 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newusers.c: Prefer #ifdef over #if.
|
|
|
|
|
|
2009-09-08 13:05:59 +00:00
|
|
|
2009-09-08 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* configure.in: We do not use SETPGRP_VOID, and already assume
|
|
|
|
|
that setpgrp has a void argument. Remove AC_FUNC_SETPGRP to ease
|
|
|
|
|
cross compiling.
|
|
|
|
|
|
2009-09-07 21:49:29 +00:00
|
|
|
2009-09-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/generate_translations.mak, man/generate_mans.mak,
|
|
|
|
|
po/Makefile.in.in: Removing and restoring the config.xml file
|
|
|
|
|
broke parallel builds. Build the manpages based on *.xml-config
|
|
|
|
|
files instead of *.xml files. The *.xml do not include config.xml
|
|
|
|
|
anymore, which permits to run xml2po without needing to remove
|
|
|
|
|
config.xml. The config.xml is restored in the *.xml-config files.
|
|
|
|
|
* man/groupadd.8.xml: Implementation of the above.
|
|
|
|
|
* man/generate_mans.deps: Updated dependencies
|
|
|
|
|
|
2009-09-07 19:50:00 +00:00
|
|
|
2009-09-07 Steve Grubb <sgrubb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libmisc/limits.c: Fix the format to match the unsigned long
|
|
|
|
|
variable in argument.
|
|
|
|
|
* libmisc/utmp.c: Fix tests. tmptty is a variable stack. ut_host
|
|
|
|
|
is an array of the ut structure. None of them can be NULL.
|
|
|
|
|
|
2009-09-07 19:08:10 +00:00
|
|
|
2009-09-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/shadowmem.c: Only copy the required fields of the struct
|
|
|
|
|
spwd. (start with the primitive types)
|
|
|
|
|
* lib/shadowmem.c: Avoid memzero() on a possibly NULL pointer.
|
|
|
|
|
* lib/groupmem.c: Only copy the required fields of the struct
|
|
|
|
|
group. (start with the primitive types)
|
|
|
|
|
* lib/groupmem.c: Avoid memzero() on a possibly NULL pointer.
|
|
|
|
|
* lib/groupmem.c: Free gr_mem in addition to its elements.
|
|
|
|
|
* lib/sgroupio.c: The struct sgrp has no primitive types to be
|
|
|
|
|
copied initially.
|
|
|
|
|
* lib/sgroupio.c: Avoid memzero() on a possibly NULL pointer.
|
|
|
|
|
* lib/sgroupio.c: Free sg_mem and sg_add in addition to their
|
|
|
|
|
elements.
|
|
|
|
|
* lib/pwmem.c: Only copy the required fields of the struct
|
|
|
|
|
passwd. (start with the primitive types)
|
|
|
|
|
|
2009-09-07 18:59:03 +00:00
|
|
|
2009-09-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/sgroupio.h: Harmonize splint annotations of sgr_locate()
|
|
|
|
|
prototype with the one used in its definition.
|
|
|
|
|
|
2009-09-07 18:53:47 +00:00
|
|
|
2009-09-07 Steve Grubb <sgrubb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libmisc/copydir.c, lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
|
|
|
|
|
Fix some memory leaks.
|
|
|
|
|
|
2009-09-05 22:31:29 +00:00
|
|
|
2009-09-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c,
|
|
|
|
|
src/chpasswd.c, src/groupmems.c, src/usermod.c, src/chgpasswd.c,
|
|
|
|
|
src/vipw.c, src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c,
|
|
|
|
|
src/groupadd.c, src/chage.c, src/faillog.c, src/chsh.c: Use
|
|
|
|
|
booleans for tests.
|
|
|
|
|
* src/userdel.c, src/gpasswd.c, src/groupmems.c, src/usermod.c,
|
|
|
|
|
src/groupmod.c, src/passwd.c: Use a break even after usage().
|
|
|
|
|
|
2009-09-05 20:25:40 +00:00
|
|
|
2009-09-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/gpasswd.c, src/groupmems.c: Split the groupmems and gpasswd
|
|
|
|
|
Usage string. It was changed anyway to add the --help option.
|
|
|
|
|
|
2009-09-04 23:02:33 +00:00
|
|
|
2009-09-05 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/userdel.c, src/lastlog.c, src/gpasswd.c,
|
|
|
|
|
src/newusers.c, src/chpasswd.c, src/groupmems.c, src/usermod.c,
|
|
|
|
|
src/chgpasswd.c, src/vipw.c, src/su.c, src/useradd.c,
|
|
|
|
|
src/groupmod.c, src/passwd.c, src/groupadd.c, src/chage.c,
|
|
|
|
|
src/faillog.c, src/chsh.c: If someone uses the -h/--help options,
|
|
|
|
|
the usage should not go to stderr nor should the utility exit with
|
|
|
|
|
non-zero status. All of the shadow utils do just this
|
|
|
|
|
unfortunately, so convert them over to sanity.
|
|
|
|
|
* man/groupmems.8.xml, man/gpasswd.1.xml: Added option -h/--help.
|
|
|
|
|
|
2009-09-04 22:09:58 +00:00
|
|
|
2009-09-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: Fixed wrong format string.
|
|
|
|
|
* lib/gshadow.c: Removed declaration of unused variable.
|
|
|
|
|
|
2009-08-30 19:46:54 +00:00
|
|
|
2009-08-30 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* man/generate_mans.mak, man/generate_translations.mak: Provide an
|
|
|
|
|
useful error message when --enable-man is not enabled and the
|
|
|
|
|
translated manpages are not generated.
|
|
|
|
|
|
2009-08-21 15:02:32 +00:00
|
|
|
2009-08-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They
|
|
|
|
|
break the groff formatting.
|
|
|
|
|
|
2009-08-14 21:12:15 +00:00
|
|
|
2009-07-24 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* po/fr.po: Fix typos, based on reviews by the Debian French
|
|
|
|
|
translation team.
|
|
|
|
|
|
2009-07-24 01:13:21 +00:00
|
|
|
2009-07-24 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, configure.in: Prepare for the next release 4.1.4.2.
|
|
|
|
|
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
|
|
|
|
|
* po/*.po, man/po/*.po: Updated PO files.
|
|
|
|
|
|
2009-07-23 21:02:03 +00:00
|
|
|
2009-07-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* configure.in: Fixed definition of the SHELL configuration.
|
|
|
|
|
|
2009-07-23 20:41:35 +00:00
|
|
|
2009-07-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* etc/login.defs: SYS_GID_MIN /SYS_UID_MIN changed from 100 to
|
|
|
|
|
101. GID 100 seems to be used statically.
|
|
|
|
|
|
2009-07-22 13:35:57 +00:00
|
|
|
2009-07-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/shell.c, src/su.c: Execute the scripts with "sh -"
|
|
|
|
|
rather than "sh".
|
|
|
|
|
|
2009-07-22 13:30:06 +00:00
|
|
|
2009-07-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* configure.in, libmisc/shell.c, libmisc/setupenv.c, src/newgrp.c,
|
|
|
|
|
src/su.c: Let the system shell be configurable.
|
|
|
|
|
|
2009-07-20 14:00:50 +00:00
|
|
|
2009-07-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/su.c, libmisc/shell.c: Added support for shells being a
|
|
|
|
|
shell script without a shebang.
|
|
|
|
|
|
2009-07-19 11:53:49 +00:00
|
|
|
2009-07-19 Jean-Louis Dupond <info@dupondje.be>
|
|
|
|
|
|
|
|
|
|
* po/nl.po: Fix obvious mistake in Dutch translation.
|
|
|
|
|
|
2009-07-17 22:54:23 +00:00
|
|
|
2009-07-18 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not use
|
|
|
|
|
getpwent / getgrent for system accounts. Trying the low-IDs with
|
|
|
|
|
getpwuid / getgrgid should be more efficient on LDAP configured
|
|
|
|
|
systems with many accounts.
|
2009-07-18 00:35:35 +00:00
|
|
|
* NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Since
|
|
|
|
|
system accounts are allocated from SYS_?ID_MIN to SYS_?ID_MAX in
|
|
|
|
|
reverse order, accounts are packed close to SYS_?ID_MAX if
|
|
|
|
|
SYS_?ID_MIN is already used but there are still dome gaps.
|
2009-07-17 22:54:23 +00:00
|
|
|
|
2009-07-05 20:13:41 +00:00
|
|
|
2009-07-05 Piarres Beobide <pi+debian@beobide.net>
|
|
|
|
|
|
|
|
|
|
* po/eu.po: Updated Basque translation.
|
|
|
|
|
|
2009-06-22 19:23:42 +00:00
|
|
|
2009-06-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/fi/Makefile.am: Stop distributing the Finnish translation of
|
|
|
|
|
passwd.1 (outdated).
|
|
|
|
|
|
2009-06-20 13:02:33 +00:00
|
|
|
2009-06-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/pwck.8.xml: The shadow file is optional.
|
|
|
|
|
* man/pwck.8.xml: Updated description of the checks. Added
|
|
|
|
|
description of the shadow checks.
|
|
|
|
|
* man/pwck.8.xml: Updated description of the checks.
|
|
|
|
|
|
2009-06-14 12:47:41 +00:00
|
|
|
2009-06-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: Fixed typo (forunis)
|
|
|
|
|
|
2009-06-12 20:20:45 +00:00
|
|
|
2009-06-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/fputsx.c: Compare the result of fgets() with the provided
|
|
|
|
|
buffer instead of NULL.
|
|
|
|
|
|
|
|
|
|
2009-06-12 Nicolas François <nicolas.francois@centraliens.net>
|
2009-06-12 17:50:24 +00:00
|
|
|
|
|
|
|
|
* lib/gshadow.c: Removed limitation on the length of the gshadow
|
|
|
|
|
lines.
|
|
|
|
|
* lib/gshadow.c: Compare the result of fgetsx() with the provided
|
|
|
|
|
buffer instead of NULL.
|
|
|
|
|
|
2009-06-11 21:33:00 +00:00
|
|
|
2009-06-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetgrnam.c,
|
|
|
|
|
libmisc/xgetpwuid.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c: Do
|
|
|
|
|
not limit the size of the buffer to hold the group or user
|
|
|
|
|
structure. It used to be limited to 16k, which caused issues with
|
|
|
|
|
groups having many users.
|
|
|
|
|
|
|
|
|
|
2009-06-11 Nicolas François <nicolas.francois@centraliens.net>
|
2009-06-11 20:01:21 +00:00
|
|
|
|
|
|
|
|
* src/su.c, man/su.1.xml: The default behavior (without -p or
|
|
|
|
|
--login) is to copy most of the environment variables. Revert a
|
|
|
|
|
previous change and update the documentation.
|
|
|
|
|
|
2009-06-06 11:21:15 +00:00
|
|
|
2009-06-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/passwd.5.xml, man/shadow.5.xml: Document the passwd- and
|
|
|
|
|
shadow- files.
|
|
|
|
|
|
2009-06-05 22:19:38 +00:00
|
|
|
2009-06-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/su.c: Preserve the DISPLAY and XAUTHORITY environment
|
|
|
|
|
variables, even with --login. This was not the case before in the
|
|
|
|
|
PAM version.
|
|
|
|
|
|
2009-06-05 22:16:56 +00:00
|
|
|
2009-06-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c, src/groupmod.c, src/groupadd.c, src/faillog.c:
|
|
|
|
|
Fix typos. Take this opportunity to split the usage messages into
|
|
|
|
|
smaller messages (one per option).
|
|
|
|
|
* src/pwck.c: Fix typo.
|
|
|
|
|
|
2009-06-05 21:14:12 +00:00
|
|
|
2009-06-05 Petri Koistinen <petri.koistinen@iki.fi>
|
|
|
|
|
|
|
|
|
|
* man/passwd.1.xml: The short option for --mindays is -n, not -m.
|
|
|
|
|
|
2009-06-04 20:08:11 +00:00
|
|
|
2009-06-04 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* .gitignore, man/.gitignore, src/.gitignore: Added .gitignore
|
|
|
|
|
files.
|
|
|
|
|
|
2009-06-04 17:28:09 +00:00
|
|
|
2009-06-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/su.1.xml: Use <option> for the login.defs options.
|
|
|
|
|
* man/su.1.xml: Improve the documentation of the su behavior
|
|
|
|
|
regarding environment variables.
|
|
|
|
|
* man/su.1.xml: Document that the login.defs file is used.
|
|
|
|
|
|
2009-06-04 17:25:18 +00:00
|
|
|
2009-06-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.1.xml: Document that the login.defs file is used.
|
|
|
|
|
|
2009-06-04 17:23:08 +00:00
|
|
|
2009-06-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.defs.d/ENVIRON_FILE.xml: Document the format for
|
|
|
|
|
comments.
|
|
|
|
|
|
2009-05-26 19:23:40 +00:00
|
|
|
2009-05-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/gpasswd.1.xml: Ease the translation of the refpurpose.
|
|
|
|
|
* man/gpasswd.1.xml: Fix typo, shorten sentences.
|
|
|
|
|
|
2009-05-26 17:00:58 +00:00
|
|
|
2009-05-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/pwck.8.xml, man/grpck.8.xml: Move the SEE ALSO section at
|
|
|
|
|
the end.
|
|
|
|
|
|
2009-05-25 19:51:23 +00:00
|
|
|
2009-05-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/vipw.c: Make sure opened files are closed.
|
|
|
|
|
|
2009-05-25 19:29:19 +00:00
|
|
|
2009-05-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2009-05-25 19:41:43 +00:00
|
|
|
* man/chpasswd.8.xml, man/grpck.8.xml, man/newgrp.1.xml,
|
|
|
|
|
man/passwd.1.xml, man/sg.1.xml: Avoid a spurious comma.
|
2009-05-25 19:29:19 +00:00
|
|
|
|
|
|
|
|
2009-05-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS: New placeholder for the next release.
|
|
|
|
|
|
2009-05-22 13:53:18 +00:00
|
|
|
2009-05-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* po/fr.po: Updated French translation.
|
|
|
|
|
|
2009-05-22 13:50:45 +00:00
|
|
|
2009-05-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS: Prepare the next release.
|
|
|
|
|
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
|
|
|
|
|
* po/*.po, man/po/*.po: Updated PO files.
|
|
|
|
|
|
|
|
|
|
2009-05-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/passwd.1.xml: passwd -u does not reset the expiry field.
|
|
|
|
|
|
2009-05-22 13:31:18 +00:00
|
|
|
2009-05-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: Updated some strings.
|
|
|
|
|
|
2009-05-22 11:08:46 +00:00
|
|
|
2009-05-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/newgrp.c: Return the exit status of the child. Thanks
|
|
|
|
|
to Lionel Elie Mamane.
|
|
|
|
|
|
2009-05-22 10:42:51 +00:00
|
|
|
2009-05-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c: Added warnings for absolute symlinks which could
|
|
|
|
|
be broken by rename().
|
|
|
|
|
|
2009-05-22 10:41:10 +00:00
|
|
|
2009-05-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/userdel.c: Report errors to remove the user's mailbox.
|
|
|
|
|
* NEWS, src/userdel.c: When USERGROUPS_ENAB is enabled, remove the
|
|
|
|
|
user's group when the user was the only member. This is still not
|
|
|
|
|
complete, as the user could have been specified twice in the
|
|
|
|
|
members.
|
|
|
|
|
* NEWS, src/userdel.c: Do not fail when -r is used and the home
|
|
|
|
|
directory does not exist.
|
|
|
|
|
|
|
|
|
|
2009-05-22 Nicolas François <nicolas.francois@centraliens.net>
|
2009-05-22 10:16:12 +00:00
|
|
|
|
|
|
|
|
* libmisc/copydir.c: Added warning for relative symlinks.
|
|
|
|
|
* libmisc/copydir.c (remove_tree): There is no need to check if
|
|
|
|
|
the root argument exist. opendir() will report this.
|
|
|
|
|
|
2009-05-21 14:04:53 +00:00
|
|
|
2009-05-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/faillog.8.xml: Minor updates.
|
|
|
|
|
|
2009-05-21 14:01:16 +00:00
|
|
|
2009-05-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/faillog.5.xml: Split a long paragraph. Typo fixes.
|
|
|
|
|
|
2009-05-21 13:54:45 +00:00
|
|
|
2009-05-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/gpasswd.1.xml: Minor updates.
|
|
|
|
|
|
2009-05-21 13:53:56 +00:00
|
|
|
2009-05-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/gshadow.5.xml: Updated documentation.
|
|
|
|
|
|
2009-05-21 12:02:12 +00:00
|
|
|
2009-05-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
|
|
|
|
|
Harmonize formatting of login.defs and default/useradd variables.
|
|
|
|
|
Use an <option> tag.
|
|
|
|
|
* man/usermod.8.xml: Added reference to gshadow(5).
|
|
|
|
|
* man/login.defs.d/USERDEL_CMD.xml: Shorten the lines of the
|
|
|
|
|
USERDEL_CMD example.
|
|
|
|
|
|
2009-05-21 11:58:59 +00:00
|
|
|
2009-05-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: Use a boolean instead of 0.
|
|
|
|
|
|
2009-05-19 22:28:34 +00:00
|
|
|
2009-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/usermod.8.xml: Fixed typos.
|
|
|
|
|
|
2009-05-19 22:19:41 +00:00
|
|
|
2009-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* configure.in: Next version will be 4.1.4.1.
|
|
|
|
|
|
2009-05-19 22:17:55 +00:00
|
|
|
2009-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/newusers.8.xml: Added notes regarding the ownership of
|
|
|
|
|
files.
|
|
|
|
|
|
2009-05-19 22:00:14 +00:00
|
|
|
2009-05-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/groupmod.8.xml: Split the -g option description into smaller
|
|
|
|
|
paragraphs.
|
|
|
|
|
|
2009-05-19 21:57:04 +00:00
|
|
|
2009-05-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/usermod.8.xml: Ownership of the mailbox is also changed with
|
|
|
|
|
the -u option.
|
|
|
|
|
|
2009-05-19 21:37:53 +00:00
|
|
|
2009-05-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/useradd.8.xml: When no passwords are provided, the password
|
|
|
|
|
is disabled, not the account.
|
|
|
|
|
|
2009-05-19 21:29:26 +00:00
|
|
|
2009-05-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/newusers.8.xml, man/chpasswd.8.xml, man/useradd.8.xml,
|
|
|
|
|
man/groupadd.8.xml, man/usermod.8.xml, man/chgpasswd.8.xml,
|
|
|
|
|
man/groupmod.8.xml: Added warning: passwords set with these tools
|
|
|
|
|
may not respect the password policy.
|
|
|
|
|
|
2009-05-19 20:32:48 +00:00
|
|
|
2009-05-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/groupadd.8.xml: Fixed formatting issue.
|
|
|
|
|
|
2009-05-19 20:31:02 +00:00
|
|
|
2009-05-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/userdel.8.xml: Added warning for files that could remain
|
|
|
|
|
owner by the removed user.
|
|
|
|
|
|
2009-05-19 20:26:56 +00:00
|
|
|
2009-05-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/useradd.8.xml: Fix formatting typo.
|
|
|
|
|
|
2009-05-19 20:26:28 +00:00
|
|
|
2009-05-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/groupdel.8.xml: Move the warning on filesystems checks to
|
|
|
|
|
the CAVEAT section.
|
|
|
|
|
|
2009-05-18 22:45:39 +00:00
|
|
|
2009-05-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.defs.d/GID_MAX.xml: Fixed typo. useradd was specified
|
|
|
|
|
twice.
|
|
|
|
|
|
2009-05-18 22:43:59 +00:00
|
|
|
2009-05-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/groupadd.8.xml, man/useradd.8.xml: names may also contain
|
|
|
|
|
digits.
|
|
|
|
|
|
2009-05-18 22:40:57 +00:00
|
|
|
2009-05-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/shadow.5.xml: What is important in shadow is not the
|
|
|
|
|
encryption, but that the file is not world readable.
|
|
|
|
|
|
2009-05-18 22:39:48 +00:00
|
|
|
2009-05-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: Updated French translation. Thanks to ABBAS
|
|
|
|
|
Belkacem for the login.defs update.
|
|
|
|
|
|
2009-05-18 19:18:29 +00:00
|
|
|
2009-05-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/usermod.8.xml: Split the CAVEAT section in paragraphs.
|
|
|
|
|
Updated information on the user_busy check.
|
|
|
|
|
|
2009-05-18 18:53:23 +00:00
|
|
|
2009-05-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2011-11-19 14:20:52 +00:00
|
|
|
* man/userdel.8.xml: Document that -f may force the deletion of a
|
2009-05-18 18:53:23 +00:00
|
|
|
busy user.
|
|
|
|
|
|
2009-05-18 18:37:16 +00:00
|
|
|
2009-05-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/usermod.c: Check if the user is busy when the user's
|
|
|
|
|
UID, name or home directory is changed.
|
|
|
|
|
|
2009-05-18 18:32:17 +00:00
|
|
|
2009-05-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/userdel.c, libmisc/user_busy.c, libmisc/Makefile.am,
|
|
|
|
|
lib/prototypes.h: Move user_busy() to libmisc/user_busy.c.
|
|
|
|
|
* NEWS, libmisc/user_busy.c: On Linux, do not check if an user is
|
|
|
|
|
logged in with utmp, but check if the user is running some
|
|
|
|
|
processes. If not on Linux, continue to search for an utmp record,
|
|
|
|
|
but make sure the process recorded in the utmp entry is still
|
|
|
|
|
running.
|
|
|
|
|
|
|
|
|
|
2009-05-18 Nicolas François <nicolas.francois@centraliens.net>
|
2009-05-18 18:28:06 +00:00
|
|
|
|
|
|
|
|
* man/usermod.8.xml: Document the -m/--move-home option.
|
|
|
|
|
|
2009-05-17 16:27:29 +00:00
|
|
|
2009-05-17 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/userdel.c (user_busy): Check if the process registered in
|
|
|
|
|
utmp is still running. This avoids rejecting the removal of an
|
|
|
|
|
user when UTMP was not updated and indicate that the user is still
|
|
|
|
|
logged in.
|
|
|
|
|
|
2009-05-16 18:19:24 +00:00
|
|
|
2009-05-16 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2009-05-16 18:27:13 +00:00
|
|
|
* NEWS, libmisc/console.c (console): Remove the leading /dev/ from
|
|
|
|
|
the tty before comparing with the lines specified by CONSOLE.
|
2009-05-16 18:19:24 +00:00
|
|
|
* src/su.c: Do not remove the /dev/ prefix since it is done by
|
|
|
|
|
console().
|
|
|
|
|
|
2009-05-16 17:08:44 +00:00
|
|
|
2009-05-16 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE
|
|
|
|
|
file.
|
|
|
|
|
|
2009-05-16 15:43:13 +00:00
|
|
|
2009-05-16 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2009-05-16 18:27:13 +00:00
|
|
|
* NEWS, src/login.c: Fix failure of non PAM enabled versions when
|
|
|
|
|
an empty username is entered after a first prompt.
|
2009-05-16 15:43:13 +00:00
|
|
|
|
2009-05-16 15:39:01 +00:00
|
|
|
2009-05-16 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/passwd.c: Added missing end of line at the end of success
|
|
|
|
|
messages.
|
|
|
|
|
|
2009-05-16 15:38:00 +00:00
|
|
|
2009-05-16 sacha <sachall@infonie.fr>
|
|
|
|
|
|
|
|
|
|
* po/fr.po: Fixed typo in the vipw usage string.
|
|
|
|
|
|
2009-05-12 20:01:41 +00:00
|
|
|
2009-05-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/shell.c: Removed invalid code that executed the user's
|
|
|
|
|
shell as a shell script when the direct execution of the user's
|
|
|
|
|
shell failed with ENOEXEC and the user's shell has a shebang. The
|
|
|
|
|
interpreter might not be the right one. Executing the user's
|
|
|
|
|
shell with sh -c might be better, but I'm not sure we should try
|
|
|
|
|
harder when there is a failure. Note: the removed code was only
|
|
|
|
|
included #ifndef __linux__.
|
|
|
|
|
|
2009-05-12 19:25:26 +00:00
|
|
|
2009-05-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/userdel.8.xml: The USERGROUPS_ENAB group may not be removed
|
|
|
|
|
when the group is used by other users, not the user.
|
|
|
|
|
|
|
|
|
|
2009-05-12 Nicolas François <nicolas.francois@centraliens.net>
|
2009-05-12 19:23:46 +00:00
|
|
|
|
|
|
|
|
* src/userdel.c, man/login.defs.d/USERDEL_CMD.xml: Move the
|
|
|
|
|
USERDEL_CMD script example from the source code to the
|
|
|
|
|
documentation.
|
|
|
|
|
|
2009-05-11 19:29:38 +00:00
|
|
|
2009-05-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/newusers.8.xml: PAM enabled version: describe how passwords
|
|
|
|
|
are updated and how newusers behave in case of error.
|
|
|
|
|
|
2009-05-10 20:02:21 +00:00
|
|
|
2009-05-10 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, configure.in: New release will be 4.1.4.
|
|
|
|
|
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
|
|
|
|
|
* po/*.po, man/po/*.po: Updated PO files.
|
|
|
|
|
|
2009-05-10 18:21:58 +00:00
|
|
|
2009-05-10 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/copydir.c: Added prototype of readlink_malloc(), and
|
|
|
|
|
readlink_malloc() changed to static.
|
|
|
|
|
|
2009-05-10 18:20:41 +00:00
|
|
|
2009-05-10 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: Avoid redeclaration of root_pw.
|
|
|
|
|
|
2009-05-10 17:10:44 +00:00
|
|
|
2009-05-10 NAKANO Takeo <nakano@webmasters.gr.jp>
|
|
|
|
|
|
|
|
|
|
* po/ja.po: Updated Japanese translation.
|
|
|
|
|
|
|
|
|
|
2009-05-10 Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>
|
|
|
|
|
|
|
|
|
|
* po/fr.po: Updated French translation.
|
|
|
|
|
|
2009-05-10 13:49:03 +00:00
|
|
|
2009-05-10 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Avoid PATH_MAX. On glibc, we can use realpath
|
|
|
|
|
with a NULL argument.
|
|
|
|
|
* src/useradd.c: Replace PATH_MAX by a fixed constant. The buffer
|
|
|
|
|
was not meant as a storage for a path.
|
|
|
|
|
* src/useradd.c, src/newusers.c, src/chpasswd.c: Better detection
|
|
|
|
|
of fgets errors. Lines shall end with a \n, unless we reached the
|
|
|
|
|
end of file.
|
|
|
|
|
* libmisc/copydir.c: Avoid PATH_MAX. Support file paths with any
|
|
|
|
|
length. Added readlink_malloc().
|
|
|
|
|
|
2009-05-09 21:20:54 +00:00
|
|
|
2009-05-09 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwck.c: Warn if an user has an entry in passwd and shadow,
|
|
|
|
|
and the password field in passwd is not 'x'.
|
|
|
|
|
* src/grpck.c: Warn if a group has an entry in group and gshadow,
|
|
|
|
|
and the password field in group is not 'x'.
|
|
|
|
|
|
2009-05-09 13:16:10 +00:00
|
|
|
2009-05-09 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.defs.d/ENCRYPT_METHOD.xml,
|
|
|
|
|
man/login.defs.d/MD5_CRYPT_ENAB.xml,
|
|
|
|
|
man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Updated note for PAM
|
|
|
|
|
enabled versions. These variables are only used for group
|
|
|
|
|
passwords in this case.
|
|
|
|
|
|
2009-05-09 13:16:03 +00:00
|
|
|
2009-05-09 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/chpasswd.8.xml: Sorted options alphabetically.
|
|
|
|
|
|
2009-05-09 13:15:57 +00:00
|
|
|
2009-05-09 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/newusers.c, src/Makefile.am: Added support for
|
|
|
|
|
changing the passwords with PAM.
|
|
|
|
|
* src/newusers.c: Split the usage string in smaller parts to
|
|
|
|
|
allow enabling single parts.
|
|
|
|
|
* man/newusers.8.xml: Indicate the options and configuration
|
|
|
|
|
variables valid for PAM and non-PAM versions.
|
|
|
|
|
* man/newusers.8.xml: Added pointer to /etc/pam.d/chpasswd.
|
|
|
|
|
|
2009-05-09 13:15:44 +00:00
|
|
|
2009-05-09 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/userdel.c: Remove duplicate definitions of exit codes.
|
|
|
|
|
|
2009-05-09 13:15:25 +00:00
|
|
|
2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/non_interactive_pam_conv.c,
|
|
|
|
|
libmisc/pam_pass_non_interractive.c, libmisc/Makefile.am: Renamed.
|
|
|
|
|
* libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
|
|
|
|
|
non_interactive_password and non_interactive_pam_conv do not need
|
|
|
|
|
to be externally visible.
|
|
|
|
|
* libmisc/pam_pass_non_interractive.c: Added declaration of
|
|
|
|
|
ni_conv.
|
|
|
|
|
* libmisc/pam_pass_non_interractive.c: Only compile ifdef USE_PAM.
|
|
|
|
|
* libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
|
|
|
|
|
Added do_pam_passwd_non_interractive().
|
|
|
|
|
* src/chpasswd.c: Use do_pam_passwd_non_interractive().
|
|
|
|
|
|
2009-05-09 13:15:17 +00:00
|
|
|
2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/pam_pass.c: Removed comment regarding pam_misc. This is
|
|
|
|
|
checked by configure.in.
|
|
|
|
|
|
2009-05-09 13:15:10 +00:00
|
|
|
2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.defs.5.xml: PAM enabled chpasswd do not use any
|
|
|
|
|
configuration variable from login.defs.
|
|
|
|
|
|
2009-05-09 13:15:03 +00:00
|
|
|
2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/passwd.1.xml: Differentiate the files used for PAM and
|
|
|
|
|
non-PAM versions.
|
|
|
|
|
|
2009-05-09 13:14:56 +00:00
|
|
|
2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2009-05-09 13:38:51 +00:00
|
|
|
* man/chpasswd.8.xml: Describe how chpasswd behaves in case of error.
|
2009-05-09 13:14:56 +00:00
|
|
|
* man/chpasswd.8.xml: Describe the PAM enabled chpasswd behavior.
|
|
|
|
|
* man/chpasswd.8.xml: Differentiate the files and configurations
|
2009-05-09 13:15:03 +00:00
|
|
|
used for PAM and non-PAM versions.
|
2009-05-09 13:14:56 +00:00
|
|
|
|
2009-05-09 13:14:50 +00:00
|
|
|
2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: failcount does not need to be signed.
|
|
|
|
|
|
2009-05-09 13:14:44 +00:00
|
|
|
2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/Makefile.am: PAM enabled chpasswd now needs to be linked to
|
|
|
|
|
the PAM library, even if --enable-account-tools-setuid is not
|
|
|
|
|
used.
|
|
|
|
|
|
2009-05-09 13:14:37 +00:00
|
|
|
2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chpasswd.c: Added the line number when an error is reported
|
|
|
|
|
instead of only the username.
|
2009-05-09 13:15:57 +00:00
|
|
|
* src/chpasswd.c: PAM enabled chpasswd may change the password
|
2009-05-09 13:14:37 +00:00
|
|
|
database (for the user where the password update succeeded) even
|
|
|
|
|
if there were a failure for one user. Do not indicate that changes
|
|
|
|
|
were ignored.
|
|
|
|
|
|
2009-05-09 13:14:31 +00:00
|
|
|
2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/passwd.c: Exit immediately when unlocking a password would
|
|
|
|
|
result in a passwordless account. This avoid printing a success
|
|
|
|
|
message after the warning.
|
|
|
|
|
|
2009-05-09 13:14:23 +00:00
|
|
|
2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/nologin.c: Include <stdlib.h> to get EXIT_FAILURE.
|
|
|
|
|
|
2009-05-03 22:46:26 +00:00
|
|
|
2009-05-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, configure.in: Fix build failure on non-PAM enabled system
|
|
|
|
|
when --without-pam is not specified.
|
|
|
|
|
|
2009-04-30 21:53:54 +00:00
|
|
|
2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2010-03-17 23:59:47 +00:00
|
|
|
* lib/commonio.c: Ignore the return values of fclose() and
|
2009-04-30 21:53:54 +00:00
|
|
|
unlink() in case of failure of fopen_set_perms() or
|
|
|
|
|
create_backup().
|
|
|
|
|
* lib/commonio.c: Should the backup file be unlink'ed in case of
|
|
|
|
|
failure of create_backup()?
|
|
|
|
|
|
2009-04-30 21:44:35 +00:00
|
|
|
2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/getulong.c: Added splint annotations.
|
|
|
|
|
|
2009-04-30 21:39:38 +00:00
|
|
|
2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c,
|
|
|
|
|
src/userdel.c, src/chpasswd.c, src/grpck.c, src/gpasswd.c,
|
|
|
|
|
src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
|
|
|
|
|
src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
|
|
|
|
|
src/groupadd.c, src/chage.c, src/login.c, src/faillog.c,
|
|
|
|
|
src/sulogin.c, src/chsh.c, src/pwconv.c: Added splint annotations.
|
|
|
|
|
* src/userdel.c, src/pwconv.c, src/lastlog.c, src/grpck.c,
|
|
|
|
|
src/vipw.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/login.c,
|
|
|
|
|
src/sulogin.c, src/usermod.c: Use return instead of exit at the
|
|
|
|
|
end of main().
|
|
|
|
|
* src/gpasswd.c, src/passwd.c, src/faillog.c: Use the exitcodes.h
|
|
|
|
|
exit codes.
|
|
|
|
|
* src/chpasswd.c: Added missing ||.
|
|
|
|
|
* src/nologin.c: Do not include exitcodes.h.
|
|
|
|
|
* src/nologin.c: Added brackets.
|
|
|
|
|
* src/nologin.c: Avoid assignments in comparisons.
|
|
|
|
|
|
2009-04-30 21:12:33 +00:00
|
|
|
2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/getgr_nam_gid.c, lib/get_gid.c, lib/get_pid.c,
|
|
|
|
|
lib/get_uid.c: Added splint annotations.
|
|
|
|
|
|
2009-04-30 21:08:49 +00:00
|
|
|
2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/exitcodes.h: Define E_SUCCESS as EXIT_SUCCESS. Added FIXMEs.
|
|
|
|
|
* libmisc/chowntty.c, libmisc/rlogin.c, libmisc/sub.c,
|
|
|
|
|
src/newusers.c, libmisc/sulog.c, libmisc/system.c, src/logoutd.c,
|
|
|
|
|
src/groups.c, src/id.c, lib/encrypt.c, libmisc/audit_help.c,
|
|
|
|
|
libmisc/limits.c: Return EXIT_FAILURE instead of 1, and
|
|
|
|
|
EXIT_SUCCESS instead of 0.
|
|
|
|
|
* libmisc/audit_help.c: Replace an fprintf() by fputs().
|
|
|
|
|
* libmisc/audit_help.c: Remove documentation of the audit_logger
|
|
|
|
|
returned values. The function returns void.
|
|
|
|
|
* libmisc/system.c: Only return status if waitpid succeeded.
|
|
|
|
|
Return -1 otherwise.
|
|
|
|
|
|
2009-04-28 21:45:38 +00:00
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/chpasswd.c: Added support for changing the passwords
|
|
|
|
|
with PAM.
|
|
|
|
|
* src/chpasswd.c: Split the usage string in smaller parts to
|
2009-05-09 13:15:57 +00:00
|
|
|
allow enabling single parts.
|
2009-04-28 21:45:38 +00:00
|
|
|
* src/chpasswd.c: Do not set a global lock on the password files.
|
|
|
|
|
This is done by PAM each time a password is updated.
|
|
|
|
|
|
2009-04-28 21:01:20 +00:00
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/defines.h: Include <utmpx.h> and <utmp.h> to define
|
|
|
|
|
USER_NAME_MAX_LENGTH.
|
|
|
|
|
|
2009-04-28 20:59:31 +00:00
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Change a snprintf() to strncpy(). There are no
|
|
|
|
|
format.
|
|
|
|
|
|
2009-04-28 20:46:35 +00:00
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/passwd.c: Harmonize status report at the end of passwd.
|
|
|
|
|
Prefix the messages with "passwd: ", only indicate a password
|
|
|
|
|
change if the password was actually changed, and password
|
|
|
|
|
properties changed otherwise.
|
|
|
|
|
|
2009-04-28 20:08:30 +00:00
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2009-04-28 20:10:18 +00:00
|
|
|
* src/chgpasswd.c, src/newusers.c: There is no need to test for 0
|
|
|
|
|
after getopt_long. No options have flag != NULL.
|
2009-04-28 20:08:30 +00:00
|
|
|
|
2009-04-28 20:06:46 +00:00
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes.h: Replace #if by #ifdef
|
2009-04-28 20:08:30 +00:00
|
|
|
* libmisc/Makefile.am, lib/prototypes.h,
|
|
|
|
|
libmisc/non_interactive_pam_conv.c: Added
|
2009-04-28 20:06:46 +00:00
|
|
|
non_interactive_pam_conv() and non_interactive_password.
|
|
|
|
|
|
2009-04-28 20:03:23 +00:00
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/utmp.c, src/userdel.c, src/logoutd.c: Replace #if by #ifdef
|
|
|
|
|
|
2009-04-28 19:26:27 +00:00
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/vipw.c: Harmonize messages.
|
|
|
|
|
|
2009-04-28 19:25:15 +00:00
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/lastlog.c: Replace atoi() by getulong().
|
|
|
|
|
|
2009-04-28 19:19:33 +00:00
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.
|
|
|
|
|
|
2009-04-28 19:17:21 +00:00
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/rlogin.c: Replace atoi() by getulong().
|
|
|
|
|
|
2009-04-28 19:14:50 +00:00
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.
|
|
|
|
|
|
2009-04-28 19:14:05 +00:00
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
|
|
|
|
|
are no more needed.
|
|
|
|
|
|
|
|
|
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
2009-04-28 19:12:48 +00:00
|
|
|
|
|
|
|
|
* libmisc/limits.c: Replace strtol() by getlong().
|
|
|
|
|
* libmisc/limits.c: Replace HAVE_UTMPX_H by USE_UTMPX.
|
|
|
|
|
|
2009-04-27 20:29:43 +00:00
|
|
|
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/groupmod.8.xml, man/usermod.8.xml, man/groupadd.8.xml,
|
|
|
|
|
man/useradd.8.xml: Added note to warn about insecurity in using
|
|
|
|
|
--password.
|
|
|
|
|
* man/groupmod.8.xml: Removed not regarding default if --password
|
|
|
|
|
is not used. This was a cut&paste from groupadd.8.xml.
|
|
|
|
|
* man/passwd.1.xml: Split some paragraphs.
|
|
|
|
|
* man/passwd.1.xml: Recommend other encryption methods than DES.
|
|
|
|
|
|
2009-04-27 20:25:23 +00:00
|
|
|
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Move update_utmp() after the PID or session ID
|
|
|
|
|
changed in order to get more accurate data in UTMP. This also
|
|
|
|
|
fixes "exec login" when login in installed setuid.
|
|
|
|
|
|
2009-04-27 20:21:48 +00:00
|
|
|
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Reuse a string and avoid an untranslated message
|
|
|
|
|
"Login incorrect".
|
|
|
|
|
|
2009-04-27 20:20:37 +00:00
|
|
|
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Replace HAVE_UTMPX_H by USE_UTMPX.
|
|
|
|
|
* src/login.c: Avoid name clash between global variables and the
|
|
|
|
|
update_utmp() arguments.
|
|
|
|
|
|
2009-04-27 20:16:04 +00:00
|
|
|
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2009-04-27 20:18:00 +00:00
|
|
|
* src/groupadd.c, lib/commonio.c, lib/groupio.c: Added missing
|
|
|
|
|
include of <assert.h>
|
2009-04-27 20:16:04 +00:00
|
|
|
|
2009-04-27 20:15:09 +00:00
|
|
|
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes.h: Replace HAVE_UTMPX_H by USE_UTMPX.
|
|
|
|
|
* lib/prototypes.h, libmisc/log.c: Added splint annotations.
|
|
|
|
|
* libmisc/log.c: Added SYSLOG warning when lseek fails (should not
|
|
|
|
|
happen).
|
|
|
|
|
|
2009-04-27 20:09:18 +00:00
|
|
|
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/mail.c, libmisc/copydir.c: Added missing include of
|
|
|
|
|
<assert.h>
|
|
|
|
|
|
2009-04-27 20:07:59 +00:00
|
|
|
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/env.c: Added assertions on the snprintf results.
|
|
|
|
|
|
2009-04-27 20:03:48 +00:00
|
|
|
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, configure.in: Added configure option --enable-utmpx,
|
|
|
|
|
disabled by default. This defines USE_UTMPX, which should be used
|
|
|
|
|
instead of HAVE_UTMPX_H.
|
2009-04-27 20:06:25 +00:00
|
|
|
* libmisc/utmp.c: Replace HAVE_UTMPX_H by USE_UTMPX.
|
|
|
|
|
* libmisc/utmp.c: Removed old comment on HAVE_STRUCT_UTMP_UT_ID
|
|
|
|
|
and UTMPX support.
|
2009-04-27 20:03:48 +00:00
|
|
|
|
2009-04-27 19:56:34 +00:00
|
|
|
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: Fix typo.
|
|
|
|
|
|
2009-04-26 17:11:38 +00:00
|
|
|
2009-04-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newgrp.c: Close the databases before changing the UDI and
|
|
|
|
|
GID.
|
|
|
|
|
|
2009-04-26 17:10:49 +00:00
|
|
|
2009-04-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/myname.c: Updated splint annotations.
|
|
|
|
|
|
2009-04-26 16:48:51 +00:00
|
|
|
2009-04-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Added splint annotations.
|
|
|
|
|
* lib/commonio.c: old_context should be local to commonio_close(),
|
|
|
|
|
not global.
|
|
|
|
|
|
2009-04-26 16:44:54 +00:00
|
|
|
2009-04-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/passwd.c: Do not freecon strings duplicated with strdup.
|
|
|
|
|
Also avoid allocation of memory.
|
|
|
|
|
* src/passwd.c: Use SYSLOG instead of syslog.
|
|
|
|
|
|
2009-04-26 12:26:10 +00:00
|
|
|
2009-04-25 Miroslav Kure <kurem@upcase.inf.upol.cz>
|
|
|
|
|
|
|
|
|
|
* po/cs.po: Updated to 352T7f8u
|
|
|
|
|
|
2009-04-25 12:43:27 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.h, lib/commonio.c: Added splint annotations.
|
2009-04-25 13:41:52 +00:00
|
|
|
* lib/commonio.c: Do not assumes eptr is always notnull.
|
2009-04-25 12:43:27 +00:00
|
|
|
|
2009-04-25 11:06:35 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, po/pt.po: Updated Portuguese translation.
|
|
|
|
|
|
2009-04-24 23:41:28 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/copydir.c: Added splint annotations.
|
|
|
|
|
* libmisc/copydir.c: Added assert to help splint.
|
|
|
|
|
* libmisc/copydir.c: Free allocated structures in cas of failure.
|
|
|
|
|
* libmisc/copydir.c: Avoid implicit conversion of pointers to
|
|
|
|
|
booleans.
|
|
|
|
|
* libmisc/copydir.c: Use buffers of size PATH_MAX instead of 1024
|
|
|
|
|
for filenames.
|
|
|
|
|
* libmisc/copydir.c: Use fchmod and fchown to change the mode of
|
|
|
|
|
the opened file.
|
|
|
|
|
* libmisc/copydir.c: Indicate the mode to open(), even if we chmod
|
|
|
|
|
later.
|
|
|
|
|
|
2009-04-24 23:35:57 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes.h: Added prototypes of getulong() and get_pid().
|
|
|
|
|
* lib/prototypes.h: Added splint annotations.
|
|
|
|
|
|
2009-04-24 23:35:01 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Use get_pid() instead of strtol.
|
|
|
|
|
* lib/commonio.c: Replace an int by a size_t.
|
|
|
|
|
|
2009-04-24 23:33:47 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.h: Added splint annotations.
|
|
|
|
|
|
2009-04-24 23:32:52 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/sgroupio.c: Free allocated structures on failure.
|
|
|
|
|
* lib/sgroupio.c: Added splint annotations.
|
|
|
|
|
|
2009-04-24 23:28:15 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/Makefile.am, lib/get_pid.c, lib/getulong.c: Added get_pid()
|
|
|
|
|
and getulong().
|
|
|
|
|
|
2009-04-24 23:27:12 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/getlong.c: Do not check for NULL string but empty string.
|
|
|
|
|
|
2009-04-24 23:26:31 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/groupio.c: Updated splint annotations.
|
|
|
|
|
* lib/groupio.c: Added assert to help splint.
|
|
|
|
|
|
2009-04-24 23:23:51 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: Check assumptions on snprintf().
|
|
|
|
|
* src/useradd.c: Replace peror by an strerror and avoid an
|
|
|
|
|
intermediate buffer.
|
|
|
|
|
* src/useradd.c: Save errno between the failure and the report by
|
|
|
|
|
perror/strerror.
|
|
|
|
|
* src/useradd.c: Prefer xmalloc to malloc.
|
|
|
|
|
|
2009-04-24 23:05:29 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/lastlog.c: Remove function calls from within assert().
|
|
|
|
|
|
2009-04-24 23:04:27 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/obscure.c: Change some int to size_t.
|
|
|
|
|
|
2009-04-24 23:03:14 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/console.c: Use a less disturbing construct for splint.
|
|
|
|
|
|
2009-04-24 22:56:42 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/limits.c: Parse the limits, umask, nice, maxlogin, file
|
|
|
|
|
limit with getlog() / getulong(). This also means, in case of
|
|
|
|
|
non-PAM enabled systems, that the umask specified on the GECOS
|
|
|
|
|
fields should start with a 0 if specified in octal. (it used to be
|
|
|
|
|
force to octal). Do the appropriate cast and range checking.
|
|
|
|
|
|
2009-04-24 22:49:20 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/salt.c: In case gettimeofday() fails, get some entropy
|
|
|
|
|
from the PID.
|
|
|
|
|
|
2009-04-24 22:46:06 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/setupenv.c: Prefer snprintf to sprintf, even if a small
|
|
|
|
|
context indicates no issues.
|
|
|
|
|
* libmisc/setupenv.c: Avoid implicit conversion of pointers to
|
|
|
|
|
booleans.
|
|
|
|
|
|
2009-04-24 22:27:58 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/loginprompt.c: Prefer snprintf to sprintf, even if a
|
|
|
|
|
small context indicates no issues.
|
|
|
|
|
|
2009-04-24 22:27:09 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/faillog.c: Remove function calls from within assert().
|
|
|
|
|
|
2009-04-24 22:22:57 +00:00
|
|
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/mail.c: Ignore the return value of puts().
|
|
|
|
|
* libmisc/mail.c: Prefer snprintf to sprintf, even if a small
|
|
|
|
|
context indicates no issues.
|
|
|
|
|
|
2009-04-23 21:19:02 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c, lib/commonio.h, lib/groupio.c, lib/groupio.h,
|
|
|
|
|
lib/pwio.c, lib/pwio.h, lib/shadowio.c, lib/shadowio.h: Added
|
|
|
|
|
splint annotations. The *_locate() and *_next() functions
|
|
|
|
|
currently return an observer. As the structure are often modified
|
|
|
|
|
by the caller, it could maybe be changed to exposed later. (and
|
|
|
|
|
non-const)
|
|
|
|
|
|
2009-04-23 20:46:01 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/pwauth.c: Use a boolean for wipe_clear_pass and use_skey.
|
|
|
|
|
* lib/pwauth.c: Added splint annotations.
|
|
|
|
|
* lib/pwauth.c: Added brackets and parenthesis.
|
|
|
|
|
* lib/pwauth.c: Avoid assignments in comparisons.
|
|
|
|
|
* lib/pwauth.c: Avoid implicit conversion of pointers or
|
|
|
|
|
characters to booleans.
|
|
|
|
|
|
2009-04-23 20:39:29 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/groupmod.c: Cast ID to ulongs and use ulong formats for IDs.
|
|
|
|
|
|
2009-04-23 20:37:00 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newgrp.c: Added splint annotations.
|
|
|
|
|
* src/newgrp.c: audit_buf is only used in newgrp. Make it static.
|
|
|
|
|
* src/newgrp.c: Ignore the return value of fputs().
|
|
|
|
|
* src/newgrp.c: Use exit(EXIT_FAILURE) instead of exit(1).
|
|
|
|
|
|
2009-04-23 20:17:02 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/pwdcheck.c (passwd_check): The progname is not used.
|
|
|
|
|
* libmisc/pwdcheck.c: Ignore the return value of sleep().
|
|
|
|
|
* libmisc/pwdcheck.c: Use exit(EXIT_FAILURE) instead of exit(1).
|
|
|
|
|
|
2009-04-23 17:45:42 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/setupenv.c: Avoid assignments in comparisons.
|
|
|
|
|
* libmisc/setupenv.c: Added brackets and parenthesis.
|
|
|
|
|
* libmisc/setupenv.c: Ignore the return value of fclose (file
|
|
|
|
|
opened read-only)
|
|
|
|
|
* libmisc/setupenv.c: Ignore the return value of puts().
|
2009-04-23 20:17:02 +00:00
|
|
|
* libmisc/setupenv.c: Avoid implicit conversion of pointers to
|
2009-04-23 17:45:42 +00:00
|
|
|
booleans.
|
|
|
|
|
|
2009-04-23 17:43:27 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/find_new_gid.c, libmisc/find_new_uid.c,
|
|
|
|
|
libmisc/isexpired.c, src/groupadd.c, lib/pwauth.h, lib/groupmem.c,
|
|
|
|
|
lib/shadowmem.c, lib/pwmem.c, lib/prototypes.h: Added splint
|
|
|
|
|
annotations.
|
|
|
|
|
|
2009-04-23 17:34:46 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/loginprompt.c: Use exit(EXIT_FAILURE) instead of
|
|
|
|
|
exit(1).
|
|
|
|
|
* libmisc/loginprompt.c: Avoid implicit conversion of pointers to
|
|
|
|
|
booleans.
|
|
|
|
|
* libmisc/loginprompt.c: Ignore return value of putc().
|
|
|
|
|
|
2009-04-23 17:33:21 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/env.c, libmisc/age.c: Added splint annotations.
|
|
|
|
|
* libmisc/age.c: Added brackets and parenthesis.
|
|
|
|
|
* libmisc/age.c: Ignore the return value of fclose (file opened
|
|
|
|
|
read-only)
|
|
|
|
|
* libmisc/age.c: Ignore puts() return value.
|
|
|
|
|
* libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
|
|
|
|
|
* libmisc/age.c: Avoid assignments in comparisons.
|
|
|
|
|
|
2009-04-23 11:53:55 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2009-04-23 11:54:30 +00:00
|
|
|
* lib/fputsx.c, lib/gshadow.c, lib/commonio.h: Added splint
|
|
|
|
|
annotations.
|
2009-04-23 11:53:55 +00:00
|
|
|
|
2009-04-23 11:46:06 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/get_gid.c: gidstr should not be NULL, but the check was
|
|
|
|
|
meant to make sure it is not empty.
|
|
|
|
|
* lib/get_uid.c: Likewise.
|
|
|
|
|
|
|
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/getdef.c: Added splint annotations.
|
|
|
|
|
* lib/getdef.c: Ignore fputs() return value.
|
|
|
|
|
* lib/getdef.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
|
|
|
|
|
|
2009-04-23 11:23:53 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/faillog.c: Added splint annotations.
|
|
|
|
|
* src/faillog.c: Cast ID to ulongs and use ulong formats for IDs.
|
|
|
|
|
* src/faillog.c: Ignore fflush() return value.
|
|
|
|
|
* src/faillog.c: Added parenthesis.
|
|
|
|
|
|
2009-04-23 11:21:57 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/grpck.c: Ignore puts return value.
|
|
|
|
|
* src/grpck.c: Avoid variable format string.
|
|
|
|
|
|
2009-04-23 11:21:01 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/lastlog.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
|
|
|
|
|
* src/lastlog.c: Added splint annotations.
|
|
|
|
|
* src/lastlog.c: Avoid global pwent.
|
|
|
|
|
* src/lastlog.c: Cast ID to ulongs and use ulong formats for IDs.
|
|
|
|
|
* src/lastlog.c: Avoid assignment in comparisons.
|
|
|
|
|
* src/lastlog.c: Ignore fclose() return value since the file is
|
|
|
|
|
only opened for reading.
|
|
|
|
|
|
2009-04-23 11:17:22 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newgrp.c: Added assertion to guide splint (and me).
|
|
|
|
|
|
2009-04-23 11:16:38 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/find_new_gid.c: Use booleans instead of char fo
|
|
|
|
|
used_gids.
|
|
|
|
|
* libmisc/find_new_gid.c: Use getdef_ulong and cast to git_t to
|
|
|
|
|
get GID values.
|
|
|
|
|
* libmisc/find_new_gid.c: Use UL as a prefix for ulong values.
|
|
|
|
|
* libmisc/find_new_uid.c: Likewise.
|
|
|
|
|
|
2009-04-23 11:14:56 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/yesno.c: Ignore the return value of puts.
|
|
|
|
|
|
2009-04-23 11:14:18 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
|
|
|
|
|
* libmisc/age.c: The return value of execl() is not used.
|
|
|
|
|
|
2009-04-23 09:57:03 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/xgetXXbyYY.c, libmisc/myname.c, libmisc/getgr_nam_gid.c,
|
|
|
|
|
libmisc/salt.c, libmisc/list.c, libmisc/cleanup.c, src/login.c,
|
|
|
|
|
lib/getdef.h, lib/groupio.c, lib/getlong.c, lib/gshadow_.h,
|
|
|
|
|
lib/sgroupio.c, lib/shadowio.c, lib/pwio.c, lib/commonio.h,
|
|
|
|
|
lib/fputsx.c, lib/prototypes.h: Added splint annotations.
|
|
|
|
|
* lib/groupio.c: Avoid implicit conversion of pointers to
|
|
|
|
|
booleans.
|
|
|
|
|
* lib/groupio.c: Free allocated buffers in case of failure.
|
|
|
|
|
|
2009-04-22 21:22:32 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/defines.h: Added splint definitions to replace <locale.h>
|
|
|
|
|
|
2009-04-22 21:07:33 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2009-04-22 21:21:14 +00:00
|
|
|
* libmisc/utmp.c, libmisc/age.c, libmisc/shell.c, lib/groupio.c,
|
|
|
|
|
lib/groupio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c,
|
|
|
|
|
lib/pwio.c, lib/commonio.c, lib/shadowio.h, lib/pwio.h,
|
|
|
|
|
lib/commonio.h, lib/prototypes.h: Added splint annotations.
|
2009-04-22 21:07:33 +00:00
|
|
|
|
2009-04-22 21:06:13 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/utmp.c: Only set ut_time and ut_tv if gettimeofday()
|
|
|
|
|
succeeds.
|
|
|
|
|
|
2009-04-22 21:02:46 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2009-04-22 21:04:16 +00:00
|
|
|
* libmisc/utmp.c: Fix the check for empty host in prepare_utmp()
|
|
|
|
|
and prepare_utmpx().
|
|
|
|
|
|
|
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/utmp.c: The ut argument of prepare_utmp() and
|
|
|
|
|
prepare_utmpx () might be NULL. ut_id needs to be forged in that
|
|
|
|
|
case.
|
2009-04-22 21:02:46 +00:00
|
|
|
|
2009-04-22 21:00:18 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/utmp.c: Removed old documentation of setutmp().
|
|
|
|
|
|
2009-04-22 20:59:23 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/utmp.c: Use xmalloc() rather than malloc().
|
|
|
|
|
|
2009-04-22 20:57:29 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/utmp.c: The name returned by ttyame() needs to be copied
|
|
|
|
|
locally.
|
|
|
|
|
|
2009-04-22 20:51:13 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Added assert()s for NULL (or ! NULL) username, and
|
|
|
|
|
pwd. This helps splint.
|
2009-04-22 20:53:15 +00:00
|
|
|
* src/login.c: Added splint annotations.
|
2009-04-22 20:51:13 +00:00
|
|
|
|
2009-04-22 20:46:49 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: After login_prompt(), do not check for unset
|
|
|
|
|
username, but for empty username.
|
|
|
|
|
|
2009-04-22 20:42:48 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/defines.h: Define USER_NAME_MAX_LENGTH, based on utmp and
|
|
|
|
|
default to 32.
|
|
|
|
|
* libmisc/chkname.c: Use USER_NAME_MAX_LENGTH.
|
|
|
|
|
* src/login.c: Use USER_NAME_MAX_LENGTH instead of the default 32.
|
|
|
|
|
username also needs to be bigger than USER_NAME_MAX_LENGTH because
|
|
|
|
|
it has to be nul-terminated.
|
|
|
|
|
|
2009-04-22 20:21:17 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Use xmalloc() instead of malloc().
|
|
|
|
|
|
2009-04-22 20:17:11 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Ignore the return value of puts(), fputs(),
|
|
|
|
|
strftime().
|
|
|
|
|
|
2009-04-22 20:15:21 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: timeout, delay, and retries should be unsigned.
|
|
|
|
|
* src/login.c: Ignore the return value of alarm() and sleep().
|
|
|
|
|
|
2009-04-22 20:12:06 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: If we cannot get the terminal configuration, do not
|
|
|
|
|
change the terminal configuration. setup_tty() is just a best
|
|
|
|
|
effort configuration of the terminal.
|
|
|
|
|
* src/login.c: Ignore failures when setting the terminal
|
|
|
|
|
configuration.
|
|
|
|
|
* src/login.c: Fail if the ERASECHAR or KILLCHAR configurations
|
|
|
|
|
are not compatible with a cc_t type.
|
|
|
|
|
|
2009-04-22 20:07:34 +00:00
|
|
|
2009-04-22 Paul Szabo <psz@maths.usyd.edu.au>
|
|
|
|
|
|
|
|
|
|
* src/login.c: utent might be NULL after get_current_utmp().
|
|
|
|
|
|
2009-04-22 20:03:26 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Removed temp_shell. No more used.
|
|
|
|
|
* src/login.c: lastlog is only used #ifndef USE_PAM
|
|
|
|
|
* src/login.c: Rename lastlog to ll to avoid name clash with the
|
|
|
|
|
lastlog type.
|
|
|
|
|
|
2009-04-22 19:58:39 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Added update_utmp() to group the prepare_utmp and
|
|
|
|
|
setutmp (and the utmpx versions).
|
|
|
|
|
|
2009-04-22 19:54:28 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Do not include netdb.h. gethostbyname() is no more
|
|
|
|
|
called from within login.c. Also UT_ADDR does not exist anymore.
|
|
|
|
|
|
2009-04-21 22:46:01 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Check if login is run with effective root
|
|
|
|
|
privileges. This should be more helpful to users than a failure to
|
|
|
|
|
find an utmp entry or failure to access a file.
|
|
|
|
|
|
2009-04-21 22:39:52 +00:00
|
|
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/utmp.c: Reworked. Get rid of Linux specific stuff. Get rid
|
|
|
|
|
of global utent/utxent variables. Only reuse the ut_id and maybe
|
|
|
|
|
the ut_host fields from utmp.
|
|
|
|
|
* lib/prototypes.h, libmisc/utmp.c: Removed checkutmp(),
|
|
|
|
|
setutmp(), setutmpx().
|
|
|
|
|
* lib/prototypes.h, libmisc/utmp.c: Added get_current_utmp(),
|
|
|
|
|
prepare_utmp(), prepare_utmpx(), setutmp(), setutmpx().
|
|
|
|
|
* libmisc/utmp.c (is_my_tty): Only compare the name of the utmp
|
|
|
|
|
line with ttyname(). (No stat of the two terminals to compare the
|
|
|
|
|
devices).
|
|
|
|
|
* libmisc/utmp.c: Use getaddrinfo() to get the address of the
|
|
|
|
|
host.
|
|
|
|
|
* configure.in: Check for getaddrinfo().
|
|
|
|
|
* configure.in: Use AC_CHECK_MEMBERS to check for the existence of
|
|
|
|
|
fields in the utmp/utmpx structures.
|
|
|
|
|
* configure.in: Reject systems with utmpx support but no ut_id
|
|
|
|
|
field in utmp. This could be fixed later if needed.
|
|
|
|
|
* src/login.c: Use the new utmp functions. This also simplifies
|
|
|
|
|
the failtmp() handling.
|
|
|
|
|
* src/login.c: passwd_free() renamed to pw_free() and
|
|
|
|
|
shadow_free() renamed to spw_free()
|
|
|
|
|
|
2009-04-21 22:22:08 +00:00
|
|
|
2009-04-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, configure.in: Enable --enable-account-tools-setuid by
|
|
|
|
|
default for PAM builds, as it used to be before the introduction
|
|
|
|
|
of this option.
|
|
|
|
|
|
2009-04-21 22:16:17 +00:00
|
|
|
2009-04-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* etc/pam.d/Makefile.am: Distribute all pam.d files, even if
|
|
|
|
|
ACCT_TOOLS_SETUID is not enabled.
|
|
|
|
|
|
2009-04-21 22:14:10 +00:00
|
|
|
2009-04-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/shadowmem.c: Added spw_free().
|
|
|
|
|
* lib/shadowio.c: Use spw_free() for shadow_free().
|
|
|
|
|
* lib/groupmem.c: Added gr_free().
|
|
|
|
|
* lib/groupio.c: Use gr_free() for group_free().
|
|
|
|
|
* lib/pwmem.c: Include define.h before prototypes.h
|
|
|
|
|
* lib/pwmem.c: Added pw_free().
|
|
|
|
|
* lib/pwio.c: Use pw_free() for passwd_free().
|
|
|
|
|
* lib/sgroupio.c: Added sgr_free().
|
|
|
|
|
* lib/sgroupio.c: Use sgr_free() for gshadow_free().
|
|
|
|
|
* lib/prototypes.h: Added gr_free(), pw_free(), sgr_free(),
|
|
|
|
|
spw_free().
|
|
|
|
|
|
2009-04-21 22:07:35 +00:00
|
|
|
2009-04-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/shell.c: Add brackets and parenthesis.
|
|
|
|
|
* libmisc/shell.c: Avoid assignments in comparisons.
|
|
|
|
|
* libmisc/shell.c: Re-indent.
|
|
|
|
|
|
|
|
|
|
2009-04-21 Nicolas François <nicolas.francois@centraliens.net>
|
2009-04-21 22:06:09 +00:00
|
|
|
|
|
|
|
|
* lib/defines.h: Added MIN and MAX macros.
|
|
|
|
|
* libmisc/salt.c: Removed MIN and MAX macros.
|
|
|
|
|
|
2009-04-20 14:04:48 +00:00
|
|
|
2009-04-20 Sven Joachim <svenjoac@gmx.de>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/lastlog.c: Fix regression causing empty reports.
|
2009-04-20 14:06:06 +00:00
|
|
|
Get the size of the file before printing the entries.
|
2009-04-20 14:04:48 +00:00
|
|
|
|
2009-04-20 13:29:15 +00:00
|
|
|
2009-04-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Get rid of pwent. pwd is sufficient as long as it
|
|
|
|
|
is always coming from xgetpwnam. There is no need to copy pwd to
|
|
|
|
|
pwent, this was not a good idea anyway as the strings from pwd
|
|
|
|
|
were not duplicated.
|
|
|
|
|
* src/login.c: Always free the pwd and spwd structure when we
|
|
|
|
|
retrieve a new one. This will clear the password of the previous
|
|
|
|
|
user from the memory.
|
|
|
|
|
* src/login.c: user_passwd is used to keep point to the password
|
|
|
|
|
of the user being authenticated.
|
|
|
|
|
* src/login.c: (non PAM) Fail if the user's entry cannot be found
|
|
|
|
|
after the user updated her password (if expire() requested an
|
|
|
|
|
update).
|
|
|
|
|
* src/login.c: If the user does not exist on the system, there is
|
|
|
|
|
no need to build a pwd structure (with shell).
|
|
|
|
|
|
2009-04-20 13:12:09 +00:00
|
|
|
2009-04-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: ttytype already checks for TTYTYPE_FILE and TERM.
|
|
|
|
|
Just call ttytype.
|
|
|
|
|
|
2009-04-20 12:54:17 +00:00
|
|
|
2009-04-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Open the PAM session before pam_setcred and before
|
|
|
|
|
initgroups. This is more consistent with rfc86.0.
|
|
|
|
|
|
2009-04-20 12:47:04 +00:00
|
|
|
2009-04-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Added helper functions get_pam_user() and
|
|
|
|
|
get_failent_user().
|
|
|
|
|
|
2009-04-20 12:33:01 +00:00
|
|
|
2009-04-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Added parameter to check_nologin. This will help
|
|
|
|
|
getting rid of the global pwent variable.
|
|
|
|
|
|
2009-04-20 12:27:27 +00:00
|
|
|
2009-04-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Added comments.
|
|
|
|
|
* src/login.c: Close the user and group files before dropping root
|
|
|
|
|
privileges.
|
|
|
|
|
|
2009-04-20 12:16:07 +00:00
|
|
|
2009-04-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: We do not need to keep the old umask. Discard the
|
|
|
|
|
umask() return value.
|
|
|
|
|
|
2009-04-20 11:48:59 +00:00
|
|
|
2009-04-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/hushed.c, lib/prototypes.h, src/login.c: Change the
|
|
|
|
|
hushed() prototype to take a username instead of a passwd
|
|
|
|
|
structure in argument. The passwd entry is retrieved withing
|
|
|
|
|
hushed().
|
|
|
|
|
|
2009-04-20 11:43:36 +00:00
|
|
|
2009-04-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/setugid.c: Updated comments.
|
|
|
|
|
|
2009-04-20 11:39:16 +00:00
|
|
|
2009-04-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/failure.h, libmisc/failure.c, src/login.c: Added
|
|
|
|
|
username as first parameter of failtmp to avoid issues with
|
|
|
|
|
non-null terminated ut_user, unavailability of ut_user, incomplete
|
|
|
|
|
username (that should not happen currently).
|
|
|
|
|
|
2009-04-20 11:31:05 +00:00
|
|
|
2009-04-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/ttytype.c: Add brackets and parenthesis.
|
|
|
|
|
* libmisc/ttytype.c: Avoid assignments in comparisons.
|
|
|
|
|
|
2009-04-20 11:29:17 +00:00
|
|
|
2009-04-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/pwio.c, lib/shadowio.c, lib/groupio.c, lib/sgroupio.c: Fill
|
|
|
|
|
the password fields with zeros before they are freed.
|
|
|
|
|
|
2009-04-19 16:26:17 +00:00
|
|
|
2009-04-19 Changwoo Ryu <cwryu@debian.org>
|
|
|
|
|
|
|
|
|
|
* po/ko.po: Updated Korean translation.
|
|
|
|
|
|
2009-04-19 16:22:17 +00:00
|
|
|
2009-04-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/login.c: Also check if the authentication token of the
|
|
|
|
|
user has to be updated in case the user was already authenticated.
|
|
|
|
|
|
2009-04-19 16:09:00 +00:00
|
|
|
2009-04-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: fflg is already restricted to root. Move
|
|
|
|
|
pam_acct_mgmt(), in case of fflg, earlier. This is equivalent and
|
|
|
|
|
simplifies the code.
|
|
|
|
|
|
2009-04-19 15:28:38 +00:00
|
|
|
2009-04-19 Paul Szabo <psz@maths.usyd.edu.au>
|
|
|
|
|
|
|
|
|
|
* libmisc/utmp.c: Always call endutent or endutxent when setutent
|
|
|
|
|
or setutxent were used.
|
|
|
|
|
|
2009-04-19 13:33:24 +00:00
|
|
|
2009-04-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Added comment to make sure PAM_RHOST or PAM_TTY do
|
|
|
|
|
not get set to unsanitized values.
|
|
|
|
|
|
2009-04-17 20:40:26 +00:00
|
|
|
2009-04-17 Paul Szabo <psz@maths.usyd.edu.au>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/login.c: Do not trust the current utmp entry's ut_line
|
|
|
|
|
to set PAM_TTY.
|
2009-04-17 21:25:30 +00:00
|
|
|
* libmisc/utmp.c: Do not trust the current utmp entry's ut_line.
|
|
|
|
|
Always set ut_line based on ttyname(0).
|
2009-04-17 20:40:26 +00:00
|
|
|
|
2009-04-15 21:46:06 +00:00
|
|
|
2009-04-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
|
|
|
|
|
* po/*.po, man/po/*.po: Updated PO files.
|
2009-04-15 21:46:42 +00:00
|
|
|
* configure.in: Updated version number.
|
2009-04-15 21:46:06 +00:00
|
|
|
|
2009-04-17 20:40:26 +00:00
|
|
|
2009-04-15 Peter Vrabec <pvrabec@redhat.com>
|
2009-04-15 21:14:08 +00:00
|
|
|
|
|
|
|
|
* NEWS, src/userdel.c: Fixed SE Linux support. semanage should be
|
|
|
|
|
called at the end.
|
|
|
|
|
* src/useradd.c: Always call selinux_update_mapping() (i.e.
|
|
|
|
|
semanage), not only when -Z is used.
|
|
|
|
|
|
2009-04-17 20:40:26 +00:00
|
|
|
2009-04-15 Peter Vrabec <pvrabec@redhat.com>
|
2009-04-15 17:50:17 +00:00
|
|
|
|
|
|
|
|
* NEWS, srclib/getlong.c: Fix parsing of octal numbers.
|
|
|
|
|
|
|
|
|
|
2009-04-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/login.c: Fix segfault when no user is provided on the
|
|
|
|
|
command line.
|
|
|
|
|
|
2009-04-15 17:42:34 +00:00
|
|
|
2009-04-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* README, libmisc/system.c: Was contributed by Dan Walsh.
|
|
|
|
|
|
2009-04-15 17:42:27 +00:00
|
|
|
2009-04-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEW, src/vipw.c: SE Linux: Set the default context to the
|
|
|
|
|
context of the file being edited. This ensures that the backup
|
|
|
|
|
file inherit from the file's context.
|
|
|
|
|
|
2009-04-14 22:19:11 +00:00
|
|
|
2009-04-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/usermod.8.xml: There are no default values for --inactive
|
|
|
|
|
and --gid. If the options are no provided, the original values are
|
|
|
|
|
not changed.
|
|
|
|
|
|
2009-04-12 01:24:45 +00:00
|
|
|
2009-04-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
|
|
|
|
|
* po/*.po, man/po/*.po: Updated PO files.
|
|
|
|
|
|
2009-04-12 00:28:32 +00:00
|
|
|
2009-04-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: If there are no root account, or if the root account
|
|
|
|
|
has an UID != 0, default to the first UID 0 account.
|
|
|
|
|
|
2009-04-12 00:17:36 +00:00
|
|
|
2009-04-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Restore the echoctl, echoke, onclr flags to the
|
|
|
|
|
terminal termio flags. Reset echoprt, noflsh, tostop. This
|
|
|
|
|
behavior seems to have change by mistake in earlier releases
|
|
|
|
|
(4.0.8, for no obvious reason).
|
|
|
|
|
|
2009-04-12 00:08:26 +00:00
|
|
|
2009-04-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Fix the count of failures before login exits in
|
|
|
|
|
case of PAM enabled configurations.
|
|
|
|
|
|
2009-04-11 23:32:00 +00:00
|
|
|
2009-04-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/passwd.1.xml: Document that passwd uses PAM to authenticate
|
|
|
|
|
and change passwords on PAM-enabled builds.
|
|
|
|
|
|
2009-04-11 23:30:44 +00:00
|
|
|
2009-04-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newusers.c: Add more information to the mkdir and chown
|
|
|
|
|
failure messages.
|
|
|
|
|
|
2009-04-11 22:41:00 +00:00
|
|
|
2009-04-12 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: Updated some login.defs entries. Thanks to
|
|
|
|
|
Belkacem Abbas.
|
|
|
|
|
|
2009-04-11 22:36:11 +00:00
|
|
|
2009-04-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml,
|
|
|
|
|
man/login.defs.d/CONSOLE_GROUPS.xml: Fix typos.
|
|
|
|
|
|
2009-04-11 18:57:14 +00:00
|
|
|
2009-04-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/es/Makefile.am: Disable the distribution of Spanish
|
|
|
|
|
manpages. They are outdated. Please contact
|
|
|
|
|
pkg-shadow-devel@lists.alioth.debian.org if you wish to provide
|
|
|
|
|
updates.
|
|
|
|
|
|
2009-04-11 18:39:56 +00:00
|
|
|
2009-04-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c, src/useraddd.c: Fix the usage string so that it
|
|
|
|
|
does not change depending on the configure option. Use a format.
|
|
|
|
|
|
2009-04-11 18:37:59 +00:00
|
|
|
2009-04-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/gpasswd.c: Fix the usage of the unused macro.
|
|
|
|
|
|
2009-04-11 18:37:08 +00:00
|
|
|
2009-04-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A
|
|
|
|
|
shadow entry is now sufficient for agecheck. Remove the first
|
|
|
|
|
passwd entry parameter.
|
|
|
|
|
|
2009-04-11 16:47:32 +00:00
|
|
|
2009-04-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c, src/usermod.c: Only call selinux_update_mapping()
|
|
|
|
|
if Zflg is set.
|
2009-04-11 16:52:45 +00:00
|
|
|
* src/userdel.c: Rename argv to args to avoid nameclash with the
|
|
|
|
|
main() parameters.
|
2009-04-11 16:47:32 +00:00
|
|
|
|
2009-04-11 16:23:21 +00:00
|
|
|
2009-04-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/getgr_nam_gid.c: Added support for NULL argument.
|
|
|
|
|
* libmisc/chowntty.c: Reuse getgr_nam_gid(), and get rid of atol().
|
|
|
|
|
|
2009-04-11 16:00:45 +00:00
|
|
|
2009-04-11 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libmisc/find_new_gid.c, libmisc/find_new_uid.c: For system
|
|
|
|
|
accounts, return the first unused ID, starting from the max value.
|
|
|
|
|
This could be useful later to increase the static IDs range.
|
|
|
|
|
|
2009-04-11 15:34:10 +00:00
|
|
|
2009-04-11 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/useradd.c, man/useradd.8.xml: add -Z option to map
|
|
|
|
|
SELinux user for user's login.
|
|
|
|
|
* NEWS, src/usermod.c, man/usermod.8.xml: Likewise.
|
|
|
|
|
* libmisc/system.c, libmisc/Makefile.am, lib/prototypes.h: Added
|
|
|
|
|
safe_system(). Used to run semanage.
|
|
|
|
|
* lib/prototypes.h, libmisc/copydir.c: Make a
|
|
|
|
|
selinux_file_context() an extern function.
|
|
|
|
|
* libmisc/copydir.c: Reset SELinux to create files with default
|
|
|
|
|
contexts at the end of copy_tree().
|
|
|
|
|
* NEWS, src/userdel.c: Delete the SELinux user mapping for user's
|
|
|
|
|
login.
|
|
|
|
|
|
2009-04-11 14:55:49 +00:00
|
|
|
2009-04-11 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c (get_defaults): Close the default file after the
|
|
|
|
|
default values were read.
|
|
|
|
|
|
2009-04-11 13:53:41 +00:00
|
|
|
2009-04-11 Christian Perrier <bubulle@debian.org>
|
|
|
|
|
|
2009-04-11 14:55:49 +00:00
|
|
|
* po/sk.po: Slovak translation updated. Thanks to Ivan Masár
|
2009-04-11 13:53:41 +00:00
|
|
|
|
2009-04-10 22:35:43 +00:00
|
|
|
2009-04-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/Makefile.am, lib/prototypes.h: Added sgetspent.c.
|
|
|
|
|
|
|
|
|
|
2009-04-11 Nicolas François <nicolas.francois@centraliens.net>
|
2009-04-10 22:35:37 +00:00
|
|
|
|
|
|
|
|
* po/POTFILES.in: Added missing files. Sorted.
|
|
|
|
|
|
2009-04-10 22:35:26 +00:00
|
|
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/getdef.c: Use getlong instead of strtol/strtoul.
|
|
|
|
|
* libmisc/getlong, lib/getlong.c, libmisc/Makefile.am,
|
|
|
|
|
lib/Makefile.am: getlong.c moved from libmisc/ to lib/.
|
|
|
|
|
|
2009-04-10 22:35:14 +00:00
|
|
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/shadow.c: Replace strtol() by getlong(). Also detect more
|
|
|
|
|
issues in a numerical shadow entry field.
|
|
|
|
|
|
2009-04-10 22:35:07 +00:00
|
|
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/sgetspent.c: Only compile ifndef HAVE_SGETSPENT
|
|
|
|
|
|
2009-04-10 22:34:49 +00:00
|
|
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/sgetspent.c: Replace strtol() by getlong(). Also detect more
|
|
|
|
|
issues in a numerical shadow entry field.
|
|
|
|
|
|
2009-04-10 22:34:36 +00:00
|
|
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chage.c: More strtol() replaced by getlong().
|
2009-04-10 22:34:42 +00:00
|
|
|
* src/chage.c: expdays renamed to expdate. It is a date, even if
|
|
|
|
|
expressed in a number of days since Jan 1, 1970.
|
|
|
|
|
* src/chage.c: Likewise: lastday renamed to lstchgdate. Also fix
|
|
|
|
|
the --lastday documentation.
|
2009-04-10 22:34:36 +00:00
|
|
|
|
2009-04-10 22:34:29 +00:00
|
|
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
|
|
|
|
|
NOT defined.
|
|
|
|
|
|
2009-04-10 22:34:23 +00:00
|
|
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/passwd.c: Replace getnumber() by getlong(). This permits to
|
|
|
|
|
get rid of another strtol().
|
|
|
|
|
|
2009-04-10 22:34:17 +00:00
|
|
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/getlong.c: Include both <stdlib.h> and <errno.h> needed
|
|
|
|
|
for strtol and errno, and do not include "defines.h" (not needed).
|
|
|
|
|
|
2009-04-10 22:34:10 +00:00
|
|
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c,
|
|
|
|
|
libmisc/Makefile.am, lib/prototypes.h: Moved getgr_nam_gid() from
|
|
|
|
|
src/useradd.c and src/usermod.c to libmisc/getgr_nam_gid.c.
|
|
|
|
|
|
2009-04-10 22:33:50 +00:00
|
|
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2009-04-10 22:33:57 +00:00
|
|
|
* src/useradd.c: Re-indent.
|
2009-04-10 22:33:50 +00:00
|
|
|
* src/useradd.c: Use getlong instead of get_number.
|
2009-04-10 22:34:04 +00:00
|
|
|
* src/useradd.c: Get rid of strtol.
|
|
|
|
|
* src/useradd.c: Provide better warning in case a default GROUP or
|
|
|
|
|
INACTIVE value is not valid in /etc/default/useradd.
|
2009-04-10 22:33:50 +00:00
|
|
|
|
2009-04-10 22:33:43 +00:00
|
|
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c: Re-indent.
|
|
|
|
|
* src/usermod.c: Specifying a inactivity value < -1 is not valid.
|
|
|
|
|
|
2009-04-05 22:35:12 +00:00
|
|
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* configure.in: Prepare the next 4.1.3 release.
|
2009-04-05 23:52:46 +00:00
|
|
|
* po/*.po, man/po/*.po: Updated PO files.
|
2009-04-05 22:35:12 +00:00
|
|
|
|
2009-04-05 22:29:42 +00:00
|
|
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to
|
|
|
|
|
ifndef USE_PAM.
|
|
|
|
|
* lib/prototypes.h: Remove the declaration of add_cons_grps(). The
|
|
|
|
|
function does not exist.
|
2009-04-05 22:33:00 +00:00
|
|
|
* libmisc/setugid.c libmisc/age.c (setup_uid_gid): is_console is
|
|
|
|
|
never set ifndef USE_PAM. Change the prototype of setup_uid_gid()
|
|
|
|
|
when USE_PAM is not defined. This permits to remove add_groups
|
|
|
|
|
from PAM builds. setup_uid_gid is already subject to
|
|
|
|
|
HAVE_INITGROUPS.
|
2009-04-05 22:29:42 +00:00
|
|
|
* libmisc/pwd2spwd.c (pwd_to_spwd): pwd_to_spwd() is not used in
|
|
|
|
|
PAM builds.
|
|
|
|
|
|
2009-04-05 22:04:31 +00:00
|
|
|
2009-04-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/passwd.c: do_update_age is only used ifndef USE_PAM. Make it
|
|
|
|
|
more explicit.
|
|
|
|
|
|
2009-04-05 22:02:50 +00:00
|
|
|
2009-04-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: Set errno to 0 before calling strtol.
|
|
|
|
|
|
2009-04-05 22:02:00 +00:00
|
|
|
2009-04-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/isexpired.c: If there are no shadow entry, there is no
|
|
|
|
|
need to convert the password entry to a shadow entry. The password
|
|
|
|
|
is valid.
|
|
|
|
|
|
2009-04-05 21:23:55 +00:00
|
|
|
2009-04-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/usermod.8.xml: Split some paragraphs into smaller units.
|
|
|
|
|
|
2009-04-05 21:23:35 +00:00
|
|
|
2009-04-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/shadow.5.xml: Rewrote to mention the meaning of special
|
|
|
|
|
values.
|
|
|
|
|
|
2009-04-05 21:23:17 +00:00
|
|
|
2009-04-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2009-04-05 21:23:27 +00:00
|
|
|
* libmisc/pwd2spwd.c, src/chpasswd.c, src/newusers.c,
|
|
|
|
|
src/passwd.c, src/pwck.c, src/pwconv.c, src/useradd.c,
|
|
|
|
|
src/usermod.c: On Jan 01, 1970, do not set the sp_lstchg field to
|
|
|
|
|
0 (which means that the password shall be changed during the next
|
|
|
|
|
login), but use -1 (password aging disabled).
|
|
|
|
|
* src/passwd.c: Do not check sp_min if sp_lstchg is null or -1.
|
|
|
|
|
|
|
|
|
|
2009-04-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chage.c: When no shadow entry exist, the default sp_lstchg
|
2009-04-05 21:23:17 +00:00
|
|
|
value should be -1 (no aging) rather than 0 (password must be
|
|
|
|
|
changed).
|
|
|
|
|
* src/chage.c: For password expiration and inactivity, indicate
|
|
|
|
|
that the password must be changed when sp_lstchg is null rather
|
|
|
|
|
than indicating that expiration and inactivity are not enabled.
|
|
|
|
|
|
2009-04-05 21:23:06 +00:00
|
|
|
2009-04-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/isexpired.c: Document the isexpired return value.
|
|
|
|
|
|
2009-04-05 21:22:53 +00:00
|
|
|
2009-04-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/age.c: Return a specific message when sp_lstchg is null.
|
|
|
|
|
|
2009-03-21 20:29:58 +00:00
|
|
|
2009-03-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/sgetpwent.c, lib/sgetgrent.c: Use get_uid and get_gid to
|
|
|
|
|
validate the UIDs or GIDs instead of atoi/strtol.
|
|
|
|
|
|
2009-03-21 20:24:37 +00:00
|
|
|
2009-03-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
|
|
|
|
|
lib/get_gid.c, lib/get_uid.c, lib/Makefile.am: get_uid.c and
|
|
|
|
|
get_gid.c moved from libmisc/ to lib/.
|
|
|
|
|
|
2009-03-21 19:42:48 +00:00
|
|
|
2009-03-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/grpck.c (check_members): When a member is removed, do not
|
|
|
|
|
increase the index.
|
|
|
|
|
* src/grpck.c: Fix typo in messages and comments.
|
|
|
|
|
|
2009-03-21 19:12:00 +00:00
|
|
|
2009-03-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Call fsync before closing the backup file. This
|
|
|
|
|
ensures that the backup file is flushed to the storage medium.
|
2009-03-21 19:18:06 +00:00
|
|
|
* src/useradd.c: Likewise for the default file, faillog, lastlog,
|
|
|
|
|
and mail spool.
|
2009-03-21 19:25:02 +00:00
|
|
|
* src/usermod.c: Likewise for the faillog and lastlog file.
|
2009-03-21 19:28:02 +00:00
|
|
|
* src/vipw.c: Likewise for the backup file.
|
2009-03-21 19:32:14 +00:00
|
|
|
* libmisc/sulog.c: Likewise for the su log.
|
2009-03-21 19:12:00 +00:00
|
|
|
|
2009-03-15 21:38:08 +00:00
|
|
|
2009-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/groupmod.c: Embed gshadow related cleanup in #ifdef
|
|
|
|
|
SHADOWGRP.
|
|
|
|
|
|
2009-03-15 21:34:20 +00:00
|
|
|
2009-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c: get_number() replaced by getlong().
|
|
|
|
|
* src/usermod.c: When the user is renamed, make sure we do not
|
|
|
|
|
override an user with the same name (in passwd or shadow).
|
|
|
|
|
|
2009-03-15 21:32:26 +00:00
|
|
|
2009-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/gpasswd.c: log_gpasswd_success_gshadow is in the cleanup
|
|
|
|
|
stack only when the shadow group file is present.
|
|
|
|
|
|
2009-03-15 21:29:16 +00:00
|
|
|
2009-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/userdel.c: Make sure the user exists in the shadow
|
|
|
|
|
database before calling spw_remove().
|
|
|
|
|
* NEWS, src/userdel.c: When the user's group is removed, make sure
|
|
|
|
|
the group is in the gshadow database before calling sgr_remove().
|
|
|
|
|
* src/userdel.c: Improve warning's wording.
|
|
|
|
|
|
2009-03-15 21:15:48 +00:00
|
|
|
2009-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/cleanup.c: Fix del_cleanup. The arguments were not
|
|
|
|
|
desynchronized with the cleanup functions.
|
|
|
|
|
* libmisc/cleanup.c: cleanup_function_args is an array of void
|
|
|
|
|
pointer, not strings.
|
|
|
|
|
|
2009-03-15 21:12:57 +00:00
|
|
|
2009-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/find_new_gid.c: Fix find_new_gid() the current group
|
|
|
|
|
database was not taken into account.
|
|
|
|
|
|
2009-03-15 21:10:35 +00:00
|
|
|
2009-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/addgrps.c: Fix compilation warnings.
|
|
|
|
|
|
2009-03-14 16:18:06 +00:00
|
|
|
2009-03-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/po/Makefile.in.in: xml2po cannot exclude one entity for
|
|
|
|
|
expansion. Make sure config.xml does not exist when the POT file
|
|
|
|
|
is created in order to keep the configurations in the POT file
|
|
|
|
|
* man/generate_translations.mak: make sure config.xml does not
|
|
|
|
|
exist neither when the translated XML is generated. Add the
|
|
|
|
|
missing %config; (strip out by xml2po). and make sure config.xml
|
|
|
|
|
is present when the translated manpage is generated.
|
|
|
|
|
* man/generate_mans.mak: config.xml is needed for the generation
|
|
|
|
|
of manpages (already in the .deps for the English manpages, but
|
|
|
|
|
needed for the translations).
|
|
|
|
|
* man/Makefile.am: Added missing CREATE_HOME.xml.
|
|
|
|
|
|
2009-03-14 13:20:25 +00:00
|
|
|
2009-03-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* etc/login.defs: Added note for PAM enabled configurations.
|
|
|
|
|
|
2009-03-14 13:16:55 +00:00
|
|
|
2009-03-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/Makefile.am: Compute the dependencies for building the
|
|
|
|
|
manpages.
|
2009-03-14 13:29:55 +00:00
|
|
|
* man/generate_mans.deps: Added Makefile dependency rules.
|
2009-03-14 13:16:55 +00:00
|
|
|
|
2009-03-14 13:13:47 +00:00
|
|
|
2009-03-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/addgrps.c: Fix warnings.
|
|
|
|
|
|
2009-03-14 13:08:49 +00:00
|
|
|
2009-03-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/po/fr.po: Added missing space.
|
|
|
|
|
|
2009-03-14 11:11:04 +00:00
|
|
|
2009-03-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/lastlog.8.xml: Document that there might be entries, for
|
|
|
|
|
deleted users, that are not displayed.
|
|
|
|
|
|
2009-03-14 11:09:57 +00:00
|
|
|
2009-03-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/chgpasswd.8.xml, man/chpasswd.8.xml: Fix the man page in
|
|
|
|
|
case SHA crypt is not supported.
|
|
|
|
|
|
2009-03-14 11:08:39 +00:00
|
|
|
2009-03-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/vipw.8.xml: MAX_MEMBERS_PER_GROUP is not used by vipw and
|
|
|
|
|
vigr.
|
|
|
|
|
|
2009-03-13 23:17:43 +00:00
|
|
|
2009-03-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.defs.5.xml: Indicate that sg uses the same variables
|
|
|
|
|
as newgrp.
|
|
|
|
|
* man/login.defs.5.xml: vipw does not use any variable.
|
|
|
|
|
* man/login.defs.5.xml: In PAM enabled configurations, login still
|
|
|
|
|
uses some login.defs variables.
|
|
|
|
|
|
2009-03-13 23:14:18 +00:00
|
|
|
2009-03-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/usermod.8.xml: use a <replaceable> instead of a
|
|
|
|
|
<emphasis remap='I'>.
|
|
|
|
|
|
2009-03-13 23:12:06 +00:00
|
|
|
2009-03-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/newusers.8.xml: Document the behavior of newusers for each
|
|
|
|
|
field.
|
|
|
|
|
* man/newusers.8.xml: Do not add the note on PAM on non-PAM
|
|
|
|
|
enabled configurations.
|
|
|
|
|
|
2009-03-13 22:26:35 +00:00
|
|
|
2009-03-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newusers.c: Make sure the SHA related variables are not
|
|
|
|
|
compiled when disabled at configuration time.
|
|
|
|
|
* src/newusers.c: Added FIXME
|
2009-03-13 22:28:27 +00:00
|
|
|
* src/chpasswd.c: Make sure the SHA related variables is not
|
|
|
|
|
compiled when disabled at configuration time.
|
|
|
|
|
* 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.
|
2009-03-13 22:30:38 +00:00
|
|
|
* src/useradd.c, man/useradd.8.xml: Added long name for the -l
|
|
|
|
|
option: --no-log-init.
|
2009-03-13 22:49:20 +00:00
|
|
|
* src/faillog.c: Added support for the specification of a range of
|
|
|
|
|
users with -u.
|
|
|
|
|
* src/faillog.c: Do not call print_one() for users which do not
|
|
|
|
|
exist.
|
|
|
|
|
* src/faillog.c: Make sure the user's entry is not outside the
|
|
|
|
|
faillog file and initialize the faillog structure in that case.
|
|
|
|
|
* src/faillog.c: Move print_one() closer to print().
|
|
|
|
|
* src/faillog.c: reset(), setmax(), set_locktime() can also change
|
|
|
|
|
entries of user which do not exist.
|
|
|
|
|
* src/faillog.c: reset(), setmax() and set_locktime() shall not
|
|
|
|
|
create entries for users which have no entries if the value has to
|
|
|
|
|
be set to 0.
|
|
|
|
|
* src/faillog.c: reset(), setmax() and set_locktime(): better
|
|
|
|
|
handling of users whose entry is outside the faillog file.
|
|
|
|
|
* src/faillog.c: Improved option handling. Options can now be
|
|
|
|
|
specified in any order.
|
|
|
|
|
* src/faillog.c: Improved warnings when options are not
|
|
|
|
|
compatible or when the faillog cannot be open with the right mode.
|
|
|
|
|
* src/faillog.c: Only fstat the faillog file once.
|
|
|
|
|
* man/faillog.8.xml: Improved documentation.
|
2009-03-13 22:26:35 +00:00
|
|
|
|
2009-03-13 22:21:26 +00:00
|
|
|
2009-03-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/gpasswd.c: Remove the documentation of options from the
|
|
|
|
|
main() documentation. It will always be outdated here.
|
|
|
|
|
|
2009-03-13 22:20:20 +00:00
|
|
|
2009-03-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/lastlog.c: lastlog variable renamed to ll to avoid name
|
|
|
|
|
clash with the structure.
|
|
|
|
|
* src/lastlog.c: check the offset in print_one() so that it is
|
|
|
|
|
used for the display of one entry or a set of entries.
|
|
|
|
|
* src/lastlog.c: Do not loop over the whole user database when -u
|
|
|
|
|
is used with a single user.
|
|
|
|
|
* src/lastlog.c: Check the size of the lastlog file so that we
|
|
|
|
|
can identify failures to read.
|
|
|
|
|
|
2009-03-13 19:17:24 +00:00
|
|
|
2009-03-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* libmisc/salt.c: Removed l64a prototype. The libc declaration is
|
|
|
|
|
non static, but the internal definition is static.
|
|
|
|
|
|
2009-03-08 23:29:46 +00:00
|
|
|
2009-03-09 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/gpasswd.c: log_gpasswd_success_gshadow only exists ifdef
|
|
|
|
|
SHADOWGRP.
|
|
|
|
|
|
|
|
|
|
2009-03-08 Nicolas François <nicolas.francois@centraliens.net>
|
2009-03-08 20:21:24 +00:00
|
|
|
|
|
|
|
|
* libmisc/getlong.c: Make sure the getlong argument is not empty.
|
2009-03-08 20:26:56 +00:00
|
|
|
* libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
|
|
|
|
|
lib/prototypes.h: Added get_uid() and get_gid() to parse user and
|
|
|
|
|
group IDs.
|
2009-03-08 20:29:22 +00:00
|
|
|
* NEWS, src/grpck.c, src/pwck.c: Issue a warning if an ID is set
|
|
|
|
|
to -1.
|
2009-03-08 20:43:15 +00:00
|
|
|
* NEWS, src/newusers.c, src/usermod.c, src/useradd.c,
|
|
|
|
|
src/groupmod.c, src/groupadd.c: Make sure no user or group are
|
|
|
|
|
created with an ID set to -1.
|
2009-03-08 20:21:24 +00:00
|
|
|
|
2009-03-07 16:32:11 +00:00
|
|
|
2009-03-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* contrib/adduser-old.c, contrib/adduser.c: Do not use the target
|
|
|
|
|
of snprintf in one of the format's parameters.
|
|
|
|
|
|
2009-03-07 16:30:49 +00:00
|
|
|
2009-03-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/groupmems.8.xml: groupmems does not create new user.
|
|
|
|
|
|
2009-03-03 20:53:20 +00:00
|
|
|
2009-03-03 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, po/LINGUAS, po/kk.po: Added Kazakh translation. Thanks to
|
|
|
|
|
Timur Birsh <taem@linukz.org>.
|
|
|
|
|
|
2009-02-22 23:23:15 +00:00
|
|
|
2009-02-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/find_new_gid.c, libmisc/find_new_uid.c: Avoid calling
|
|
|
|
|
getgrent()/getpwent() after they return NULL. This caused LDAP to
|
|
|
|
|
return at the beginning of the group/user entries.
|
|
|
|
|
|
2009-01-27 18:17:54 +00:00
|
|
|
2009-01-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/nologin.8.xml: Fix typo (HYSTORY -> HISTORY).
|
|
|
|
|
|
2009-01-26 22:03:37 +00:00
|
|
|
2009-01-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/gpasswd.c: Only report success to audit and syslog
|
|
|
|
|
when the changes are committed to the system. Do not log failure
|
|
|
|
|
for on-memory changes to audit or syslog. Make sure failures and
|
|
|
|
|
inconsistencies will be reported in case of unexpected failures
|
|
|
|
|
(e.g. malloc failures). Only specify an audit message if it is not
|
|
|
|
|
implicitly implied by the type argument. Removed fail_exit
|
|
|
|
|
(replaced by atexit(do_cleanups)). Log failures in case of
|
|
|
|
|
permission denied.
|
|
|
|
|
|
2009-01-19 09:51:00 +00:00
|
|
|
2009-01-19 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.defs.d/UMASK.xml: Indicate how UMASK is used and
|
|
|
|
|
limitations.
|
2009-01-19 09:51:53 +00:00
|
|
|
* man/limits.5.xml: Remove space before an end of tag.
|
2009-01-19 10:00:53 +00:00
|
|
|
* man/useradd.8.xml, man/login.defs.d/CREATE_HOME.xml,
|
|
|
|
|
man/login.defs.5.xml: Document the CREATE_HOME variable.
|
2009-01-19 10:21:50 +00:00
|
|
|
* etc/login.defs: Improve the documentation of UMASK.
|
2009-01-19 09:51:00 +00:00
|
|
|
|
2009-01-06 20:13:31 +00:00
|
|
|
2009-01-06 Sebastian Rick Rijkers <srrijkers@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/su.c: Preserve COLORTERM in addition to TERM when su
|
|
|
|
|
is called with the -l option.
|
|
|
|
|
|
2008-12-23 22:42:22 +00:00
|
|
|
2008-12-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/chkname.c: Use a bool when possible instead of integers.
|
|
|
|
|
* libmisc/chkname.c: Add brackets and parenthesis.
|
|
|
|
|
|
2008-12-23 22:36:44 +00:00
|
|
|
2008-12-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/groupadd.8.xml, configure.in, man/config.xml.in: Use the
|
|
|
|
|
real group name length limit in the documentation.
|
|
|
|
|
|
2008-12-23 00:44:29 +00:00
|
|
|
2008-12-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/Makefile.am: Only link with the needed library. When
|
|
|
|
|
compiled with PAM support, chfn, chsh, login, newgrp, passwd, and
|
|
|
|
|
su do not need the libcrypt library.
|
|
|
|
|
|
2008-12-23 00:39:54 +00:00
|
|
|
2008-12-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/cleanup_group.c: Fix compilation when compiled without
|
|
|
|
|
shadow group support.
|
|
|
|
|
|
2008-12-22 23:23:14 +00:00
|
|
|
2008-12-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/groupdel.c: Remove the fail_exit () declaration.
|
|
|
|
|
|
2008-12-22 22:13:23 +00:00
|
|
|
2008-12-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/gpasswd.c: Fix the support for usernames with arbitrary
|
|
|
|
|
length.
|
|
|
|
|
|
2008-12-22 22:03:34 +00:00
|
|
|
2008-12-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2008-12-22 22:07:12 +00:00
|
|
|
* src/groupadd.c, src/groupdel.c, src/groupmod.c: Re-indent.
|
2008-12-22 22:06:27 +00:00
|
|
|
* src/groupmod.c: Do not add the command synopsis to the main ()
|
|
|
|
|
documentation. This avoids outdated information.
|
2008-12-22 22:08:13 +00:00
|
|
|
* libmisc/chkname.c: Remove outdated comments.
|
2008-12-22 22:03:34 +00:00
|
|
|
|
2008-12-22 21:52:43 +00:00
|
|
|
2008-12-22 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/audit_help.c: Added audit_logger_message() to log
|
|
|
|
|
messages not related to an account.
|
|
|
|
|
* lib/prototypes.h, libmisc/cleanup.c, libmisc/cleanup_group.c,
|
|
|
|
|
libmisc/cleanup_user.c, libmisc/Makefile.am: Added stack of
|
|
|
|
|
cleanup functions to be executed on exit.
|
|
|
|
|
* NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c: Only
|
|
|
|
|
report success to audit and syslog when the changes are committed
|
|
|
|
|
to the system. Do not log failure for on-memory changes to audit
|
|
|
|
|
or syslog. Make sure failures and inconsistencies will be reported
|
|
|
|
|
in case of unexpected failures (e.g. malloc failures). Only
|
|
|
|
|
specify an audit message if it is not implicitly implied by the
|
|
|
|
|
type argument. Removed fail_exit (replaced by atexit(do_cleanups)).
|
|
|
|
|
|
2008-12-15 21:54:53 +00:00
|
|
|
2008-12-15 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/gpasswd.c: Added support usernames with arbitrary
|
|
|
|
|
length.
|
|
|
|
|
|
2008-11-30 01:32:38 +00:00
|
|
|
2008-11-27 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* configure.in: Fix the "$enable_acct_tools_setuid" = "yes" test.
|
|
|
|
|
|
2008-11-30 01:29:40 +00:00
|
|
|
2008-11-27 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* NEWS, configure.in, libmisc/chkname.c: make group max length a
|
|
|
|
|
configure option. The configure behavior encoded is:
|
|
|
|
|
<no option> -> default of 16 (like today);
|
|
|
|
|
--with-group-name-max-length -> default of 16;
|
|
|
|
|
--without-group-name-max-length -> no max length;
|
|
|
|
|
--with-group-name-max-length=n > max is set to n.
|
|
|
|
|
|
2008-11-23 12:10:21 +00:00
|
|
|
2008-11-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: (!USE_PAM) Provide visible information indicating that
|
|
|
|
|
su was denied.
|
|
|
|
|
|
2008-11-23 00:16:10 +00:00
|
|
|
2008-11-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/su.1.xml: Fix the su synopsis. username is referenced in the
|
|
|
|
|
manpage, not LOGIN.
|
2008-11-23 00:16:53 +00:00
|
|
|
* man/ja/login.1: Fix the path of the utmp and wtmp files.
|
2008-11-23 00:16:10 +00:00
|
|
|
|
2008-11-23 00:05:39 +00:00
|
|
|
2008-11-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/chowntty.c: Improve the logs for fchown and fchmod
|
|
|
|
|
failures.
|
2008-11-23 00:06:56 +00:00
|
|
|
* libmisc/chowntty.c: Only closelog() when failure cause an exit.
|
2008-11-23 00:05:39 +00:00
|
|
|
|
2008-11-22 23:22:16 +00:00
|
|
|
2008-11-23 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, libmisc/chowntty.c: Fix a race condition that could lead to
|
|
|
|
|
gaining ownership or changing mode of arbitrary files.
|
2008-11-22 23:56:11 +00:00
|
|
|
* NEWS, libmisc/chowntty.c, libmisc/utmp.c: is_my_tty() moved from
|
|
|
|
|
utmp.c to chowntty.c. checkutmp() now only uses an existing utmp
|
|
|
|
|
entry if the pid matches and ut_line matches with the current tty.
|
|
|
|
|
This fixes a possible DOS when entries can be forged in the utmp
|
|
|
|
|
file.
|
|
|
|
|
* libmisc/chowntty.c, src/login.c, lib/prototypes.h: Remove the
|
|
|
|
|
tty argument from chown_tty. chown_tty always changes stdin and
|
|
|
|
|
does not need this argument anymore.
|
2008-11-22 23:22:16 +00:00
|
|
|
|
2008-10-11 12:59:02 +00:00
|
|
|
2008-10-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/gshadow.5.xml, man/shadow.5.xml, man/passwd.5.xml,
|
|
|
|
|
man/grpck.8.xml: Sorted SEE ALSO references.
|
|
|
|
|
* man/gshadow.5.xml: Added reference to grpck(8) and grpconv(8).
|
|
|
|
|
* man/pwck.8.xml: Added reference to grpck(8).
|
|
|
|
|
* man/shadow.5.xml: Added reference to pwck(8).
|
|
|
|
|
* man/passwd.5.xml: Added reference to pwck(8).
|
|
|
|
|
* man/grpck.8.xml: Added reference to pwck(8).
|
|
|
|
|
|
2008-10-11 11:44:43 +00:00
|
|
|
2008-10-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/*.xml, man/login.defs.d/*.xml: Added copyright and licence
|
|
|
|
|
header.
|
|
|
|
|
|
2008-09-20 21:17:26 +00:00
|
|
|
2008-09-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Always check the return value of the pam_* APIs.
|
|
|
|
|
|
2008-09-20 19:44:12 +00:00
|
|
|
2008-09-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Use a dynamic buffer for usernames.
|
2008-09-20 19:54:35 +00:00
|
|
|
* src/login.c: Copy the name of the user authenticated by PAM to
|
|
|
|
|
username. This simplify later logging (avoid USE_PAM
|
|
|
|
|
conditional).
|
2008-09-20 20:00:51 +00:00
|
|
|
* src/login.c: Check that no username is specified with -r.
|
|
|
|
|
* src/login.c: Make sure a username is specified with -f.
|
2008-09-20 20:03:04 +00:00
|
|
|
* src/login.c: Explicitly tag the end of the #ifdef RLOGIN
|
|
|
|
|
sections.
|
2008-09-20 20:05:22 +00:00
|
|
|
* src/login.c: Erase the username later since it it used for the
|
|
|
|
|
fake password check (in case of empty password).
|
2008-09-20 20:20:19 +00:00
|
|
|
* src/login.c, man/login.1.xml: the username is not an optional
|
|
|
|
|
parameter of -f. Fix the getopt optstring, remove the parsing of
|
|
|
|
|
username in the -f processing block, and remove unnecessary checks
|
|
|
|
|
(username cannot be parsed twice anymore), better documentation of
|
|
|
|
|
the synopsis.
|
2008-09-20 19:44:12 +00:00
|
|
|
|
2008-09-20 16:23:04 +00:00
|
|
|
2008-09-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Existence of pam_user was already checked. pwd was
|
|
|
|
|
already copied to pwent. Remove duplicated code.
|
|
|
|
|
|
2008-09-20 16:21:46 +00:00
|
|
|
2008-09-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: check_flags() renamed process_flags(). All flag
|
|
|
|
|
processing blocs moved to process_flags().
|
|
|
|
|
|
2008-09-20 14:56:10 +00:00
|
|
|
2008-09-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/logoutd.c, src/userdel.c: Re-indent. This helps pmccabe.
|
|
|
|
|
|
2008-09-20 14:21:51 +00:00
|
|
|
2008-09-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Add missing closing }. This was probably never
|
|
|
|
|
noticed because UT_ADDR is never defined.
|
2008-09-20 14:39:09 +00:00
|
|
|
* src/login.c: Re-indent.
|
2008-09-20 14:21:51 +00:00
|
|
|
|
2008-09-20 14:17:20 +00:00
|
|
|
2008-09-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Do not mix USE_PAM and !USE_PAM code.
|
|
|
|
|
|
2008-09-20 13:20:31 +00:00
|
|
|
2008-09-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/login.c: Use failent_user to log to audit. username is the
|
|
|
|
|
caller, not the user login tries to authenticate.
|
|
|
|
|
* src/login.c: Use pwd->pw_name instead of pwd->pw_uid. This might
|
|
|
|
|
be more precise (name must be unique, uid might not be).
|
|
|
|
|
|
2008-09-20 10:53:00 +00:00
|
|
|
2008-09-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/passwd.1.xml: passwd cannot change the full name of the
|
|
|
|
|
user, the user's login shell; but it can change the account or
|
|
|
|
|
password validity period. Thanks to Reuben Thomas.
|
|
|
|
|
|
2008-09-14 13:42:10 +00:00
|
|
|
2008-09-14 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: Added missing declaration of Mflg.
|
|
|
|
|
* src/pwck.c: Only unlock files if they were locked before (e.g.
|
|
|
|
|
not in read-only mode).
|
|
|
|
|
* src/pwck.c: Quote the username in error messages (harmonization
|
|
|
|
|
with other messages).
|
|
|
|
|
* libmisc/find_new_gid.c: Fixed typo (s/grp->gr_gid/group_id/).
|
|
|
|
|
* libmisc/find_new_gid.c: Likewise.
|
|
|
|
|
|
2008-09-13 18:03:50 +00:00
|
|
|
2008-09-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/setugid.c, src/login_nopam.c, src/suauth.c,
|
|
|
|
|
lib/getdef.c: Replace the %m format string by strerror(). This
|
|
|
|
|
avoids errno to be reset between the system call error and the
|
|
|
|
|
report function.
|
|
|
|
|
|
2008-09-13 11:55:50 +00:00
|
|
|
2008-09-13 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/commonio.c: Ignore the return value of umask() when the mask
|
|
|
|
|
is set to the old value.
|
|
|
|
|
|
2008-09-13 11:55:41 +00:00
|
|
|
2008-09-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, etc/login.defs: New CREATE_HOME variable to tell useradd
|
|
|
|
|
to create a home directory for new users.
|
|
|
|
|
* src/useradd.c, man/useradd.8.xml: New -M/--no-create-home option
|
|
|
|
|
and CREATE_HOME usage. System accounts are not impacted by
|
|
|
|
|
CREATE_HOME.
|
|
|
|
|
* man/useradd.8.xml: Indicate that a new group is created by
|
|
|
|
|
default.
|
|
|
|
|
* src/useradd.c: Removed TODO item (moved to the TODO file).
|
|
|
|
|
|
2008-09-13 11:55:30 +00:00
|
|
|
2008-09-11 Miroslav Kuře <kurem@debian.cz>
|
|
|
|
|
|
|
|
|
|
* po/cs.po: Updated Czech translation.
|
|
|
|
|
|
2008-09-13 11:55:20 +00:00
|
|
|
2008-09-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/login.defs.d/USERGROUPS_ENAB.xml: Fix typo: new <para> tag
|
|
|
|
|
before the previous one is closed. This caused a missng
|
|
|
|
|
explanation for USERGROUPS_ENAB.
|
|
|
|
|
|
2008-09-13 11:55:08 +00:00
|
|
|
2008-09-11 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/groupadd.8.xml: Remove the list of (short) options from the
|
|
|
|
|
SYNOPSIS. Replaced with [options] for consistency with other tools
|
|
|
|
|
and maintainability.
|
|
|
|
|
|
2008-09-13 11:54:49 +00:00
|
|
|
2008-09-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
From RedHat's patch shadow-4.1.2-sysAccountDownhill.patch
|
|
|
|
|
Thanks to Peter Vrabec.
|
|
|
|
|
* NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Build an
|
|
|
|
|
index of used IDs to avoid a database request for each id in the
|
|
|
|
|
allowed range (when the highest allowed ID is already used).
|
|
|
|
|
This speedups the addition of users or groups when the highest
|
|
|
|
|
allowed ID is already used. The additional memory usage of the
|
|
|
|
|
tools should be acceptable when UID_MAX/SYS_UID_MAX are set to a
|
|
|
|
|
reasonable number.
|
|
|
|
|
|
2008-09-07 20:40:41 +00:00
|
|
|
2008-09-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* configure.in: Fix the dependency of ACCT_TOOLS_SETUID on
|
|
|
|
|
USE_PAM. Build failed with --without-libpam.
|
|
|
|
|
|
2008-09-07 00:05:38 +00:00
|
|
|
2008-09-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/copydir.c, configure.in: Check for the presence of
|
|
|
|
|
st_mtim and st_mtimensec, as for st_atim and st_atimensec.
|
2008-09-07 00:51:17 +00:00
|
|
|
* libmisc/copydir.c: Call utimes() after closing the file.
|
2008-09-07 00:05:38 +00:00
|
|
|
|
2008-09-06 22:20:19 +00:00
|
|
|
2008-09-07 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/gpasswd.c: Document the long options in the usage.
|
|
|
|
|
|
2008-09-06 21:35:37 +00:00
|
|
|
2008-09-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2008-09-06 21:42:26 +00:00
|
|
|
* NEWS: Added configure --enable-account-tools-setuid (default) /
|
|
|
|
|
--disable-account-tools-setuid options. This permits to disable
|
|
|
|
|
the PAM authentication of the caller for chage, chgpasswd,
|
|
|
|
|
chpasswd, groupadd, groupdel, groupmod, newusers, useradd,
|
|
|
|
|
userdel, and usermod. This authentication is not necessary when
|
|
|
|
|
these tools are not installed setuid root.
|
2008-09-06 21:35:37 +00:00
|
|
|
* configure.in: Added option --enable-account-tools-setuid to
|
|
|
|
|
enable/disable the usage of PAM to authenticate the callers of
|
|
|
|
|
account management tools: chage, chgpasswd, chpasswd, groupadd,
|
|
|
|
|
groupdel, groupmod, useradd, userdel, usermod.
|
|
|
|
|
* src/Makefile.am: Do not link the above tools with libpam if
|
|
|
|
|
account-tools-setuid is disabled.
|
|
|
|
|
* src/userdel.c, src/newusers.c, src/chpasswd.c, src/usermod.c,
|
|
|
|
|
src/groupdel.c, src/chgpasswd.c, src/useradd.c, src/groupmod.c,
|
|
|
|
|
src/groupadd.c, src/chage.c: Implement ACCT_TOOLS_SETUID
|
|
|
|
|
(--enable-account-tools-setuid).
|
|
|
|
|
* etc/pam.d/Makefile.am: Install the pam service file for the
|
|
|
|
|
above tools only when needed.
|
|
|
|
|
|
2008-09-06 16:43:21 +00:00
|
|
|
2008-09-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/tz.c: tz() is only used when USE_PAM is not defined.
|
|
|
|
|
* lib/prototypes.h: Indicate functions whose presence depends on
|
|
|
|
|
the USE_PAM flag.
|
|
|
|
|
|
2008-09-06 16:27:21 +00:00
|
|
|
2008-09-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/groupmems.c: Call open_files() and close_files().
|
|
|
|
|
* src/groupmems.c: Always call check_perms(), which takes care of
|
|
|
|
|
checking if --list is used.
|
|
|
|
|
|
2008-09-06 15:59:28 +00:00
|
|
|
2008-09-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/obscure.c: Compare characters to '\0', not NULL.
|
|
|
|
|
|
2008-09-06 15:58:23 +00:00
|
|
|
2008-09-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/defines.h: Do not include <config.h>. This complicate
|
|
|
|
|
undefining some configuration macros when the file is included
|
|
|
|
|
multiple times.
|
|
|
|
|
* libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c,
|
|
|
|
|
libmisc/xgetgrgid.c, libmisc/xgetgrnam.c, libmisc/xgetspnam.c:
|
|
|
|
|
Include <config.h> from teh compiled C file, not the included
|
|
|
|
|
getXXbyYY.c.
|
|
|
|
|
|
2008-09-06 13:28:02 +00:00
|
|
|
2008-09-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/userdel.c, src/newusers.c, src/chpasswd.c, src/chfn.c,
|
|
|
|
|
src/groupmems.c, src/usermod.c, src/groupdel.c, src/chgpasswd.c,
|
|
|
|
|
src/useradd.c, src/groupmod.c, src/groupadd.c, src/chage.c,
|
|
|
|
|
src/chsh.c: Simplify the PAM error handling. Do not keep the pamh
|
|
|
|
|
handle, but terminate the PAM transaction as soon as possible if
|
2008-09-06 23:46:44 +00:00
|
|
|
there are no PAM session opened. If the username cannot be
|
|
|
|
|
determined, report it as such (not a PAM authentication failure).
|
2008-09-06 21:35:37 +00:00
|
|
|
* src/useradd.c, src/userdel.c, src/usermod.c: It is no more
|
|
|
|
|
needed to initialize retval to PAM_SUCCESS.
|
2008-09-06 13:28:02 +00:00
|
|
|
|
2008-09-06 12:51:53 +00:00
|
|
|
2008-09-06 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
|
|
|
|
|
src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
|
|
|
|
|
src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
|
|
|
|
|
src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
|
|
|
|
|
src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
|
|
|
|
|
src/groupadd.c, src/chage.c, src/login.c, src/grpconv.c,
|
|
|
|
|
src/groups.c, src/grpunconv.c, src/chsh.c: Prog is now global (not
|
|
|
|
|
static to the file) so that it can be used by the helper functions
|
|
|
|
|
of libmisc.
|
|
|
|
|
* lib/prototypes.h: Added extern char *Prog.
|
|
|
|
|
* libmisc/find_new_gid.c, libmisc/find_new_uid.c: Indicate the
|
|
|
|
|
program name with the warning.
|
|
|
|
|
|
2008-09-04 22:34:20 +00:00
|
|
|
2008-09-05 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* configure.in: Check if AUDIT_ADD_USER, AUDIT_DEL_USER,
|
|
|
|
|
AUDIT_ADD_GROUP, and AUDIT_DEL_GROUP are defined in <libaudit.h>.
|
|
|
|
|
|
2008-09-04 20:46:00 +00:00
|
|
|
2008-09-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: Fix comment of lflg: it is also used for faillog.
|
|
|
|
|
|
2008-09-04 20:20:20 +00:00
|
|
|
2008-09-04 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/groupmems.c, man/groupmems.8.xml: Document the long
|
|
|
|
|
options.
|
|
|
|
|
|
2008-09-04 19:36:27 +00:00
|
|
|
2008-09-03 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/prototypes.h, libmisc/audit_help.c: Define new type
|
|
|
|
|
shadow_audit_result for the result argument of audit_logger().
|
|
|
|
|
This permits stronger type checking and a better readability of
|
|
|
|
|
the results (SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS constants).
|
|
|
|
|
* src/groupadd.c, src/groupdel.c, src/useradd.c, src/userdel.c:
|
|
|
|
|
Use the SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS results instead
|
|
|
|
|
of 0 or 1 in audit_logger().
|
|
|
|
|
|
2008-09-03 21:22:04 +00:00
|
|
|
2008-09-03 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/userdel.c: Log failures to remove the mailbox to syslog and
|
|
|
|
|
audit.
|
|
|
|
|
* src/userdel.c: Log successful removal of home directory to audit
|
|
|
|
|
only in case of success.
|
|
|
|
|
* src/userdel.c: Move the audit log of failure to remove the home
|
|
|
|
|
directory before the call to function that may exit.
|
|
|
|
|
* src/userdel.c: Document that errors is only used to count errors
|
|
|
|
|
during the removal of the home directory.
|
|
|
|
|
|
2008-09-03 21:02:32 +00:00
|
|
|
2008-09-03 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/useradd.c: Log errors to syslog in grp_update() since
|
|
|
|
|
changes have started to be reported to syslog.
|
|
|
|
|
* src/userdel.c: Fix some result parameters sent to
|
|
|
|
|
audit_logger().
|
|
|
|
|
|
|
|
|
|
2008-09-02 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS: Following changes from a patch contributed by Steve Grubb
|
|
|
|
|
<sgrubb@redhat.com>
|
|
|
|
|
* src/groupadd.c: Log to audit with type AUDIT_ADD_GROUP instead
|
|
|
|
|
of AUDIT_USER_CHAUTHTOK.
|
|
|
|
|
* src/groupdel.c: Log to audit with type AUDIT_DEL_GROUP instead
|
|
|
|
|
of AUDIT_USER_CHAUTHTOK.
|
|
|
|
|
* src/useradd.c: Log to audit with type AUDIT_ADD_USER /
|
|
|
|
|
AUDIT_ADD_GROUP / AUDIT_USYS_CONFIG instead of
|
|
|
|
|
AUDIT_USER_CHAUTHTOK.
|
|
|
|
|
* src/useradd.c: Add missing logs to audit.
|
|
|
|
|
* src/userdel.c: Log to audit with type AUDIT_DEL_USER /
|
|
|
|
|
AUDIT_DEL_GROUP instead of AUDIT_USER_CHAUTHTOK.
|
|
|
|
|
* src/userdel.c: Add missing logs to audit.
|
|
|
|
|
|
2008-08-31 17:41:03 +00:00
|
|
|
2008-08-31 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/groupmems.c: Remove duplicated gr_open().
|
|
|
|
|
|
2008-08-31 17:31:00 +00:00
|
|
|
2008-08-30 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* man/useradd.8.xml: Document the /etc/default/useradd variables.
|
|
|
|
|
* man/useradd.8.xml: Fix the documentation of the GROUP variable
|
|
|
|
|
(and -g/--gid option).
|
2008-08-31 17:31:08 +00:00
|
|
|
* man/useradd.8.xml: Document that -o is only valid with -u
|
2008-08-31 17:31:00 +00:00
|
|
|
|
2008-08-31 17:30:45 +00:00
|
|
|
2008-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* shadow.spec.in: Fix the source (new FTP).
|
|
|
|
|
|
2008-08-31 17:30:30 +00:00
|
|
|
2008-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/su.c: Add brackets and parenthesis.
|
|
|
|
|
* src/su.c: Avoid implicit conversion of pointers to booleans.
|
|
|
|
|
|
2008-08-31 17:30:12 +00:00
|
|
|
2008-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/list.c: Remove historical comment.
|
2008-08-31 17:30:21 +00:00
|
|
|
* libmisc/list.c: Added assertions for non NULL parameters.
|
2008-08-31 17:30:12 +00:00
|
|
|
|
2008-08-31 17:30:00 +00:00
|
|
|
2008-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/pwconv.c, src/pwunconv.c: Fail if unexpected parameters are
|
|
|
|
|
provided.
|
|
|
|
|
|
2008-08-31 17:29:51 +00:00
|
|
|
2008-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/passwd.c: Add brackets and parenthesis.
|
|
|
|
|
* src/passwd.c: Avoid implicit conversion of pointers to booleans.
|
|
|
|
|
* src/passwd.c: Avoid assignments in comparisons.
|
|
|
|
|
|
2008-08-31 17:29:34 +00:00
|
|
|
2008-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/groupmems.c, man/groupmems.8.xml: Added support for
|
|
|
|
|
shadow groups.
|
|
|
|
|
* src/groupmems.c: Use fail_exit() instead of exit().
|
|
|
|
|
|
2008-08-31 17:29:08 +00:00
|
|
|
2008-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/groupmems.c: The grp structure returned by gr_locate is a
|
|
|
|
|
const. Duplicate this structure before working on it.
|
|
|
|
|
* src/groupmems.c: Do not fail and do not display warnings if a
|
|
|
|
|
close failure happens with the --list option. (Files are opened
|
|
|
|
|
read-only).
|
2008-08-31 17:29:17 +00:00
|
|
|
* src/groupmems.c: Avoid mixed declarations and code.
|
2008-08-31 17:29:08 +00:00
|
|
|
|
2008-08-31 17:28:59 +00:00
|
|
|
2008-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/gpasswd.c: Replace the 'valid' variable by is_valid to avoid
|
|
|
|
|
clashes with the valid() function.
|
|
|
|
|
|
2008-08-31 17:28:49 +00:00
|
|
|
2008-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/obscure.c: Add brackets and parenthesis.
|
|
|
|
|
* libmisc/obscure.c: Avoid implicit conversion of pointers / chars to
|
|
|
|
|
booleans.
|
|
|
|
|
* libmisc/obscure.c: Simplify the list of if.
|
|
|
|
|
|
2008-08-31 17:28:39 +00:00
|
|
|
2008-08-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/passwd.c: Fix a typo in the Usage string.
|
|
|
|
|
|
2008-08-31 17:28:12 +00:00
|
|
|
2008-08-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/grpconv.c, src/groups.c: Name the parameters in the
|
|
|
|
|
prototypes of the static functions.
|
2008-08-31 17:28:30 +00:00
|
|
|
* src/grpconv.c, src/grpunconv.c, src/logoutd.c: Fail if
|
|
|
|
|
unexpected parameters are provided.
|
2008-08-31 17:28:21 +00:00
|
|
|
* src/grpconv.c, src/grpunconv.c: Indicate that argc is not used
|
|
|
|
|
in the no SHADOWGRP version.
|
2008-08-31 17:28:12 +00:00
|
|
|
|
2008-08-31 17:27:56 +00:00
|
|
|
2008-08-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chgpasswd.c, src/chpasswd.c: Removed variable ok, which is
|
|
|
|
|
no more used.
|
|
|
|
|
|
2008-08-31 17:27:47 +00:00
|
|
|
2008-08-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chage.c: Fix the format for long integers (from %ul to %lu).
|
|
|
|
|
|
2008-08-31 17:27:37 +00:00
|
|
|
2008-08-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/utmp.c: Mark the line and host arguments of setutmp() as
|
|
|
|
|
not used in the __linux__ version.
|
|
|
|
|
|
2008-08-31 17:27:26 +00:00
|
|
|
2008-08-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/nscd.c: Avoid redefinition of _GNU_SOURCE.
|
|
|
|
|
|
2008-08-31 17:27:06 +00:00
|
|
|
2008-08-28 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* configure.in: Indentation fix.
|
2008-08-31 17:27:16 +00:00
|
|
|
* configure.in, src/login.c: Do not use HAVE_PAM_FAIL_DELAY, but
|
|
|
|
|
HAS_PAM_FAIL_DELAY, to avoid a redefinition with Linux PAM.
|
2008-08-31 17:27:06 +00:00
|
|
|
|
2008-08-30 18:34:24 +00:00
|
|
|
2008-08-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
2008-08-31 17:26:55 +00:00
|
|
|
* src/groupmems.c: Added functions add_user(), remove_user(), and
|
|
|
|
|
purge_members() to ease the support of gshadow.
|
2008-08-30 18:34:24 +00:00
|
|
|
|
2008-08-30 18:34:04 +00:00
|
|
|
2008-08-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/expiry.c: Use Basename for Prog.
|
|
|
|
|
* src/expiry.c: Added missing OPENLOG.
|
|
|
|
|
|
2008-08-30 18:33:13 +00:00
|
|
|
2008-08-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/nscd.c: Make sure the file is not empty when configured
|
|
|
|
|
without nscd support.
|
|
|
|
|
|
2008-08-30 18:32:43 +00:00
|
|
|
2008-08-27 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* configure.in: Remove the USE_NSCD AM_CONDITIONAL (USE_NSCD is
|
|
|
|
|
not used in any Makefile.am).
|
|
|
|
|
* configure.in: Make sure posix_spawn is present when configured
|
|
|
|
|
with nscd support.
|
|
|
|
|
|
2008-08-30 18:32:19 +00:00
|
|
|
2008-08-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Added brackets and
|
|
|
|
|
parenthesis.
|
|
|
|
|
* lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Avoid assignments
|
|
|
|
|
in comparisons.
|
|
|
|
|
|
2008-08-30 18:31:56 +00:00
|
|
|
2008-08-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* libmisc/mail.c: Added brackets and parenthesis.
|
|
|
|
|
* libmisc/mail.c: Avoid assignments in comparisons.
|
|
|
|
|
|
2008-09-02 18:49:56 +00:00
|
|
|
2008-08-26 Tobias Poschwatta <tp@fonz.de>
|
2008-08-30 18:29:55 +00:00
|
|
|
|
|
|
|
|
* NEWS: Added support for uclibc.
|
|
|
|
|
* configure.in, libmisc/copydir.c: futimes() and lutimes() are not
|
|
|
|
|
standard. Check if they are implemented before using them. Do not
|
|
|
|
|
set the time of links if lutimes() does not exist, and use
|
|
|
|
|
utimes() as a replacement for futimes().
|
2008-08-30 18:32:43 +00:00
|
|
|
* configure.in, lib/nscd.h, lib/nscd.c: Added --with-nscd and
|
|
|
|
|
--without-nscd flags to support systems without nscd.
|
2008-08-30 18:30:58 +00:00
|
|
|
* lib/groupio.h, lib/prototypes.h, lib/pwio.h, lib/sgetgrent.c:
|
|
|
|
|
Include <sys/types.h> before <pwd.h> and <grp.h>. It is necessary
|
|
|
|
|
for the definition of uid_t and gid_t.
|
|
|
|
|
* lib/pwmem.c: do not include <pwd.h>, "pwio.h" is sufficient
|
|
|
|
|
here.
|
2008-08-30 18:31:21 +00:00
|
|
|
* configure.in: Check if the stat structure has a st_atim or
|
|
|
|
|
st_atimensec field.
|
|
|
|
|
* libmisc/copydir.c: Conditionally use the stat's st_atim and
|
|
|
|
|
st_atimensec fields.
|
2008-08-30 18:29:55 +00:00
|
|
|
|
2008-08-30 18:29:31 +00:00
|
|
|
2008-08-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/groupmems.c: Handle the options alphabetically.
|
|
|
|
|
|
2008-08-30 18:29:08 +00:00
|
|
|
2008-08-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/groupmems.c: When removing an user, check if deluser is on
|
|
|
|
|
the list, not adduser. This fixes a segmentation fault for every
|
|
|
|
|
call of groupmems -d.
|
|
|
|
|
* libmisc/list.c: Add assertions to help identifying these issues.
|
|
|
|
|
* libmisc/list.c: Avoid implicit conversion of pointers to
|
|
|
|
|
booleans.
|
|
|
|
|
|
2008-08-30 18:28:45 +00:00
|
|
|
2008-08-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/groupmems.c: Use the "groupmems" PAM service name
|
|
|
|
|
instead of "groupmod".
|
|
|
|
|
|
2008-08-30 18:28:24 +00:00
|
|
|
2008-08-26 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chfn.c: Merge some translated messages.
|
|
|
|
|
* src/groupmems.c, src/groupadd.c, src/gpasswd.c, src/chsh.c,
|
|
|
|
|
src/chfn.c: Harmonize *_update() failure messages.
|
|
|
|
|
* src/groupmems.c: Harmonize gr_close() failure messages.
|
|
|
|
|
* src/newgrp.c: Harmonize "unknown GID" messages.
|
|
|
|
|
* src/newusers.c: Move the pwd declaration to a inner block scope.
|
|
|
|
|
|
|
|
|
|
2008-08-26 Nicolas François <nicolas.francois@centraliens.net>
|
2008-08-30 18:27:59 +00:00
|
|
|
|
|
|
|
|
* src/useradd.c: Harmonize some error messages.
|
|
|
|
|
* src/userdel.c: Add log to syslog when the mail file could not be
|
|
|
|
|
removed.
|
|
|
|
|
* src/userdel.c: Give more context an error message (merge with
|
|
|
|
|
perror()).
|
|
|
|
|
* src/usermod.c: Harmonize some error messages.
|
|
|
|
|
|
2008-08-30 18:27:34 +00:00
|
|
|
2008-08-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/groupmems.c: Check the return value of gr_update().
|
|
|
|
|
* src/chage.c, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
|
|
|
|
|
src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupmems.c,
|
|
|
|
|
src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
|
|
|
|
|
src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c,
|
|
|
|
|
src/useradd.c, src/userdel.c, src/usermod.c: Harmonize the error
|
|
|
|
|
message sent to stderr in case of *_update () failure.
|
|
|
|
|
* src/chage.c, src/chsh.c, src/groupadd.c, src/passwd.c: Do not
|
|
|
|
|
log to syslog when pw_update() or spw_update() fail.
|
|
|
|
|
* src/newusers.c: Do not log specific error message to stderr when
|
|
|
|
|
sgr_update() fails.
|
|
|
|
|
* src/pwconv.c: Remove duplicated definition of Prog.
|
|
|
|
|
|
2008-08-30 18:27:07 +00:00
|
|
|
2008-08-25 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chfn.c, src/chsh.c, src/expiry.c, src/gpasswd.c,
|
|
|
|
|
src/newgrp.c, src/passwd.c, src/su.c: Use the same stderr and
|
|
|
|
|
syslog warnings when the username cannot be determined.
|
|
|
|
|
* src/newgrp.c: Reuse the same stderr message for groups which do
|
|
|
|
|
not exist in the system.
|
|
|
|
|
|
2008-08-22 02:34:04 +00:00
|
|
|
2008-08-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/usermod.c: Log errors while *_close to syslog.
|
|
|
|
|
|
2008-08-22 02:33:08 +00:00
|
|
|
2008-08-21 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/grpconv.c: Use Basename for the definition of Prog. Prog
|
|
|
|
|
needs a file visibility.
|
|
|
|
|
* src/grpunconv.c: Likewise.
|
|
|
|
|
|
2008-08-22 02:30:33 +00:00
|
|
|
2008-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/chfn.c: Do not exit on pw_unlock failures.
|
|
|
|
|
* src/grpconv.c, src/grpunconv.c, src/pwconv.c, src/pwunconv.c,
|
|
|
|
|
src/vipw.c: Open syslog with the right identification name.
|
|
|
|
|
* src/vipw.c: Log unlock errors to syslog.
|
|
|
|
|
* src/vipw.c: Log edits to syslog.
|
|
|
|
|
* src/chage.c, src/chfn.c, src/chsh.c, src/gpasswd.c,
|
|
|
|
|
src/groupadd.c, src/groupdel.c, src/groupmod.c, src/grpconv.c,
|
|
|
|
|
src/grpunconv.c, src/passwd.c, src/pwck.c, src/pwunconv.c,
|
|
|
|
|
src/useradd.c, src/usermod.c: Harmonize the syslog levels. Failure
|
|
|
|
|
to close or unlock are errors. Failure to open files are warnings.
|
|
|
|
|
|
2008-08-22 02:29:31 +00:00
|
|
|
2008-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/newusers.c: Open syslog with the right identification name.
|
|
|
|
|
* src/newusers.c: Mark the files as locked only if they are really
|
|
|
|
|
locked (i.e. if shadow is not enabled, the files are not locked).
|
|
|
|
|
|
2008-08-22 02:28:15 +00:00
|
|
|
2008-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* NEWS, src/gpasswd.c: Use getopt_long instead of getopt. Added
|
|
|
|
|
support for long options --add (-a), --delete (-d),
|
|
|
|
|
--remove-password (-r), --restrict (-R), --administrators (-A),
|
|
|
|
|
and --members (-M)
|
|
|
|
|
* man/gpasswd.1.xml: Document the new long options.
|
|
|
|
|
* src/gpasswd.c: The sgrp structure is only used if SHADOWGRP is
|
|
|
|
|
defined.
|
|
|
|
|
|
2008-08-22 02:26:46 +00:00
|
|
|
2008-08-18 Nicolas François <nicolas.francois@centraliens.net>
|
|
|
|
|
|
|
|
|
|
* src/grpck.c: Added function fail_exit(). Check failure to unlock
|
|
|
|
|
files. Report errors to stderr and syslog, but continue.
|
|
|
|
|
|