]> granicus.if.org Git - shadow/log
shadow
14 years ago * lib/commonio.c: Make sure there are no NULL pointer dereference.
nekral-guest [Fri, 20 Aug 2010 20:34:44 +0000 (20:34 +0000)]
* lib/commonio.c: Make sure there are no NULL pointer dereference.

14 years ago * libmisc/remove_tree.c: Ignore snprintf return value.
nekral-guest [Fri, 20 Aug 2010 20:27:34 +0000 (20:27 +0000)]
* libmisc/remove_tree.c: Ignore snprintf return value.

14 years ago * lib/prototypes.h, libmisc/list.c: dup_list() and is_on_list() do
nekral-guest [Fri, 20 Aug 2010 20:26:32 +0000 (20:26 +0000)]
* 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.

14 years ago * src/usermod.c: Re-indent.
nekral-guest [Fri, 20 Aug 2010 18:24:33 +0000 (18:24 +0000)]
* src/usermod.c: Re-indent.

14 years ago * lib/commonio.c: Avoid multi-statements lines.
nekral-guest [Fri, 20 Aug 2010 18:09:14 +0000 (18:09 +0000)]
* lib/commonio.c: Avoid multi-statements lines.

14 years ago * man/po/fr.po: Fix a typo.
nekral-guest [Fri, 20 Aug 2010 17:57:33 +0000 (17:57 +0000)]
* man/po/fr.po: Fix a typo.

14 years agoKazakh translation update
bubulle [Thu, 24 Jun 2010 18:43:04 +0000 (18:43 +0000)]
Kazakh translation update

14 years ago * man/po/fr.po: Fix some typos. Minor updates.
nekral-guest [Mon, 12 Apr 2010 21:49:09 +0000 (21:49 +0000)]
* man/po/fr.po: Fix some typos. Minor updates.

14 years ago * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
nekral-guest [Mon, 12 Apr 2010 21:05:33 +0000 (21:05 +0000)]
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
* po/*.po, man/po/*.po: Updated PO files.

14 years ago * man/newusers.8.xml, man/useradd.8.xml, man/groupadd.8.xml,
nekral-guest [Sun, 4 Apr 2010 23:17:11 +0000 (23:17 +0000)]
* 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.

14 years ago * man/usermod.8.xml: Document changes of ownerships.
nekral-guest [Sun, 4 Apr 2010 21:23:02 +0000 (21:23 +0000)]
* man/usermod.8.xml: Document changes of ownerships.

14 years ago * man/vipw.8.xml: Fix formatting typo.
nekral-guest [Sun, 4 Apr 2010 20:57:54 +0000 (20:57 +0000)]
* man/vipw.8.xml: Fix formatting typo.
* man/vipw.8.xml: Document the login.defs parameters only when tcb
is enabled.

14 years ago2010-04-04 Nicolas François <nicolas.francois@centraliens.net>
nekral-guest [Sun, 4 Apr 2010 20:55:46 +0000 (20:55 +0000)]
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.

14 years ago * man/hu/passwd.5: Fix formatting typo.
nekral-guest [Sun, 4 Apr 2010 20:48:29 +0000 (20:48 +0000)]
* man/hu/passwd.5: Fix formatting typo.
* man/id/login.1: Likewise.

14 years ago * man/vipw.8.xml: When TCB is enabled, vipw uses login.defs.
nekral-guest [Wed, 31 Mar 2010 19:52:30 +0000 (19:52 +0000)]
* man/vipw.8.xml: When TCB is enabled, vipw uses login.defs.

14 years agoFix typos.
nekral-guest [Wed, 31 Mar 2010 12:24:03 +0000 (12:24 +0000)]
Fix typos.

14 years agoFix typo.
nekral-guest [Wed, 31 Mar 2010 09:27:11 +0000 (09:27 +0000)]
Fix typo.

14 years ago * NEWS, libmisc/copydir.c: When a hardlink is detected, the
nekral-guest [Tue, 30 Mar 2010 23:14:04 +0000 (23:14 +0000)]
* NEWS, libmisc/copydir.c: When a hardlink is detected, the
original hardlink should not be removed.

14 years ago * po/POTFILES.in, libmisc/Makefile.am, lib/prototypes.h,
nekral-guest [Tue, 30 Mar 2010 21:54:29 +0000 (21:54 +0000)]
* 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.

14 years ago * src/su.c: shell's name must be -su when a su fakes a login.
nekral-guest [Tue, 30 Mar 2010 21:32:36 +0000 (21:32 +0000)]
* src/su.c: shell's name must be -su when a su fakes a login.

14 years ago * NEWS, configure.in, libmisc/copydir.c, man/useradd.8.xml,
nekral-guest [Tue, 30 Mar 2010 21:01:27 +0000 (21:01 +0000)]
* NEWS, configure.in, libmisc/copydir.c, man/useradd.8.xml,
man/usermod.8.xml, src/Makefile.am: Added support for ACLs and
Extended Attributes.

14 years ago * libmisc/copydir.c: Document the sections closed by #endif
nekral-guest [Tue, 30 Mar 2010 21:00:43 +0000 (21:00 +0000)]
* libmisc/copydir.c: Document the sections closed by #endif

14 years ago * etc/login.defs: Updated description of UMASK to indicate its
nekral-guest [Sat, 27 Mar 2010 20:11:21 +0000 (20:11 +0000)]
* etc/login.defs: Updated description of UMASK to indicate its
usage by pam_umask.
* man/login.defs.d/UMASK.xml: Likewise.

14 years ago * man/vipw.8.xml: Add section ENVIRONMENT.
nekral-guest [Sat, 27 Mar 2010 20:09:49 +0000 (20:09 +0000)]
* man/vipw.8.xml: Add section ENVIRONMENT.

14 years ago * etc/login.defs: Updated description of UMASK to indicate its
nekral-guest [Fri, 26 Mar 2010 11:53:06 +0000 (11:53 +0000)]
* etc/login.defs: Updated description of UMASK to indicate its
usage by pam_umask.

14 years ago * man/login.1.xml: login does not check for new mails in PAM
nekral-guest [Thu, 25 Mar 2010 20:38:31 +0000 (20:38 +0000)]
* man/login.1.xml: login does not check for new mails in PAM
enabled versions. This is done by pam_mail.

14 years ago * NEWS, src/chpasswd.c, man/chpasswd.8.xml, man/login.defs.5.xml:
nekral-guest [Thu, 25 Mar 2010 20:35:59 +0000 (20:35 +0000)]
* 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.

14 years ago * src/su.c, src/vipw.c, src/newgrp.c: When the child is
nekral-guest [Tue, 23 Mar 2010 13:05:06 +0000 (13:05 +0000)]
* src/su.c, src/vipw.c, src/newgrp.c: When the child is
interrupted, stop ourself with a SIGSTOP signal.

14 years ago * src/newgrp.c: Limit the scope of variable pid.
nekral-guest [Tue, 23 Mar 2010 11:26:34 +0000 (11:26 +0000)]
* 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.

14 years ago * lib/utent.c (getutline): Remove getutline(). This function is
nekral-guest [Tue, 23 Mar 2010 08:56:52 +0000 (08:56 +0000)]
* 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.

14 years ago * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Detect some
nekral-guest [Sun, 21 Mar 2010 01:20:50 +0000 (01:20 +0000)]
* 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)

14 years ago * NEWS, configure.in: Next version will be 4.1.5.
nekral-guest [Sat, 20 Mar 2010 10:31:36 +0000 (10:31 +0000)]
* NEWS, configure.in: Next version will be 4.1.5.

14 years ago * libmisc/limits.c: Re-indent to make pmccabe happy.
nekral-guest [Sat, 20 Mar 2010 10:29:27 +0000 (10:29 +0000)]
* libmisc/limits.c: Re-indent to make pmccabe happy.

14 years ago * man/generate_translations.mak, man/generate_mans.mak: Fix
nekral-guest [Sat, 20 Mar 2010 10:25:34 +0000 (10:25 +0000)]
* man/generate_translations.mak, man/generate_mans.mak: Fix
distcheck. All manpages generation code shall be enclosed in
ENABLE_REGENERATE_MAN conditions.

14 years ago * man/useradd.8.xml: Do not document the features which are not
nekral-guest [Sat, 20 Mar 2010 10:23:57 +0000 (10:23 +0000)]
* 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.

14 years ago * lib/groupio.c: Fix memory management insplit_groups().
nekral-guest [Sat, 20 Mar 2010 10:21:40 +0000 (10:21 +0000)]
* lib/groupio.c: Fix memory management insplit_groups().

14 years ago * libmisc/strtoday.c: Empty dates indicate a disabled date, this is
nekral-guest [Sat, 20 Mar 2010 10:19:50 +0000 (10:19 +0000)]
* libmisc/strtoday.c: Empty dates indicate a disabled date, this is
not an error.

14 years ago * libmisc/limits.c: Removed unused variable.
nekral-guest [Fri, 19 Mar 2010 11:25:56 +0000 (11:25 +0000)]
* libmisc/limits.c: Removed unused variable.

14 years ago * src/useradd.c, lib/commonio.c, po/POTFILES.in: Fix typos.
nekral-guest [Fri, 19 Mar 2010 11:01:32 +0000 (11:01 +0000)]
* src/useradd.c, lib/commonio.c, po/POTFILES.in: Fix typos.

14 years ago * lib/commonio.c: Stop sorting entries when we reach the first
nekral-guest [Thu, 18 Mar 2010 23:21:21 +0000 (23:21 +0000)]
* lib/commonio.c: Stop sorting entries when we reach the first
NIS line.

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.