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-guest2011-02-12 14:57:37 +00:00
2bbe223879
Fix backup command line in cron.daily script. Closes: #596283bubulle2010-09-12 13:00:49 +00:00
5a13d590df
New version will be based on revision 3283.
nekral-guest2010-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-guest2010-09-05 15:34:42 +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-guest2010-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-guest2010-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-guest2010-08-28 19:51:48 +00:00
26d47d4a13
Avoid spurious warning messages. Only display the messages from stderr if the passwords do not match.
nekral-guest2010-08-28 18:05:03 +00:00
7aa5afbe3e
Use an empty /etc/profile to avoid interferences.
nekral-guest2010-08-28 18:03:43 +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-guest2010-08-27 18:03:36 +00:00
3081241777
Behavior of usermod was improved regarding (re)moving the old homedir.
nekral-guest2010-08-27 17:58:24 +00:00
3472bee15a
Behavior of usermod was improved regarding (re)moving the old homedir.
nekral-guest2010-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-guest2010-08-27 17:53:14 +00:00
3b6a675f3f
Use a PAM configuration with the pam_unix md5 option.
nekral-guest2010-08-26 21:31:56 +00:00
bcd3d8c1b8
Use a PAM configuration without a specific hash option => default to DES.
nekral-guest2010-08-26 21:29:46 +00:00
7de171da64
Use a PAM configuration with the pam_unix sha256 option.
nekral-guest2010-08-26 21:28:34 +00:00
fc3fa0e293
Use a pam configuration with the pam_unix sha512 option
nekral-guest2010-08-26 21:27:17 +00:00
53b2f99d37
Use a default pam configuration using pam_unix sha512 option.
nekral-guest2010-08-26 21:25:48 +00:00
056347f7a0
The order of groups returned by id has changed.
nekral-guest2010-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-guest2010-08-26 21:11:33 +00:00
4ff6fdd350
Added missing data files and updated ignore property.
nekral-guest2010-08-26 21:07:25 +00:00
6fd2918f82
sha512 is now the default pam_unix configuration.
nekral-guest2010-08-26 21:02:41 +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-guest2010-08-22 19:13:53 +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-guest2010-08-22 12:49:07 +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-guest2010-08-21 17:31:45 +00:00
3f63005e91
* configure.in: Fixed typo. Thanks to Peter Vrabec.
nekral-guest2010-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-guest2010-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-guest2010-08-21 15:22:39 +00:00
4f667bb442
* lib/groupio.c: Avoid implicit conversion from signed to unsigned.
nekral-guest2010-08-20 20:35:52 +00:00
22294bfac8
* lib/commonio.c: Make sure there are no NULL pointer dereference.
nekral-guest2010-08-20 20:34:44 +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-guest2010-08-20 20:26:32 +00:00
9530fa372c
* debian/passwd.lintian-overrides: Remove old entries relevant for passwd.config.
nekral-guest2010-04-04 23:14:09 +00:00
26691d3301
Document the change of Standards-Version.
nekral-guest2010-04-04 23:11:36 +00:00
263f37a69b
* man/usermod.8.xml: Document changes of ownerships.
nekral-guest2010-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-guest2010-04-04 20:57:54 +00:00