Commit Graph

  • f4b544786c Added missing Changelog entry for lib/fields.c: * lib/fields.c: Fail if input pointer is NULL. nekral-guest 2011-02-16 20:33:16 +00:00
  • d7fa77f03b * 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. nekral-guest 2011-02-16 20:32:16 +00:00
  • a9b8e7aaa3 Adapt ignore list to previous commits. nekral-guest 2011-02-16 20:27:25 +00:00
  • 0419fc4f5f * NEWS, src/chfn.c, src/chsh.c: Fix CVE-2011-0721: forbid \n in gecos or shell. nekral-guest 2011-02-16 00:18:45 +00:00
  • 7de49dec7b Cleanup previous commit. nekral-guest 2011-02-13 11:51:39 +00:00
  • 0398323a60 * 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. nekral-guest 2011-02-12 14:57:37 +00:00
  • 8b4f07692e * 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 nekral-guest 2010-11-19 21:54:41 +00:00
  • 801dc30dc9 Fix typo in /etc/pam.d/login comments. Thanks to Ferenc Wagner. Closes: #598717 bubulle 2010-10-02 11:30:52 +00:00
  • 81d3f93571 Release 1:4.1.4.2+svn3283-2 bubulle 2010-10-02 11:24:43 +00:00
  • 2bbe223879 Fix backup command line in cron.daily script. Closes: #596283 bubulle 2010-09-12 13:00:49 +00:00
  • 5a13d590df New version will be based on revision 3283. nekral-guest 2010-09-05 16:21:31 +00:00
  • dffc624b37 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(). nekral-guest 2010-09-05 15:34:42 +00:00
  • 150d37d441 Fix typo. nekral-guest 2010-08-29 19:26:34 +00:00
  • 92ada6ae8c Next version should be based on upstream trunk, revision 3280. nekral-guest 2010-08-29 19:17:50 +00:00
  • d1bad25f40 * man/po/fr.po: Fix 2 fuzzy strings. nekral-guest 2010-08-29 19:11:40 +00:00
  • 229f243ca0 * NEWS, src/usermod.c: Accept options in any order (username not necessarily at the end) nekral-guest 2010-08-29 19:02:41 +00:00
  • 91f972bb59 * autogen.sh: Expand autoreconf to avoid running autopoint. nekral-guest 2010-08-29 16:42:25 +00:00
  • 493009ac91 * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated. * po/*.po, man/po/*.po: Updated PO files. nekral-guest 2010-08-29 16:13:47 +00:00
  • f844f3fc1f * New upstream release: - Fixed comma splice in chsh(1). Closes: #582166 nekral-guest 2010-08-28 20:17:28 +00:00
  • 0355e4e930 * man/chsh.1.xml: Fix comma splice. nekral-guest 2010-08-28 20:16:18 +00:00
  • f04a81b799 Add the other failure libraries. nekral-guest 2010-08-28 20:07:14 +00:00
  • 8184041c7e * NEWS, po/kk.po: Updated Kazakh translation. nekral-guest 2010-08-28 20:02:25 +00:00
  • 1d336d3a1e * 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. nekral-guest 2010-08-28 19:58:00 +00:00
  • 991ce97170 * 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. nekral-guest 2010-08-28 19:55:31 +00:00
  • ac62509912 When /var/log/auth.log is checked, flush file system buffers. And add debug information (content of /var/log/auth.log). nekral-guest 2010-08-28 19:51:48 +00:00
  • 090dcd4714 Updated default ENV_SUPATH. nekral-guest 2010-08-28 19:50:13 +00:00
  • 2772f3caaf Even with -p, PATH is reset. This is now documented and tested. nekral-guest 2010-08-28 19:49:12 +00:00
  • bf480028f5 * man/su.1.xml: Fix typo. nekral-guest 2010-08-28 19:48:17 +00:00
  • d4da487911 * debian/rules: Disable new features: --without-acl --without-attr --without-tcb nekral-guest 2010-08-28 19:44:52 +00:00
  • 26d47d4a13 Avoid spurious warning messages. Only display the messages from stderr if the passwords do not match. nekral-guest 2010-08-28 18:05:03 +00:00
  • 7aa5afbe3e Use an empty /etc/profile to avoid interferences. nekral-guest 2010-08-28 18:03:43 +00:00
  • 8e07b2236e Add two tests for pwck. nekral-guest 2010-08-27 18:13:35 +00:00
  • b82323f6fc SUpport for dash. nekral-guest 2010-08-27 18:07:51 +00:00
  • 2da85fc32b Updated list of installed files. nekral-guest 2010-08-27 18:05:48 +00:00
  • 036fdfd2cb Behavior of newusers has changed regarding systeml users (allocation starting from the higest limit and going down). It makes more sens to pass this test with users alredy allocated that way. etc/passwd changed and data/passwd data/group changed to match the new request's results. nekral-guest 2010-08-27 18:03:36 +00:00
  • 3081241777 Behavior of usermod was improved regarding (re)moving the old homedir. nekral-guest 2010-08-27 17:58:24 +00:00
  • 3472bee15a Behavior of usermod was improved regarding (re)moving the old homedir. nekral-guest 2010-08-27 17:57:42 +00:00
  • a6336f11f8 * The PAM version now allows chpasswd an user when there are no shadow entries (or maybe PAM behavior changed). * Document the differences between the 2 versions (PAM will add a shadow entry and the !PAM version will just update the passwd entry). This may have to be fixed later, but is not a clear bug. * Remove unnecessary files nekral-guest 2010-08-27 17:53:14 +00:00
  • 3b6a675f3f Use a PAM configuration with the pam_unix md5 option. nekral-guest 2010-08-26 21:31:56 +00:00
  • bcd3d8c1b8 Use a PAM configuration without a specific hash option => default to DES. nekral-guest 2010-08-26 21:29:46 +00:00
  • 7de171da64 Use a PAM configuration with the pam_unix sha256 option. nekral-guest 2010-08-26 21:28:34 +00:00
  • fc3fa0e293 Use a pam configuration with the pam_unix sha512 option nekral-guest 2010-08-26 21:27:17 +00:00
  • 53b2f99d37 Use a default pam configuration using pam_unix sha512 option. nekral-guest 2010-08-26 21:25:48 +00:00
  • 056347f7a0 The order of groups returned by id has changed. nekral-guest 2010-08-26 21:16:35 +00:00
  • 80d3925cc1 * Updated for dash * There is no need to send a wrong password. The expect script is already changing the password to a wrong one * Updated ignore property nekral-guest 2010-08-26 21:11:33 +00:00
  • 4ff6fdd350 Added missing data files and updated ignore property. nekral-guest 2010-08-26 21:07:25 +00:00
  • 6fd2918f82 sha512 is now the default pam_unix configuration. nekral-guest 2010-08-26 21:02:41 +00:00
  • 991d707460 groupmod usage output was changed. nekral-guest 2010-08-26 19:40:23 +00:00
  • 6268434a34 Error message was updated. nekral-guest 2010-08-26 19:39:20 +00:00
  • 79bd47d726 * Support for dash * chage usage is sent to stdout instead of stderr nekral-guest 2010-08-26 19:39:01 +00:00
  • 6a94f65dc6 Updated debug & log information nekral-guest 2010-08-26 19:37:38 +00:00
  • f38390ecf8 Support for dash. nekral-guest 2010-08-26 19:36:43 +00:00
  • 1906527bb8 Support for dash. nekral-guest 2010-08-26 19:34:04 +00:00
  • 4de1bfac9c Additional debug information. nekral-guest 2010-08-26 19:32:38 +00:00
  • ce8580ca6d Add the last 2 tests to the default tests. nekral-guest 2010-08-26 19:32:12 +00:00
  • 78fd15bab1 Added 2 tests for su. nekral-guest 2010-08-26 19:30:52 +00:00
  • f32335f6f9 System's default PATH has been updated. nekral-guest 2010-08-26 19:27:03 +00:00
  • c7df39a736 Support for dash. nekral-guest 2010-08-26 19:24:28 +00:00
  • cc5a9f7708 Fix typo is the log rationale. nekral-guest 2010-08-26 19:18:29 +00:00
  • f1bb2c3848 Added support for dash. nekral-guest 2010-08-26 19:16:40 +00:00
  • 5f632d1a86 Explicitly set PS1 in order to support test environments where the default shell is set to dash. nekral-guest 2010-08-26 19:13:30 +00:00
  • ab9427420e * 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. nekral-guest 2010-08-22 19:36:09 +00:00
  • 07e462f01f * 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. nekral-guest 2010-08-22 19:13:53 +00:00
  • 7eb6a4b3a4 Updated copyrights. nekral-guest 2010-08-22 13:04:54 +00:00
  • 471a2df3a6 * 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. nekral-guest 2010-08-22 12:49:07 +00:00
  • 7e398a169b * src/sulogin.c: Fix a const issue. nekral-guest 2010-08-21 20:37:23 +00:00
  • 7bb81f6c3e * src/passwd.c: Fix a const issue. * src/passwd.c: Avoid multi-statements lines. nekral-guest 2010-08-21 19:55:46 +00:00
  • c56d59c90b Fix additional const issues. nekral-guest 2010-08-21 19:22:32 +00:00
  • 791ebc58dd * 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. nekral-guest 2010-08-21 17:31:45 +00:00
  • 3f63005e91 * configure.in: Fixed typo. Thanks to Peter Vrabec. nekral-guest 2010-08-21 16:51:53 +00:00
  • f7a00a2334 * libmisc/console.c, libmisc/motd.c, libmisc/setupenv.c, libmisc/sulog.c, libmisc/hushed.c, libmisc/failure.c, libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/pam_pass_non_interractive.c, src/userdel.c, src/login.c, lib/commonio.c, lib/commonio.h: Fix some const issues. * 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. nekral-guest 2010-08-21 15:32:53 +00:00
  • 6a2f349ec5 * 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. nekral-guest 2010-08-21 15:22:39 +00:00
  • 4f667bb442 * lib/groupio.c: Avoid implicit conversion from signed to unsigned. nekral-guest 2010-08-20 20:35:52 +00:00
  • 22294bfac8 * lib/commonio.c: Make sure there are no NULL pointer dereference. nekral-guest 2010-08-20 20:34:44 +00:00
  • 07e67e1350 * libmisc/remove_tree.c: Ignore snprintf return value. nekral-guest 2010-08-20 20:27:34 +00:00
  • 660ed49daf * 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. nekral-guest 2010-08-20 20:26:32 +00:00
  • fad23b25a1 * src/usermod.c: Re-indent. nekral-guest 2010-08-20 18:24:33 +00:00
  • 6b74294844 * lib/commonio.c: Avoid multi-statements lines. nekral-guest 2010-08-20 18:09:14 +00:00
  • 11a564b6bd * man/po/fr.po: Fix a typo. nekral-guest 2010-08-20 17:57:33 +00:00
  • 56545b1b78 Mark translation update bugfix bubulle 2010-06-24 18:43:55 +00:00
  • 939386aabb Kazakh translation update bubulle 2010-06-24 18:43:04 +00:00
  • 01ed010aed * man/po/fr.po: Fix some typos. Minor updates. nekral-guest 2010-04-12 21:49:09 +00:00
  • 52ec0ba938 * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated. * po/*.po, man/po/*.po: Updated PO files. nekral-guest 2010-04-12 21:05:33 +00:00
  • 43c4c62ad7 * debian/control: Do not repeat the Section and Priority fields for the binary packages. nekral-guest 2010-04-05 15:59:06 +00:00
  • 4f8310dfde * 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. nekral-guest 2010-04-04 23:17:11 +00:00
  • 9530fa372c * debian/passwd.lintian-overrides: Remove old entries relevant for passwd.config. nekral-guest 2010-04-04 23:14:09 +00:00
  • 26691d3301 Document the change of Standards-Version. nekral-guest 2010-04-04 23:11:36 +00:00
  • 263f37a69b * man/usermod.8.xml: Document changes of ownerships. nekral-guest 2010-04-04 21:23:02 +00:00
  • 56483122b6 * man/vipw.8.xml: Fix formatting typo. * man/vipw.8.xml: Document the login.defs parameters only when tcb is enabled. nekral-guest 2010-04-04 20:57:54 +00:00
  • 16362e289b 2010-04-04 Nicolas François <nicolas.francois@centraliens.net> nekral-guest 2010-04-04 20:55:46 +00:00
  • 586a8f9e9e * man/hu/passwd.5: Fix formatting typo. * man/id/login.1: Likewise. nekral-guest 2010-04-04 20:48:29 +00:00
  • a8a28eba99 * debian/control: Standards-Version: bumped to 3.8.4. No changes. nekral-guest 2010-04-02 22:16:29 +00:00
  • 3cdfbb6cef * debian/rules, debian/man.insert, debian/man.insert.sed: Hack to avoid bug 507673, causing missing apostrophes in the manpages generated by docbook-xsl. nekral-guest 2010-04-02 22:12:29 +00:00
  • 250ed8cf16 Document the addition of ttyPZ0..3 nekral-guest 2010-04-01 15:41:44 +00:00
  • a9249dbb0a * man/vipw.8.xml: When TCB is enabled, vipw uses login.defs. nekral-guest 2010-03-31 19:52:30 +00:00
  • 47733f1a0f Fix typos. nekral-guest 2010-03-31 12:24:03 +00:00
  • bb02ec3261 Fix typo. nekral-guest 2010-03-31 09:27:11 +00:00
  • c6e3185f0c * debian/securetty.linux: Reorganise and synchronise with Documentation/devices.txt nekral-guest 2010-03-30 23:47:25 +00:00
  • c3689fa60b * NEWS, libmisc/copydir.c: When a hardlink is detected, the original hardlink should not be removed. nekral-guest 2010-03-30 23:14:04 +00:00
  • dc0947da78 * 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. nekral-guest 2010-03-30 21:54:29 +00:00