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