Commit Graph

  • ceddfa340d Removed TODO entries * groupmems has a testsuite now * long user names are tested for gpasswd * groups and id arenot receiving updates * tests with UID/GID sets to (*id_t)-1 already exist. nekral-guest 2009-04-14 22:19:05 +00:00
  • ae2a17ec1c * debian/login.defs: Update GID_MIN to 1000. This is more consistent with UID_MIN, SYS_GID_MAX and the usage of the same ID for UID and GIDs. This should also be more consistent with the assignment of system group IDs starting from GID_MAX and going down. nekral-guest 2009-04-14 21:38:52 +00:00
  • 7b6b6a081f add a patch to update the nb translation (was not included in 4.1.3). nekral-guest 2009-04-14 20:51:58 +00:00
  • a89ae2b415 Bug closure for nb translation bubulle 2009-04-12 17:49:14 +00:00
  • 8675b74bf4 Norwegian Bokmål translation update bubulle 2009-04-12 17:43:31 +00:00
  • f6b6e256d0 Fixed typo. nekral-guest 2009-04-12 02:53:21 +00:00
  • b4a3ab4082 Added release date. nekral-guest 2009-04-12 02:45:11 +00:00
  • 95611179d1 This is more realistic to have a shell. nekral-guest 2009-04-12 02:26:17 +00:00
  • a8fe4890d5 New locale: kk. Removed manpages: es. nekral-guest 2009-04-12 02:25:51 +00:00
  • 4c58978bf2 Added /usr/local/games to ENV_PATH on Debian nekral-guest 2009-04-12 02:24:44 +00:00
  • d97b4164c7 Updated chage usage message. nekral-guest 2009-04-12 02:23:55 +00:00
  • 049e27557a New system ID allocation. nekral-guest 2009-04-12 02:23:18 +00:00
  • 0b4b3d63da * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated. * po/*.po, man/po/*.po: Updated PO files. nekral-guest 2009-04-12 01:24:45 +00:00
  • 11e7186926 * debian/login.defs: Added /usr/local/games/ to ENV_PATH (for regular users). Closes: #487105 nekral-guest 2009-04-12 00:53:09 +00:00
  • 774f8a073a Added TODO entry. nekral-guest 2009-04-12 00:38:41 +00:00
  • 40065af03f Removed debian/patches/431_su_uid_0_not_root (applied upstream). nekral-guest 2009-04-12 00:36:24 +00:00
  • 6b46161f2d * src/su.c: If there are no root account, or if the root account has an UID != 0, default to the first UID 0 account. nekral-guest 2009-04-12 00:28:32 +00:00
  • b30988f25e Removed patch applied upstream: 415_login_put-echoctl-back. Tag #498788 as fixed nekral-guest 2009-04-12 00:19:35 +00:00
  • 08a212ccae * src/login.c: Restore the echoctl, echoke, onclr flags to the terminal termio flags. Reset echoprt, noflsh, tostop. This behavior seems to have change by mistake in earlier releases (4.0.8, for no obvious reason). nekral-guest 2009-04-12 00:17:36 +00:00
  • 64a9f33ffa * src/login.c: Fix the count of failures before login exits in case of PAM enabled configurations. nekral-guest 2009-04-12 00:08:26 +00:00
  • 99858683d0 Updated debian/patches/542_useradd-O_option for shadow 4.1.3. nekral-guest 2009-04-11 23:37:38 +00:00
  • d3b0033664 * debian/securetty.linux: Removed devfs devices. Usage of devfs enabled kernel in Lenny was not supported. Closes: #511961 nekral-guest 2009-04-11 23:35:49 +00:00
  • bc0f4fa509 * man/passwd.1.xml: Document that passwd uses PAM to authenticate and change passwords on PAM-enabled builds. nekral-guest 2009-04-11 23:32:00 +00:00
  • 681c1d12b5 * src/newusers.c: Add more information to the mkdir and chown failure messages. nekral-guest 2009-04-11 23:30:44 +00:00
  • ce156b578f * man/po/fr.po: Updated some login.defs entries. Thanks to Belkacem Abbas. nekral-guest 2009-04-11 22:41:00 +00:00
  • 4e32b9fea9 * man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml, man/login.defs.d/CONSOLE_GROUPS.xml: Fix typos. nekral-guest 2009-04-11 22:36:11 +00:00
  • fb631fa4eb Add the POT files to the repository. nekral-guest 2009-04-11 19:19:21 +00:00
  • ac305b82a4 Fix typo. nekral-guest 2009-04-11 19:18:38 +00:00
  • 5a56996eef * man/es/Makefile.am: Disable the distribution of Spanish manpages. They are outdated. Please contact pkg-shadow-devel@lists.alioth.debian.org if you wish to provide updates. nekral-guest 2009-04-11 18:57:14 +00:00
  • af7b9b8b62 Fix typo. nekral-guest 2009-04-11 18:44:15 +00:00
  • 554d4f6b95 * src/usermod.c, src/useraddd.c: Fix the usage string so that it does not change depending on the configure option. Use a format. nekral-guest 2009-04-11 18:39:56 +00:00
  • 80a30dfe6f * src/gpasswd.c: Fix the usage of the unused macro. nekral-guest 2009-04-11 18:37:59 +00:00
  • cab74eddef * lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A shadow entry is now sufficient for agecheck. Remove the first passwd entry parameter. nekral-guest 2009-04-11 18:37:08 +00:00
  • 42590e062f * src/userdel.c: Rename argv to args to avoid nameclash with the main() parameters. nekral-guest 2009-04-11 16:52:45 +00:00
  • 3fdefd3e40 * src/useradd.c, src/usermod.c: Only call selinux_update_mapping() if Zflg is set. nekral-guest 2009-04-11 16:47:32 +00:00
  • 192fa18195 Added TODO item. nekral-guest 2009-04-11 16:24:06 +00:00
  • 60a7cc9d7c * libmisc/getgr_nam_gid.c: Added support for NULL argument. * libmisc/chowntty.c: Reuse getgr_nam_gid(), and get rid of atol(). nekral-guest 2009-04-11 16:23:21 +00:00
  • e27f4a91b9 Tag one of the remaining strtol. nekral-guest 2009-04-11 16:08:00 +00:00
  • ca1bb50c24 * libmisc/find_new_gid.c, libmisc/find_new_uid.c: For system accounts, return the first unused ID, starting from the max value. This could be useful later to increase the static IDs range. nekral-guest 2009-04-11 16:00:45 +00:00
  • 8d136297c4 * NEWS, src/useradd.c, man/useradd.8.xml: add -Z option to map SELinux user for user's login. * NEWS, src/usermod.c, man/usermod.8.xml: Likewise. * libmisc/system.c, libmisc/Makefile.am, lib/prototypes.h: Added safe_system(). Used to run semanage. * lib/prototypes.h, libmisc/copydir.c: Make a selinux_file_context() an extern function. * libmisc/copydir.c: Reset SELinux to create files with default contexts at the end of copy_tree(). * NEWS, src/userdel.c: Delete the SELinux user mapping for user's login. nekral-guest 2009-04-11 15:34:10 +00:00
  • 2c400eff94 * src/useradd.c (get_defaults): Close the default file after the default values were read. nekral-guest 2009-04-11 14:55:49 +00:00
  • e1d86d97bb Updated changelog entry bubulle 2009-04-11 13:55:45 +00:00
  • 5d9c298e9d Slovak translation updated bubulle 2009-04-11 13:53:41 +00:00
  • 689a7197a0 Re-indent. nekral-guest 2009-04-11 13:00:32 +00:00
  • a1a7ad3bee Added tests for newusers. nekral-guest 2009-04-11 11:55:40 +00:00
  • beb38aa933 Added test for newusers. nekral-guest 2009-04-11 11:36:33 +00:00
  • a3a623daed Added tests for newusers. nekral-guest 2009-04-11 11:25:12 +00:00
  • d2bd32ab51 Added new newusers tests. nekral-guest 2009-04-11 11:15:13 +00:00
  • 420463e136 Added new tests. Fixed alphabetical order. nekral-guest 2009-04-10 23:14:57 +00:00
  • 34cc1b4591 Do not create a passw.new file. Remove those files. nekral-guest 2009-04-10 23:08:02 +00:00
  • 40f31fe111 Added new SHA256 test cases. nekral-guest 2009-04-10 23:05:41 +00:00
  • 66d1c537b8 Fix the tests for SHA256 and SHA512 passwords. They were testing DES. nekral-guest 2009-04-10 23:00:50 +00:00
  • 0d5d805ba3 Added support for SHA256 and SHA512 tests. nekral-guest 2009-04-10 22:58:06 +00:00
  • af0a5b3a7e Added tests for expiry. nekral-guest 2009-04-10 22:47:47 +00:00
  • e6fdd218b5 Added tests for passwd. nekral-guest 2009-04-10 22:45:47 +00:00
  • 9c9b12ccfb Ignore log files. nekral-guest 2009-04-10 22:43:54 +00:00
  • 208cc24840 Ignore the log files. nekral-guest 2009-04-10 22:42:08 +00:00
  • 413bb19543 * lib/Makefile.am, lib/prototypes.h: Added sgetspent.c. nekral-guest 2009-04-10 22:35:43 +00:00
  • db337babbc * po/POTFILES.in: Added missing files. Sorted. nekral-guest 2009-04-10 22:35:37 +00:00
  • 46861e6bd8 Removed declaration of ep. No more used. Re-indent. nekral-guest 2009-04-10 22:35:32 +00:00
  • 84f5ca951c * lib/getdef.c: Use getlong instead of strtol/strtoul. * libmisc/getlong, lib/getlong.c, libmisc/Makefile.am, lib/Makefile.am: getlong.c moved from libmisc/ to lib/. nekral-guest 2009-04-10 22:35:26 +00:00
  • 1c97cf5c83 Removed DONE entry. nekral-guest 2009-04-10 22:35:19 +00:00
  • 9a7f5c6b16 * lib/shadow.c: Replace strtol() by getlong(). Also detect more issues in a numerical shadow entry field. nekral-guest 2009-04-10 22:35:14 +00:00
  • b5200cf753 * lib/sgetspent.c: Only compile ifndef HAVE_SGETSPENT nekral-guest 2009-04-10 22:35:07 +00:00
  • 686ac847aa Revert " * lib/sgetspent.c: Removed (is not used / compiled) anymore." nekral-guest 2009-04-10 22:35:01 +00:00
  • e075442345 * lib/sgetspent.c: Removed (is not used / compiled) anymore. nekral-guest 2009-04-10 22:34:55 +00:00
  • c7258f22d8 * lib/sgetspent.c: Replace strtol() by getlong(). Also detect more issues in a numerical shadow entry field. nekral-guest 2009-04-10 22:34:49 +00:00
  • 304b0ec202 * src/chage.c: expdays renamed to expdate. It is a date, even if expressed in a number of days since Jan 1, 1970. * src/chage.c: Likewise: lastday renamed to lstchgdate. Also fix the --lastday documentation. nekral-guest 2009-04-10 22:34:42 +00:00
  • 52238dd6a7 * src/chage.c: More strtol() replaced by getlong(). nekral-guest 2009-04-10 22:34:36 +00:00
  • 66e39884e2 * lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is NOT defined. nekral-guest 2009-04-10 22:34:29 +00:00
  • d548bf4742 * src/passwd.c: Replace getnumber() by getlong(). This permits to get rid of another strtol(). nekral-guest 2009-04-10 22:34:23 +00:00
  • 1675ca3378 * libmisc/getlong.c: Include both <stdlib.h> and <errno.h> needed for strtol and errno, and do not include "defines.h" (not needed). nekral-guest 2009-04-10 22:34:17 +00:00
  • 77459dc27d * src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c, libmisc/Makefile.am, lib/prototypes.h: Moved getgr_nam_gid() from src/useradd.c and src/usermod.c to libmisc/getgr_nam_gid.c. nekral-guest 2009-04-10 22:34:10 +00:00
  • ffd3e43ad8 * src/useradd.c: Get rid of strtol. * src/useradd.c: Provide better warning in case a default GROUP or INACTIVE value is not valid in /etc/default/useradd. nekral-guest 2009-04-10 22:34:04 +00:00
  • 95bc6eb7b2 * src/useradd.c: Re-indent. nekral-guest 2009-04-10 22:33:57 +00:00
  • 06c81b67c2 * src/useradd.c: Use getlong instead of get_number. nekral-guest 2009-04-10 22:33:50 +00:00
  • c3f109556a * src/usermod.c: Re-indent. * src/usermod.c: Specifying a inactivity value < -1 is not valid. nekral-guest 2009-04-10 22:33:43 +00:00
  • 00fa6ffc89 Added existing tests. nekral-guest 2009-04-06 00:02:22 +00:00
  • 562ea47e66 Adde test for grpck. nekral-guest 2009-04-06 00:01:30 +00:00
  • 33d5f5d307 Added tests for pwck. nekral-guest 2009-04-05 23:59:24 +00:00
  • 7ab05204f9 Added test for chgpasswd. nekral-guest 2009-04-05 23:58:31 +00:00
  • 7ff74651d9 Added tests for chpasswd. nekral-guest 2009-04-05 23:57:26 +00:00
  • b13dde1746 Tagged bugs already fixed upstream. nekral-guest 2009-04-05 23:53:53 +00:00
  • f481938cc5 * po/*.po, man/po/*.po: Updated PO files. nekral-guest 2009-04-05 23:52:46 +00:00
  • 4b15eefd3c Added todo items. nekral-guest 2009-04-05 23:50:58 +00:00
  • b9df8b5817 * configure.in: Prepare the next 4.1.3 release. nekral-guest 2009-04-05 22:35:12 +00:00
  • ac52639b77 * libmisc/setugid.c libmisc/age.c (setup_uid_gid): is_console is never set ifndef USE_PAM. Change the prototype of setup_uid_gid() when USE_PAM is not defined. This permits to remove add_groups from PAM builds. setup_uid_gid is already subject to HAVE_INITGROUPS. nekral-guest 2009-04-05 22:33:00 +00:00
  • a51954203e * lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to ifndef USE_PAM. * lib/prototypes.h: Remove the declaration of add_cons_grps(). The function does not exist. * libmisc/age.c (setup_uid_gid): is_console is never set ifndef USE_PAM. Change the prototype of setup_uid_gid() when USE_PAM is not defined. This permits to remove add_groups from PAM builds. setup_uid_gid is already subject to HAVE_INITGROUPS. * libmisc/pwd2spwd.c (pwd_to_spwd): pwd_to_spwd() is not used in PAM builds. nekral-guest 2009-04-05 22:29:42 +00:00
  • 021066a980 * src/passwd.c: do_update_age is only used ifndef USE_PAM. Make it more explicit. nekral-guest 2009-04-05 22:04:31 +00:00
  • a1cac18ac3 * src/useradd.c: Set errno to 0 before calling strtol. nekral-guest 2009-04-05 22:02:50 +00:00
  • 2a3b84b888 * libmisc/isexpired.c: If there are no shadow entry, there is no need to convert the password entry to a shadow entry. The password is valid. nekral-guest 2009-04-05 22:02:00 +00:00
  • f703b686da Fix typo. nekral-guest 2009-04-05 21:56:37 +00:00
  • 682eedb167 * man/usermod.8.xml: Split some paragraphs into smaller units. nekral-guest 2009-04-05 21:23:55 +00:00
  • 3511b1de80 Updated copyright dates. nekral-guest 2009-04-05 21:23:42 +00:00
  • 2f85113366 * man/shadow.5.xml: Rewrote to mention the meaning of special values. nekral-guest 2009-04-05 21:23:35 +00:00
  • b23443630c * libmisc/pwd2spwd.c, src/chpasswd.c, src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c, src/useradd.c, src/usermod.c: On Jan 01, 1970, do not set the sp_lstchg field to 0 (which means that the password shall be changed during the next login), but use -1 (password aging disabled). * src/passwd.c: Do not check sp_min if sp_lstchg is null or -1. nekral-guest 2009-04-05 21:23:27 +00:00
  • 7585fa0fe9 * src/chage.c: When no shadow entry exist, thedefault sp_lstchg value should be -1 (no aging) rather than 0 (password must be changed). * src/chage.c: For password expiration and inactivity, indicate that the password must be changed when sp_lstchg is null rather than indicating that expiration and inactivity are not enabled. nekral-guest 2009-04-05 21:23:17 +00:00
  • 1ba2139d5c * libmisc/isexpired.c: Document the isexpired return value. nekral-guest 2009-04-05 21:23:06 +00:00
  • f67403ba01 * libmisc/age.c: Return a specific message when sp_lstchg is null. nekral-guest 2009-04-05 21:22:53 +00:00
  • 996e842149 Added missing space at the end of the question. nekral-guest 2009-03-22 12:32:40 +00:00