]> granicus.if.org Git - shadow/blobdiff - ChangeLog
* lib/prototypes.h: Cleanup.
[shadow] / ChangeLog
index 95f131c8b3cb3b2ab26c2e14d264489c49839b30..ce57ab8f1a36992feec7782ce4cc1266a4f9fa34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,161 @@
+2012-01-08  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * lib/prototypes.h: Cleanup.
+
+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  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/vipw.c: Do not use a hardcoded program name in the usage
+       message.
+
+2011-12-04  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * 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  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/newusers.c, src/chpasswd.c, src/chgpasswd.c: Harmonize
+       usage messages.
+
+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  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  Peter Vrabec  <pvrabec@redhat.com>
+
+       * libmisc/copydir.c: Ignore errors to copy ACLs if the operation
+       is not supported.
+
+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.
+       * lib/selinux.c: vasprintf requires _GNU_SOURCE to be defined
+       before including stdio.h.
+       * src/chage.c: Cast 3rd date_to_str parameter to a time_t
+       * 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  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  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/gpasswd.1.xml: Document the difference between the -r and -R
+       options.
+
+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>
+
+       * src/gpasswd.c: Change of group password enforces gshadow
+       password. Set /etc/group password to "x".
+
+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.
+       * NEWS, README, src/useradd.c, src/usermod.c, src/userdel.c,
+       configure.in: Use libsemanage instead of semanage.
+
+2011-11-16  Peter Vrabec  <pvrabec@redhat.com>
+
+       * src/Makefile.am: useradd may need the LIBATTR library.
+
+2011-11-16  Peter Vrabec  <pvrabec@redhat.com>
+
+       * libmisc/copydir.c: Ignore perm_copy_file() errors with errno set
+       to ENOTSUP.
+
+2011-11-16  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/useradd.c: Compilation fix when SHADOWGRP is not enabled.
+       * libmisc/root_flag.c: Add missing #include <stdio.h>
+
+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-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-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  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  Nicolas François  <nicolas.francois@centraliens.net>
 
        * src/pwck.c: Compile fix for TCB.
 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
 
        * src/gpasswd.c: Remove log_gpasswd_success_gshadow(). Writing in
-       gshadowis the last sub-task.
+       gshadow is the last sub-task.
 
 2011-09-18  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.
-       * lib/fields.c: Fixed typo from 2010-02-15. field insteadof cp
+       * lib/fields.c: Fixed typo from 2010-02-15. field instead of cp
        ought to be checked.
        * src/vipw.c: Use Prog instead of progname. This is needed since
        Prog is used in the library.
 
 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
 
-       * man/userdel.8.xml: Document tat -f may force teh deletion of a
+       * man/userdel.8.xml: Document that -f may force the deletion of a
        busy user.
 
 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
        src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
        src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c,
        src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c:
-       Harmonize the erro & syslog messages in case of failure of the
+       Harmonize the error & syslog messages in case of failure of the
        *_lock(), *_open(), *_close(), *_unlock(), *_remove() functions.
        * src/chgpasswd.c, src/chpasswd.c, src/usermod.c: Avoid
        capitalized messages.
 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
 
        * src/gpasswd.c: When a password is moved to the gshadow file, use
-       "x" instead of "x" to indicate that the password is shadowed
+       "x" instead of "!" to indicate that the password is shadowed
        (consistency with grpconv).
 
 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>