]> granicus.if.org Git - shadow/log
shadow
14 years agoAdd Alioth feature request reference.
nekral-guest [Thu, 18 Mar 2010 23:21:10 +0000 (23:21 +0000)]
Add Alioth feature request reference.

14 years ago * src/chsh.c: Even for root, warn if an invalid shell is
nekral-guest [Thu, 18 Mar 2010 23:21:00 +0000 (23:21 +0000)]
* src/chsh.c: Even for root, warn if an invalid shell is
specified.

14 years ago * man/limits.5.xml: Document the selection of the limits when
nekral-guest [Thu, 18 Mar 2010 23:20:41 +0000 (23:20 +0000)]
* man/limits.5.xml: Document the selection of the limits when
multiple lines match the user.

14 years ago * man/limits.5.xml: Document the selection of the limits when
nekral-guest [Thu, 18 Mar 2010 23:20:30 +0000 (23:20 +0000)]
* man/limits.5.xml: Document the selection of the limits when
multiple lines match the user.

14 years ago * libmisc/limits.c: Re-indent.
nekral-guest [Thu, 18 Mar 2010 23:20:24 +0000 (23:20 +0000)]
* libmisc/limits.c: Re-indent.
* libmisc/limits.c: Reformat the documentation. Avoid personal
comments.
* man/limits.5.xml: Document the new features.

14 years ago * NEWS, libmisc/limits.c: Fix parsing of limits.
nekral-guest [Thu, 18 Mar 2010 23:20:15 +0000 (23:20 +0000)]
* NEWS, libmisc/limits.c: Fix parsing of limits.
* NEWS, libmisc/limits.c, man/limits.5.xml: Add support for
infinite limits.
* NEWS, libmisc/limits.c, man/limits.5.xml: Add support for @group
syntax.

14 years ago * lib/tcbfuncs.h: Re-indent.
nekral-guest [Thu, 18 Mar 2010 19:23:00 +0000 (19:23 +0000)]
* lib/tcbfuncs.h: Re-indent.
* lib/tcbfuncs.h: Explicitly indicate functiontakinga void
parameter.

14 years agoReverse comparison for consistency.
nekral-guest [Thu, 18 Mar 2010 18:58:52 +0000 (18:58 +0000)]
Reverse comparison for consistency.

14 years ago * src/useradd.c: When exiting because of a failure, warn if an
nekral-guest [Thu, 18 Mar 2010 18:57:03 +0000 (18:57 +0000)]
* src/useradd.c: When exiting because of a failure, warn if an
home directory created, but cannot be removed.

14 years ago * libmisc/chowndir.c: Re-indent.
nekral-guest [Thu, 18 Mar 2010 18:52:53 +0000 (18:52 +0000)]
* libmisc/chowndir.c: Re-indent.
* libmisc/chowndir.c: Avoid assignment in comparisons.
* libmisc/chowndir.c: Added brackets and parenthesis.

14 years ago - add options -g / -G to specify alternative group / gshadow files
nekral-guest [Thu, 18 Mar 2010 12:28:25 +0000 (12:28 +0000)]
  - add options -g / -G to specify alternative group / gshadow files

14 years ago * libmisc/strtoday.c: Add support for numerical dates, assuming
nekral-guest [Thu, 18 Mar 2010 11:53:49 +0000 (11:53 +0000)]
* 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().

14 years ago * man/po/fr.po: Harmonize name of parameters.
nekral-guest [Thu, 18 Mar 2010 10:54:32 +0000 (10:54 +0000)]
* man/po/fr.po: Harmonize name of parameters.

14 years ago * NEWS: Indicate which tools support TCB.
nekral-guest [Thu, 18 Mar 2010 10:53:56 +0000 (10:53 +0000)]
* NEWS: Indicate which tools support TCB.

14 years ago * src/pwck.c: Unlock the password and shadow files when there is a
nekral-guest [Thu, 18 Mar 2010 10:52:52 +0000 (10:52 +0000)]
* src/pwck.c: Unlock the password and shadow files when there is a
failure to prepare the update in memory.

14 years ago * src/pwck.c: Only log to SYSLOG when acting on system files.
nekral-guest [Thu, 18 Mar 2010 10:35:11 +0000 (10:35 +0000)]
* src/pwck.c: Only log to SYSLOG when acting on system files.

14 years ago * src/pwck.c: Remove the -s option from the usage when USE_TCB is
nekral-guest [Thu, 18 Mar 2010 10:25:08 +0000 (10:25 +0000)]
* 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.

14 years ago * src/pwck.c: Document the sections closed by #endif
nekral-guest [Thu, 18 Mar 2010 10:23:51 +0000 (10:23 +0000)]
* 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.

14 years ago * src/pwck.c: Do not use pwd_file and spw_file. Always use the
nekral-guest [Thu, 18 Mar 2010 09:46:15 +0000 (09:46 +0000)]
* src/pwck.c: Do not use pwd_file and spw_file. Always use the
dbname() functions.

14 years ago * src/pwck.c: Re-indent.
nekral-guest [Thu, 18 Mar 2010 09:33:55 +0000 (09:33 +0000)]
* src/pwck.c: Re-indent.

14 years ago * src/userdel.c, src/usermod.c, src/vipw.c, src/useradd.c,
nekral-guest [Thu, 18 Mar 2010 09:21:27 +0000 (09:21 +0000)]
* 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.

14 years ago2010-03-18 Paweł Hajdan, Jr. <phajdan.jr@gentoo.org>
nekral-guest [Thu, 18 Mar 2010 09:01:04 +0000 (09:01 +0000)]
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.

14 years ago * src/faillog.c: Re-indent.
nekral-guest [Thu, 18 Mar 2010 00:07:00 +0000 (00:07 +0000)]
* src/faillog.c: Re-indent.

14 years ago * lib/tcbfuncs.c: Re-indent.
nekral-guest [Thu, 18 Mar 2010 00:06:33 +0000 (00:06 +0000)]
* lib/tcbfuncs.c: Re-indent.

14 years ago * lib/tcbfuncs.c: Added brackets and parenthesis.
nekral-guest [Thu, 18 Mar 2010 00:06:21 +0000 (00:06 +0000)]
* lib/tcbfuncs.c: Added brackets and parenthesis.

14 years ago * lib/tcbfuncs.c: Avoid implicit int to mode_t conversion.
nekral-guest [Thu, 18 Mar 2010 00:05:57 +0000 (00:05 +0000)]
* lib/tcbfuncs.c: Avoid implicit int to mode_t conversion.

14 years ago * lib/tcbfuncs.c: move_dir() and shadowtcb_move() need a non NULL
nekral-guest [Thu, 18 Mar 2010 00:05:35 +0000 (00:05 +0000)]
* lib/tcbfuncs.c: move_dir() and shadowtcb_move() need a non NULL
stored_tcb_user.

14 years ago * lib/tcbfuncs.c: Removed dead return.
nekral-guest [Thu, 18 Mar 2010 00:05:11 +0000 (00:05 +0000)]
* lib/tcbfuncs.c: Removed dead return.

14 years ago * lib/tcbfuncs.c: Include prototypes.h for the definition of Prog.
nekral-guest [Thu, 18 Mar 2010 00:04:54 +0000 (00:04 +0000)]
* lib/tcbfuncs.c: Include prototypes.h for the definition of Prog.

14 years agoAdded splint annotations.
nekral-guest [Thu, 18 Mar 2010 00:04:33 +0000 (00:04 +0000)]
Added splint annotations.

14 years ago * lib/tcbfuncs.c: Avoid integer to char conversions.
nekral-guest [Thu, 18 Mar 2010 00:04:05 +0000 (00:04 +0000)]
* lib/tcbfuncs.c: Avoid integer to char conversions.

14 years ago * lib/tcbfuncs.c: Avoid implicit signed to unsigned conversions.
nekral-guest [Thu, 18 Mar 2010 00:03:48 +0000 (00:03 +0000)]
* lib/tcbfuncs.c: Avoid implicit signed to unsigned conversions.

14 years ago * lib/tcbfuncs.c: Ignore fflush() return value.
nekral-guest [Thu, 18 Mar 2010 00:03:29 +0000 (00:03 +0000)]
* lib/tcbfuncs.c: Ignore fflush() return value.

14 years ago * lib/tcbfuncs.c: Include shadowio.h, needed for the
nekral-guest [Thu, 18 Mar 2010 00:03:06 +0000 (00:03 +0000)]
* lib/tcbfuncs.c: Include shadowio.h, needed for the
spw_setdbname's prototype.

14 years agoFix typos.
nekral-guest [Thu, 18 Mar 2010 00:02:45 +0000 (00:02 +0000)]
Fix typos.

14 years ago * lib/tcbfuncs.c: Do not free path before its last use.
nekral-guest [Thu, 18 Mar 2010 00:02:17 +0000 (00:02 +0000)]
* lib/tcbfuncs.c: Do not free path before its last use.

14 years agoAvoid implicit conversion of pointers .
nekral-guest [Thu, 18 Mar 2010 00:02:02 +0000 (00:02 +0000)]
Avoid implicit conversion of pointers .

14 years ago * lib/tcbfuncs.c: Avoid implicit conversion of pointers or
nekral-guest [Thu, 18 Mar 2010 00:01:30 +0000 (00:01 +0000)]
* lib/tcbfuncs.c: Avoid implicit conversion of pointers or
integers to booleans.

14 years ago * lib/tcbfuncs.c: Only FreeBSD specify that the returned buffer is
nekral-guest [Thu, 18 Mar 2010 00:01:00 +0000 (00:01 +0000)]
* lib/tcbfuncs.c: Only FreeBSD specify that the returned buffer is
NULL in case of failure. The return value of asprintf shall be
checked.

14 years ago * lib/commonio.c: Ignore the return value of close when a
nekral-guest [Thu, 18 Mar 2010 00:00:05 +0000 (00:00 +0000)]
* lib/commonio.c: Ignore the return value of close when a
failure is reported.

14 years ago * lib/tcbfuncs.h: Added type shadowtcb_status.
nekral-guest [Wed, 17 Mar 2010 23:59:55 +0000 (23:59 +0000)]
* 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.

14 years ago * lib/commonio.c: Avoid implicit conversion of pointers to
nekral-guest [Wed, 17 Mar 2010 23:59:47 +0000 (23:59 +0000)]
* lib/commonio.c: Avoid implicit conversion of pointers to
booleans.
* lib/commonio.c: Ignore the return value of close when a
failure is reported.

14 years agoUpdated copyright dates.
nekral-guest [Tue, 16 Mar 2010 19:15:34 +0000 (19:15 +0000)]
Updated copyright dates.

14 years ago * man/faillog.8.xml: Document the behavior in display mode of the
nekral-guest [Tue, 16 Mar 2010 19:15:22 +0000 (19:15 +0000)]
* 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).

14 years ago * man/chage.1.xml, man/login.defs.5.xml, man/pwck.8.xml,
nekral-guest [Tue, 16 Mar 2010 19:15:05 +0000 (19:15 +0000)]
* 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.

14 years ago * po/POTFILES.in, lib/tcbfuncs.c: Add more strings for
nekral-guest [Tue, 16 Mar 2010 19:14:54 +0000 (19:14 +0000)]
* 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.

14 years ago * src/usermod.c: user_newname and user_newid cannot be used to
nekral-guest [Tue, 16 Mar 2010 19:14:37 +0000 (19:14 +0000)]
* 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.

14 years ago * src/userdel.c: Avoid perror. Give more verbose warnings.
nekral-guest [Tue, 16 Mar 2010 19:13:53 +0000 (19:13 +0000)]
* src/userdel.c: Avoid perror. Give more verbose warnings.

14 years agoRemove generated file.
nekral-guest [Thu, 11 Mar 2010 22:07:50 +0000 (22:07 +0000)]
Remove generated file.

14 years ago * man/Makefile.am: Indicate that man/generate_mans.deps is
nekral-guest [Thu, 11 Mar 2010 22:04:22 +0000 (22:04 +0000)]
* man/Makefile.am: Indicate that man/generate_mans.deps is
generated.

14 years ago * lib/commonio.c: Re-indent.
nekral-guest [Thu, 11 Mar 2010 22:04:14 +0000 (22:04 +0000)]
* 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.

14 years ago * src/userdel.c: Re-indent.
nekral-guest [Thu, 11 Mar 2010 22:04:06 +0000 (22:04 +0000)]
* src/userdel.c: Re-indent.
* src/userdel.c: Added brackets.
* src/userdel.c: Avoid implicit conversion of pointers to
booleans.

14 years ago * lib/shadowio.c: Re-indent.
nekral-guest [Thu, 11 Mar 2010 22:03:57 +0000 (22:03 +0000)]
* 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.

14 years ago * src/useradd.c: Re-indent.
nekral-guest [Thu, 11 Mar 2010 22:03:45 +0000 (22:03 +0000)]
* 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.

14 years ago * src/vipw.c: Document the sections closed by #endif
nekral-guest [Thu, 11 Mar 2010 22:03:37 +0000 (22:03 +0000)]
* 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.

14 years ago * src/usermod.c: Re-indent.
nekral-guest [Thu, 11 Mar 2010 22:03:11 +0000 (22:03 +0000)]
* src/usermod.c: Re-indent.
* src/usermod.c: Avoid implicit conversion of pointers to
booleans.
* src/usermod.c: Added parenthesis.

14 years ago * src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.
nekral-guest [Thu, 11 Mar 2010 22:02:54 +0000 (22:02 +0000)]
* src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.

14 years ago * src/userdel.c: Re-indent.
nekral-guest [Thu, 11 Mar 2010 22:01:59 +0000 (22:01 +0000)]
* src/userdel.c: Re-indent.
* src/userdel.c: Avoid implicit conversion of pointers to
booleans.
* src/userdel.c: Document the sections closed by #endif

14 years ago * src/pwconv.c: Only check USE_TCB if configured WITH_TCB.
nekral-guest [Thu, 11 Mar 2010 22:01:15 +0000 (22:01 +0000)]
* src/pwconv.c: Only check USE_TCB if configured WITH_TCB.

14 years ago * libmisc/copydir.c: Added parenthesis.
nekral-guest [Thu, 11 Mar 2010 22:00:41 +0000 (22:00 +0000)]
* libmisc/copydir.c: Added parenthesis.

14 years ago2010-02-14 Michael Bunk <mb@computer-leipzig.com>
nekral-guest [Wed, 10 Mar 2010 22:30:03 +0000 (22:30 +0000)]
2010-02-14  Michael Bunk  <mb@computer-leipzig.com>

* NEWS, lib/gshadow.c: Fix parsing of gshadow entries.

14 years ago2010-01-30 Paweł Hajdan, Jr. <phajdan.jr@gentoo.org>
nekral-guest [Thu, 4 Mar 2010 18:11:13 +0000 (18:11 +0000)]
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.

14 years ago * libmisc/env.c: Fix sanitize_env() noslash support. This fixes
nekral-guest [Sun, 24 Jan 2010 17:23:42 +0000 (17:23 +0000)]
* libmisc/env.c: Fix sanitize_env() noslash support. This fixes
Alioth#311740. Thanks to Jason Cassell.

14 years ago * src/su.c: Do not sanitize the environment. This breaks
nekral-guest [Sun, 24 Jan 2010 17:13:40 +0000 (17:13 +0000)]
* 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
Unixes will handle setuid executables properly. This Fixes
Alioth#312287.

14 years ago * libmisc/setupenv.c: Fix typo from 2009-11-01.
nekral-guest [Sun, 24 Jan 2010 17:05:37 +0000 (17:05 +0000)]
* libmisc/setupenv.c: Fix typo from 2009-11-01.

14 years ago * configure.in: Add support for TCB in configure.in. Actual TCB
nekral-guest [Sun, 24 Jan 2010 16:53:15 +0000 (16:53 +0000)]
* configure.in: Add support for TCB in configure.in. Actual TCB
support will follow.

15 years ago * NEWS, src/groupmod.c: Fixed groupmod when configured with
nekral-guest [Thu, 5 Nov 2009 22:03:36 +0000 (22:03 +0000)]
* NEWS, src/groupmod.c: Fixed groupmod when configured with
--enable-account-tools-setuid.

15 years ago * NEWS, man/login.defs.d/ENV_SUPATH.xml, libmisc/setupenv.c:
nekral-guest [Sun, 1 Nov 2009 16:59:48 +0000 (16:59 +0000)]
* NEWS, man/login.defs.d/ENV_SUPATH.xml, libmisc/setupenv.c:
Harmonize other paths and documentation with previous
change.

15 years ago2009-11-01 Michel Hermier <michel.hermier@gmail.com>
nekral-guest [Sun, 1 Nov 2009 16:57:59 +0000 (16:57 +0000)]
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).

15 years ago2009-10-15 Thorsten Kukuk <kukuk@suse.de>
nekral-guest [Sat, 17 Oct 2009 20:40:53 +0000 (20:40 +0000)]
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.

15 years agoIndicate new translations.
nekral-guest [Sat, 17 Oct 2009 20:40:00 +0000 (20:40 +0000)]
Indicate new translations.

15 years agoChangelog police.
nekral-guest [Thu, 15 Oct 2009 16:50:43 +0000 (16:50 +0000)]
Changelog police.

15 years agoCompleted Czech translation
bubulle [Mon, 5 Oct 2009 06:11:17 +0000 (06:11 +0000)]
Completed Czech translation

15 years agoVietnamese translation compelted
bubulle [Tue, 29 Sep 2009 18:11:31 +0000 (18:11 +0000)]
Vietnamese translation compelted

15 years agoCzech translation update
bubulle [Sun, 27 Sep 2009 06:23:23 +0000 (06:23 +0000)]
Czech translation update

15 years agoFrench translation update
bubulle [Thu, 24 Sep 2009 20:20:47 +0000 (20:20 +0000)]
French translation update

15 years agoVietnamese translation update
bubulle [Thu, 24 Sep 2009 20:18:50 +0000 (20:18 +0000)]
Vietnamese translation update

15 years agopid_child and kill_child are only used when USE_PAM.
nekral-guest [Tue, 8 Sep 2009 21:33:14 +0000 (21:33 +0000)]
pid_child and kill_child are only used when USE_PAM.

15 years ago * lib/commonio.c: Avoid pre-decrement operator (--n). Add some
nekral-guest [Tue, 8 Sep 2009 21:00:12 +0000 (21:00 +0000)]
* lib/commonio.c: Avoid pre-decrement operator (--n). Add some
comments.
* libmisc/cleanup.c: Fix off by one in an assertion.

15 years ago * src/su.c: Fix indentation.
nekral-guest [Tue, 8 Sep 2009 20:46:43 +0000 (20:46 +0000)]
* 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.

15 years ago * NEWS, src/su.c: When su receives a signal, wait for the child to
nekral-guest [Tue, 8 Sep 2009 20:39:15 +0000 (20:39 +0000)]
* 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.

15 years ago * src/useradd.c: The default value for the CREATE_MAIL_SPOOL
nekral-guest [Tue, 8 Sep 2009 13:16:58 +0000 (13:16 +0000)]
* 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=").

15 years ago * src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead.
nekral-guest [Tue, 8 Sep 2009 13:11:03 +0000 (13:11 +0000)]
* 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.

15 years ago * src/newusers.c: Prefer #ifdef over #if.
nekral-guest [Tue, 8 Sep 2009 13:06:57 +0000 (13:06 +0000)]
* src/newusers.c: Prefer #ifdef over #if.

15 years ago * configure.in: We do not use SETPGRP_VOID, and already assume
nekral-guest [Tue, 8 Sep 2009 13:05:59 +0000 (13:05 +0000)]
* 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.

15 years ago * man/generate_translations.mak, man/generate_mans.mak,
nekral-guest [Mon, 7 Sep 2009 21:49:29 +0000 (21:49 +0000)]
* 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

15 years ago * libmisc/limits.c: Fix the format to match the unsigned long
nekral-guest [Mon, 7 Sep 2009 19:50:00 +0000 (19:50 +0000)]
* 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.

15 years agoFix typo in the version numbers.
nekral-guest [Mon, 7 Sep 2009 19:25:07 +0000 (19:25 +0000)]
Fix typo in the version numbers.

15 years ago * lib/shadowmem.c: Only copy the required fields of the struct
nekral-guest [Mon, 7 Sep 2009 19:08:10 +0000 (19:08 +0000)]
* 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)

15 years ago * lib/sgroupio.h: Harmonize splint annotations of sgr_locate()
nekral-guest [Mon, 7 Sep 2009 18:59:03 +0000 (18:59 +0000)]
* lib/sgroupio.h: Harmonize splint annotations of sgr_locate()
prototype with the one used in its definition.

15 years ago2009-09-07 Steve Grubb <sgrubb@redhat.com>
nekral-guest [Mon, 7 Sep 2009 18:53:47 +0000 (18:53 +0000)]
2009-09-07  Steve Grubb  <sgrubb@redhat.com>

* libmisc/copydir.c, lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
Fix some memory leaks.

15 years ago * src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c,
nekral-guest [Sat, 5 Sep 2009 22:31:29 +0000 (22:31 +0000)]
* 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().

15 years agoAdded new TODO item.
nekral-guest [Sat, 5 Sep 2009 20:26:09 +0000 (20:26 +0000)]
Added new TODO item.

15 years ago * src/gpasswd.c, src/groupmems.c: Split the groupmems and gpasswd
nekral-guest [Sat, 5 Sep 2009 20:25:40 +0000 (20:25 +0000)]
* src/gpasswd.c, src/groupmems.c: Split the groupmems and gpasswd
Usage string. It was changed anyway to add the --help option.

15 years ago * NEWS, src/userdel.c, src/lastlog.c, src/gpasswd.c,
nekral-guest [Fri, 4 Sep 2009 23:02:33 +0000 (23:02 +0000)]
* 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.

15 years ago * src/useradd.c: Fixed wrong format string.
nekral-guest [Fri, 4 Sep 2009 22:09:58 +0000 (22:09 +0000)]
* src/useradd.c: Fixed wrong format string.
* lib/gshadow.c: Removed declaration of unused variable.

15 years ago * man/generate_mans.mak, man/generate_translations.mak: Provide an
nekral-guest [Sun, 30 Aug 2009 19:46:54 +0000 (19:46 +0000)]
* 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.

15 years ago * man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They
nekral-guest [Fri, 21 Aug 2009 15:02:32 +0000 (15:02 +0000)]
* man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They
break the groff formatting.

15 years ago * po/fr.po: Fix typos, based on reviews by the Debian French
nekral-guest [Fri, 14 Aug 2009 21:12:15 +0000 (21:12 +0000)]
* po/fr.po: Fix typos, based on reviews by the Debian French
translation team.

15 years agoComplete French translation
bubulle [Mon, 27 Jul 2009 22:35:13 +0000 (22:35 +0000)]
Complete French translation