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
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
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
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
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
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
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
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
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