Commit Graph

  • a24aff2148 checkutmp is implemented twice. I only changed the second one. Now fix the first one. nekral-guest 2008-05-26 00:26:33 +00:00
  • fc6d8e933b * libmisc/isexpired.c: ARGSUSED is no more needed (shadow is always supported). * libmisc/isexpired.c: Avoid implicit conversion of pointers to booleans. * libmisc/isexpired.c: Add brackets and parenthesis. nekral-guest 2008-05-26 00:14:10 +00:00
  • c6364944d4 * libmisc/sulog.c (sulog): The success argument is a bool. * libmisc/sulog.c: The return values of fflush is not checked on purpose. * libmisc/sulog.c: Indicate that some return values should be checked. nekral-guest 2008-05-26 00:09:24 +00:00
  • 70ef747a56 Updated copyright dates. nekral-guest 2008-05-26 00:04:30 +00:00
  • 3d7aa44c8e * libmisc/ttytype.c: Avoid implicit conversion of pointers / integers to booleans. * libmisc/ttytype.c: Avoid assignments in comparisons. * libmisc/ttytype.c: Add brackets and parenthesis. * libmisc/ttytype.c: The return values of fclose is not checked on purpose. nekral-guest 2008-05-26 00:02:15 +00:00
  • c249832df1 * libmisc/mail.c: Avoid implicit conversion of pointers to booleans. * libmisc/mail.c: Avoid assignments in comparisons. nekral-guest 2008-05-25 23:59:05 +00:00
  • 3169455653 * libmisc/loginprompt.c: Avoid implicit conversion of pointers / chars to booleans. * libmisc/loginprompt.c: Add brackets. * libmisc/loginprompt.c: Avoid assignments in comparisons. * libmisc/loginprompt.c: The return values of fclose and fflush are not checked on purpose. nekral-guest 2008-05-25 23:57:41 +00:00
  • f7122499a6 Avoid implicit conversion of chars to booleans. nekral-guest 2008-05-25 23:50:03 +00:00
  • cc7ac94641 selinux_checked, selinux_enabled, and set_orig are now booleans. nekral-guest 2008-05-25 23:45:21 +00:00
  • 7f9dfde0dc * libmisc/setugid.c (setup_uid_gid): The is_console argument is now a bool. * libmisc/setugid.c: Avoid implicit conversion of integers / pointers to booleans. * libmisc/setugid.c: Add brackets. nekral-guest 2008-05-25 23:42:39 +00:00
  • 2533c87bd6 * libmisc/setugid.c (setup_uid_gid): The is_console argument is no a bool. * libmisc/setugid.c: Avoid implicit conversion of integers / pointers to booleans. * libmisc/setugid.c: Add brackets. nekral-guest 2008-05-25 23:39:59 +00:00
  • 6fef9f5178 * libmisc/pam_pass.c (do_pam_passwd): The silent and change_expired are no booleans instead of int. * libmisc/pam_pass.c: The return value of pam_end is not checked on purpose. nekral-guest 2008-05-25 23:38:05 +00:00
  • f9ac07f455 Updated copyright dates. nekral-guest 2008-05-25 23:32:41 +00:00
  • 175e361a4d Updated copyright dates. nekral-guest 2008-05-25 23:31:10 +00:00
  • 53bedaa4c1 * libmisc/getlong.c: Avoid implicit conversion of pointers / chars to booleans. * libmisc/getlong.c: Add brackets. nekral-guest 2008-05-25 23:25:33 +00:00
  • 1ebf7842f5 * libmisc/valid.c: Avoid implicit conversion of pointers /chars to booleans. * libmisc/valid.c: Add brackets. nekral-guest 2008-05-25 23:22:15 +00:00
  • f14452ec3c * libmisc/yesno.c: yes_or_no returns a bool instead of int. * libmisc/yesno.c: Avoid implicit conversion of pointers to booleans. * libmisc/yesno.c: The return value of fflush is not checked on purpose. nekral-guest 2008-05-25 23:01:14 +00:00
  • 78c0edb7c1 (failcheck): The failed argument is a bool. nekral-guest 2008-05-25 22:54:20 +00:00
  • f2b4efff20 Avoid implicit conversion of integers to booleans. nekral-guest 2008-05-25 22:51:46 +00:00
  • 11003f5842 * libmisc/rlogin.c: Avoid assignments in comparisons. * libmisc/rlogin.c: Avoid implicit conversion of integers to booleans. * libmisc/rlogin.c: Add brackets. nekral-guest 2008-05-25 22:49:41 +00:00
  • c638c3cc3d * libmisc/failure.c (failcheck): The failed argument is a bool. * libmisc/failure.c (too_many_failures): too_many_failures returns a bool. * libmisc/failure.c: Add notes about unchecked return values. * libmisc/failure.c: Avoid assignments in comparisons. * libmisc/failure.c: Add brackets. nekral-guest 2008-05-25 22:44:44 +00:00
  • a2982f0d4e * libmisc/myname.c: Avoid assignments in comparisons. * libmisc/myname.c: Avoid implicit conversion of pointers / chars to booleans. * libmisc/myname.c: Add brackets. nekral-guest 2008-05-25 22:15:28 +00:00
  • 639b2bd8e5 nekral-guest 2008-05-25 22:14:19 +00:00
  • 7069324a20 * libmisc/utmp.c (checkutmp): Change picky argument's type to bool. * libmisc/utmp.c: Use bool when possible (found_utmpx, found_utmp). * libmisc/utmp.c: Add note about unchecked return values. nekral-guest 2008-05-25 22:11:12 +00:00
  • 9d331bb32b * Change type of added to bool. * Avoid implicit conversion of pointers to booleans. nekral-guest 2008-05-25 22:03:09 +00:00
  • bc0657d13c * hushed returns a bool instead of int. * Avoid assignments in comparisons. * (hushed) Change type of found to bool. * Add brackets. * Always check if the user or the shell is in the file. Do not check the first character of the line first. This is simpler and match better with the HUSHLOGIN_FILE documentation. nekral-guest 2008-05-25 21:52:14 +00:00
  • 712ed48a62 * lib/getdef.h, lib/getdef.c: getdef_bool returns a bool instead of int. * lib/getdef.c: Change typo of def_loaded to bool. * lib/getdef.c: Add brackets. * lib/getdef.c: Avoid assignment in comparisons. nekral-guest 2008-05-25 21:43:05 +00:00
  • 66afec21d1 Allow usage of booleans in the source. nekral-guest 2008-05-25 21:34:38 +00:00
  • b94825bbad * is_my_tty returns a bool. * Avoid implicit conversion of integers to booleans. * Add brackets. nekral-guest 2008-05-25 21:33:38 +00:00
  • 06d2a32a3e * Avoid assignment in comparisons, implicit comparison of integers to booleans. * The return value of closedir is not checked on purpose. * Add brackets. nekral-guest 2008-05-25 21:23:28 +00:00
  • 623d9e2ab3 * libmisc/chkname.h, libmisc/chkname.c: check_group_name (resp. check_user_name) renamed to is_valid_user_name (resp. is_valid_group_name). is_valid_user_name and is_valid_group_name return a bool. * src/grpck.c, src/newusers.c, src/usermod.c, src/useradd.c, src/groupmod.c, src/pwck.c, src/groupadd.c: Use is_valid_user_name and is_valid_group_name, following above change. * libmisc/chkname.c: Avoid implicit conversion of chars to booleans. Add brackets and parenthesis. nekral-guest 2008-05-25 20:58:16 +00:00
  • cb8d416b37 Avoid implicit conversion of integers / pointers to booleans. nekral-guest 2008-05-25 20:41:13 +00:00
  • de9bee0354 Avoid implicit conversion of integers / pointers to booleans. nekral-guest 2008-05-25 20:39:31 +00:00
  • ae75a8c0c1 Allow usage of booleans in the source. nekral-guest 2008-05-25 20:37:51 +00:00
  • 8098f63998 Allow --disable-man and --enable-man=no. nekral-guest 2008-05-25 20:30:45 +00:00
  • b8a41d9480 Tag release 4.1.2 4.1.2 nekral-guest 2008-05-25 12:58:59 +00:00
  • 2303ddd0de Set the version to 4.1.2. nekral-guest 2008-05-24 23:15:47 +00:00
  • b5b636b8b7 Prepare the 4.1.2 release * NEWS: set the release date. * man/po/*.po, po/*.po: Updated PO files. nekral-guest 2008-05-24 23:03:24 +00:00
  • a665e829ae Run msgmerge with --previous. (This requires gettext >= 0.16) nekral-guest 2008-05-24 22:58:21 +00:00
  • 8d682b7f61 Remove the transition proposal email for bug 276419. The transition is now over one year. nekral-guest 2008-05-24 19:20:33 +00:00
  • 6124b59aff * libmisc/copydir.c (remove_tree): As we always use remove_tree followed by rmdir to remove the directory itself, delete also the root directory in remove_tree. * src/userdel.c, src/usermod.c: Do not call rmdir after remove_tree. nekral-guest 2008-05-24 15:35:15 +00:00
  • 9c41a8ad38 * libmisc/fields.c: Avoid assignments in comparisons, assignments with post increments (x++), use of integers as booleans, and explicitly mark blocks with brackets. * libmisc/copydir.c: Likewise. * libmisc/fields.c: Add comments. * libmisc/copydir.c: Mark function whose return value is not checked as such. nekral-guest 2008-05-24 15:19:02 +00:00
  • cda1f9a23d Simply passwd_check since it's never used when configured with PAM support. nekral-guest 2008-05-24 14:11:31 +00:00
  • 0219d72f48 * libmisc/list.c: Avoid assignments in comparisons, assignments with post increments (x++), use of integers as booleans, and explicitly mark blocks with brackets. nekral-guest 2008-05-24 14:09:35 +00:00
  • d99423405c Fix compiler warnings: * libmisc/audit_help.c: Include prototypes.h to get the prototype of audit_help_open. * libmisc/salt.c: Use booleans instead of negating integers. * src/passwd.c: Declare the check_selinux_access prototype and avoid name clashes (change_user -> changed_user; change_uid -> changed_uid; access -> requested_access) nekral-guest 2008-05-24 13:08:58 +00:00
  • eeb9592ded Use fputs rather than fprintf for constant strings. nekral-guest 2008-05-23 20:55:11 +00:00
  • 0120fc10e1 Added TODO items. nekral-guest 2008-05-23 20:47:45 +00:00
  • b9ac46305f Indicate that login should be executed with "exec login" if called from a shell. nekral-guest 2008-05-21 18:58:06 +00:00
  • ec9e63b7de Remove the advices for the choice of a good password (they are debatable). Point to http://en.wikipedia.org/wiki/Password_strength instead. nekral-guest 2008-05-21 18:25:48 +00:00
  • a917ba4fb9 *** security: - generation of SHA encrypted passwords (chpasswd, gpasswd, newusers, chgpasswd; and also passwd if configured without PAM support). The number of rounds and number of salt bytes was fixed to their lower allowed values (resp. configurable and 8), hence voiding some of the advantages of this encryption method. Dictionary attacks with precomputed tables were easier than expected, but still harder than with the MD5 (or DES) methods. nekral-guest 2008-05-20 13:34:06 +00:00
  • 9c69fe73b1 Tag the section which require --enable-shadowgrp or --with-sha-crypt accordingly. nekral-guest 2008-05-19 22:18:14 +00:00
  • 63228ac1c6 SHA_CRYPT_MAX_ROUNDS and SHA_CRYPT_MIN_ROUNDS can only exist if configured with --with-sha-crypt. nekral-guest 2008-05-19 21:57:48 +00:00
  • a071d72e48 Document the -k, --skel option, and update the -m, --create-home documentation. nekral-guest 2008-05-19 21:32:19 +00:00
  • 7ab3a97dfe Sort options. nekral-guest 2008-05-19 21:04:34 +00:00
  • ae7aeda621 SHA_CRYPT_MAX_ROUNDS and SHA_CRYPT_MIN_ROUNDS can only exist if configured with --with-sha-crypt. nekral-guest 2008-05-19 20:59:51 +00:00
  • 0d6b2221ab SHA_CRYPT_MAX_ROUNDS and SHA_CRYPT_MIN_ROUNDS can only exist if configured with --with-sha-crypt. nekral-guest 2008-05-19 20:58:59 +00:00
  • 337a97ceab Document the sections closed by #endif nekral-guest 2008-05-19 20:56:48 +00:00
  • 461d69522f * NEWS, man/groupadd.8.xml: Document the -r, --system option. * NEWS, man/newusers.8.xml: Document the -r, --system option. * NEWS, man/newusers.8.xml: Document the -c, --crypt-method and -s, --sha-rounds options. nekral-guest 2008-05-19 20:53:12 +00:00
  • 537496c019 Fix formatting. nekral-guest 2008-05-19 20:31:48 +00:00
  • 300f7416c4 Document the -r, --system option. nekral-guest 2008-05-19 19:43:24 +00:00
  • 243809af3a Fix typo. nekral-guest 2008-05-18 16:38:13 +00:00
  • 3fed00196c Import Debian patch 487_passwd_chauthtok_failed_message * libmisc/pam_pass.c: Be more verbose and indicate that the password was not changed when pam_chauthtok fails (in addition to the PAM error, which may not be comprehensible for the users). nekral-guest 2008-05-18 15:06:51 +00:00
  • fb4271bdf9 Import Debian patch 434_login_stop_checking_args_after-- * NEWS, src/login.c (check_flags): Stop checking the arguments after --. The later options will be sent to the shell, and do not need to be checked. nekral-guest 2008-05-18 14:54:35 +00:00
  • 6a17c2b27f * src/vipw.c, src/su.c, src/newgrp.c: Harmonize the children's SIGSTOP handling. Raise the signal which stopped the child instead of always SIGSTOP. nekral-guest 2008-05-18 13:41:56 +00:00
  • c7302b61ef Make sure every source files are distributed with a copyright and license. Files with no license use the default 3-clauses BSD license. The copyright were mostly not recorded; they were updated according to the Changelog. "Julianne Frances Haugh and contributors" changed to "copyright holders and contributors". nekral-guest 2008-04-27 00:40:09 +00:00
  • 8a8072a563 If the SULOG_FILE does not exist when an su session is logged, make sure the file is created with group root, instead of using the group of the caller. nekral-guest 2008-04-27 00:27:59 +00:00
  • 4196525702 Allow non-US-ASCII characters in the GECOS fields ("name", "room number", and "other info" fields). nekral-guest 2008-04-27 00:24:49 +00:00
  • 39c3a9c268 Versioned Replaces on manpages-tr bubulle 2008-04-22 20:54:58 +00:00
  • 4d7d6a1a9f Fix build failure when configured with audit support. Thanks to Mike Frysinger for reporting it. nekral-guest 2008-04-16 22:04:46 +00:00
  • 2542732a0c Fix ident. nekral-guest 2008-04-16 22:03:43 +00:00
  • 7baffa5e74 Ensure that getpwent() is used in setpwent(), getpwent(), endpwend() sequences (ditto for getgrent(), getspent(), and getsgent()). The only real (minor) issue was in login, which kept the passwd file open. * libmisc/entry.c: Remove unneeded setspent() and endspent() (only getspnam is called in the middle). * libmisc/find_new_ids.c: Make sure to close the password and group files with endpwent() and endgrent(). * libmisc/pwdcheck.c: Remove unneeded endspent() (only getspnam() is called before). * src/lastlog.c, src/passwd.c, src/groupmod.c, src/faillog.c, src/groups.c: Make sure to close the password file with endpwent(). * src/login.c: Remove unneeded setpwent() (only xgetpwnam is called before). * src/login.c, src/newgrp.c: Fix typos in comments. nekral-guest 2008-04-16 21:52:46 +00:00
  • 10ebb14481 Fix typo. nekral-guest 2008-04-16 21:24:14 +00:00
  • 8e82ae234e Also fix the detection of the pam and selinux features: Fail if the feature is requested but the library (or header file) could not be found. If nothing is specified, enable the feature only if we can find the library (or header file). nekral-guest 2008-04-16 21:18:20 +00:00
  • 17cb7c754e Document --with-selinux as "yes if found" rather than "autodetected" for consistency with other options. nekral-guest 2008-04-16 20:16:43 +00:00
  • 70bf7cca33 Fix the detection of the audit library and header file. nekral-guest 2008-04-16 20:09:03 +00:00
  • 510226f810 * The "Brie de Meaux" and "Brie de Melun" double cheese release. * debian/patches/505_useradd_recommend_adduser: Fix typo: userdel is used to remove an user, not to add one. Closes: #475795 nekral-guest 2008-04-13 21:21:00 +00:00
  • 0db4a29c22 Simplify Replaces by dropping all pre-Etch versions bubulle 2008-04-07 21:11:46 +00:00
  • e5dd164814 Versioned Replaces on manpages-zh after 1.5.1-1 upload of that package bubulle 2008-04-07 21:05:22 +00:00
  • a80f47a81d Add a cheesy check. nekral-guest 2008-04-04 19:43:33 +00:00
  • f89cf0cf20 * NEWS, etc/pam.d/Makefile.am: Add chfn, chsh, and userdel to $(pamd_files). Remove the duplicate useradd. And sort alphabetically. Thanks to Mark Rosenstand <mark@borkware.net>. * NEWS: Prepare next release, 4.1.2. nekral-guest 2008-04-04 18:50:22 +00:00
  • 1dd0a7e836 Commit the PO and POTs released with 4.1.1. nekral-guest 2008-04-03 20:27:37 +00:00
  • 40461f86ed Remove debian/passwd.postrm, which is now empty. Thanks lintian. nekral-guest 2008-04-03 00:03:20 +00:00
  • 5a1749e06e Alphabetical order. nekral-guest 2008-04-02 23:31:31 +00:00
  • 7500d0ec1c Prepare the 1:4.1.1-1 release. Add a Homepage field. nekral-guest 2008-04-02 23:29:34 +00:00
  • 1de80f9457 * NEWS, configure.in: Prepare release 4.1.1 * NEWS: Fix the release date of 4.1.0. Was in 2007, not 2008. nekral-guest 2008-04-02 21:55:27 +00:00
  • b345316e49 Update according to the file under review. Thanks to Jean-Luc Coulon. nekral-guest 2008-04-02 21:54:23 +00:00
  • e8a2633984 Add TODO items for SELINUX. nekral-guest 2008-04-02 21:42:04 +00:00
  • 6da3c2ba7f German translation update bubulle 2008-04-01 19:01:46 +00:00
  • 5c9143c432 German translation update bubulle 2008-04-01 19:01:16 +00:00
  • 4fa62a74e2 Bug closure for basque translation update bubulle 2008-03-31 17:55:24 +00:00
  • 9dda0ada5f Basque translation update bubulle 2008-03-31 17:54:52 +00:00
  • 57144e2820 updated to 360t71f. Thanks to Leandro Azevedo <leorock182@gmail.com>. nekral-guest 2008-03-30 12:52:57 +00:00
  • 5901e73a95 Add bug closure bubulle 2008-03-30 12:20:40 +00:00
  • d7a926d69a Turkish translation update bubulle 2008-03-30 12:18:40 +00:00
  • 0a5fad05a8 updated to 431t. Thanks to Clytie Siddall nekral-guest 2008-03-30 12:06:33 +00:00
  • ad135f478a Updated Swedish translation. Thanks to Daniel Nylander. nekral-guest 2008-03-30 11:54:19 +00:00
  • 79081455e3 Really Update the link to the new repository layout and Add a Vcs-Browser field. nekral-guest 2008-03-29 13:34:40 +00:00
  • 73fe74c374 Change XS-X-Vcs-Svn to Vcs-Svn. Update the link to the new repository layout. Add a Vcs-Browser field. nekral-guest 2008-03-29 12:19:03 +00:00
  • d56b246d1b The Slovak translation was also updated upstream. This closes #471802. nekral-guest 2008-03-28 23:25:04 +00:00
  • f2b518a31f Updated to 431t. Thanks to helix84 <helix84@centrum.sk>. nekral-guest 2008-03-28 23:23:41 +00:00