]> granicus.if.org Git - shadow/log
shadow
13 years ago * libmisc/find_new_uid.c: free (used_uids) on return.
nekral-guest [Sat, 30 Jul 2011 01:38:07 +0000 (01:38 +0000)]
* libmisc/find_new_uid.c: free (used_uids) on return.
* libmisc/find_new_gid.c: free (used_gids) on return.

13 years ago * lib/commonio.c: Fix NIS commit from 2011-07-14.
nekral-guest [Thu, 28 Jul 2011 15:19:40 +0000 (15:19 +0000)]
* lib/commonio.c: Fix NIS commit from 2011-07-14.

13 years ago * NEWS, src/chpasswd.c: Create a shadow entry if the password is
nekral-guest [Thu, 28 Jul 2011 15:18:39 +0000 (15:18 +0000)]
* NEWS, src/chpasswd.c: Create a shadow entry if the password is
set to 'x' in passwd and there are no entry in shadow for the
user.
* NEWS, src/chgpasswd.c: Create a gshadow entry if the password is
set to 'x' in group and there are no entry in gshadow for the
group.

13 years ago * NEWS, src/chpasswd.c: Create a shadow entry if the password is
nekral-guest [Thu, 28 Jul 2011 15:17:28 +0000 (15:17 +0000)]
* NEWS, src/chpasswd.c: Create a shadow entry if the password is
set to 'x' in passwd and there are no entry in shadow for the
user.
* NEWS, src/chgpasswd.c: Create a gshadow entry if the password is
set to 'x' in group and there are no entry in gshadow for the
group.

13 years ago * src/pwunconv.c: Exit after printing usage when arguments or
nekral-guest [Thu, 28 Jul 2011 14:40:56 +0000 (14:40 +0000)]
* src/pwunconv.c: Exit after printing usage when arguments or
options are provided.
* src/pwunconv.c: Re-indent.
* src/pwunconv.c: Open the shadow file read only.
* src/grpunconv.c: Exit after printing usage when arguments or
options are provided.
* src/grpunconv.c: Open the gshadow file read only.

13 years ago * src/chgpasswd.c: Fix typo.
nekral-guest [Thu, 28 Jul 2011 14:36:24 +0000 (14:36 +0000)]
* src/chgpasswd.c: Fix typo.

13 years agoAdd more info on the change of behavior.
nekral-guest [Sat, 23 Jul 2011 11:05:59 +0000 (11:05 +0000)]
Add more info on the change of behavior.

13 years ago * NEWS, src/login.c: Do not log in utmp / utmpx / wtmp when PAM is
nekral-guest [Sat, 23 Jul 2011 11:03:50 +0000 (11:03 +0000)]
* NEWS, src/login.c: Do not log in utmp / utmpx / wtmp when PAM is
enabled. This is already done by pam_lastlog.

13 years ago * src/chpasswd.c: Add annotations to indicate that usage() does
nekral-guest [Sat, 23 Jul 2011 08:14:15 +0000 (08:14 +0000)]
* src/chpasswd.c: Add annotations to indicate that usage() does
not return.
* src/chpasswd.c: Reindent.
* src/chpasswd.c: Remove dead code. No need to set crypt_method
to NULL when it is already NULL. sflg is only set if crypt_method
is not NULL.

13 years ago * src/lastlog.c: Add annotations to indicate that usage() does not
nekral-guest [Sat, 23 Jul 2011 08:10:27 +0000 (08:10 +0000)]
* src/lastlog.c: Add annotations to indicate that usage() does not
return.

13 years ago * src/faillog.c: Add annotations to indicate that usage() does not
nekral-guest [Fri, 22 Jul 2011 23:59:57 +0000 (23:59 +0000)]
* src/faillog.c: Add annotations to indicate that usage() does not
return.
* src/faillog.c: Fix message: this is faillog, not lastlog.
* src/faillog.c: Check that there are no extra arguments after
parsing the options.

13 years ago * src/chgpasswd.c: Add annotations to indicate that usage() does
nekral-guest [Fri, 22 Jul 2011 23:52:08 +0000 (23:52 +0000)]
* src/chgpasswd.c: Add annotations to indicate that usage() does
not return.
* src/chgpasswd.c: Split usage in smaller parts. Those parts are
already translated for chpasswd. Usage is now closer to
chpasswd's.
* src/chgpasswd.c: Remove dead code. No need to set crypt_method
to NULL when it is already NULL. sflg is only set if crypt_method
is not NULL.

13 years ago * src/expiry.c: Remove dead code.
nekral-guest [Fri, 22 Jul 2011 22:39:30 +0000 (22:39 +0000)]
* src/expiry.c: Remove dead code.
* src/expiry.c: Improve comments.

13 years ago * src/grpck.c: Added comments.
nekral-guest [Fri, 22 Jul 2011 22:07:23 +0000 (22:07 +0000)]
* src/grpck.c: Added comments.
* src/grpck.c: Avoid implicit conversion of pointer to boolean.
* src/grpck.c: Remove dead code. argc cannot be lower than optind.
Avoid checking twice in a row for NULL != list[i].

13 years ago * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Fail in case of
nekral-guest [Fri, 22 Jul 2011 21:53:01 +0000 (21:53 +0000)]
* libmisc/find_new_gid.c, libmisc/find_new_uid.c: Fail in case of
invalid configuration.
* libmisc/find_new_gid.c, libmisc/find_new_uid.c: Updated
comments.
* libmisc/find_new_gid.c, libmisc/find_new_uid.c: Be more strict
on the loop stop conditions. Stop if we passed the limit, even if
the limit itself was never noticed.

13 years ago * man/po/fr.po: Fix some spacing issues due to configuration
nekral-guest [Thu, 14 Jul 2011 14:14:36 +0000 (14:14 +0000)]
* man/po/fr.po: Fix some spacing issues due to configuration
variants.

13 years ago * src/passwd.c: Overflow when computing the number of days based
nekral-guest [Thu, 14 Jul 2011 14:03:19 +0000 (14:03 +0000)]
* src/passwd.c: Overflow when computing the number of days based
on the scaling. Use of long long needed.

13 years ago * NEWS, lib/commonio.h, lib/commonio.c: Additional messages to
nekral-guest [Thu, 14 Jul 2011 13:58:17 +0000 (13:58 +0000)]
* NEWS, lib/commonio.h, lib/commonio.c: Additional messages to
indicate why locking failed.
* NEWS, lib/commonio.c: Fix the sort algorithm in case of NIS. NIS
entries were dropped.
* lib/commonio.c: NIS entries can start by '+' or '-'.

13 years ago * NEWS, src/groupmod.c: When the gshadow file exists but there are
nekral-guest [Thu, 14 Jul 2011 13:30:05 +0000 (13:30 +0000)]
* NEWS, src/groupmod.c: When the gshadow file exists but there are
no gshadow entries, an entry is created if the password is changed
and group requires a shadow entry.

13 years ago * src/usermod.c (process_flags): Indicate that the user name is
nekral-guest [Thu, 14 Jul 2011 13:29:59 +0000 (13:29 +0000)]
* src/usermod.c (process_flags): Indicate that the user name is
invalid, instead of just a 'field'.

13 years ago * src/usermod.c (process_flags): Do not display the usage in case
nekral-guest [Thu, 14 Jul 2011 13:29:54 +0000 (13:29 +0000)]
* src/usermod.c (process_flags): Do not display the usage in case
of an invalid -f value (similar to -e).

13 years ago * src/usermod.c (new_pwent): Document that pw_locate will not fail
nekral-guest [Thu, 14 Jul 2011 13:29:48 +0000 (13:29 +0000)]
* src/usermod.c (new_pwent): Document that pw_locate will not fail
because getpwnam returned successfully.

13 years ago * man/usermod.8.xml: Document behavior of an empty EXPIRE_DATE.
nekral-guest [Thu, 14 Jul 2011 13:29:43 +0000 (13:29 +0000)]
* man/usermod.8.xml: Document behavior of an empty EXPIRE_DATE.
* man/usermod.8.xml: Document that the mail spool might have to be
renamed (as for the homedir)

13 years ago * NEWS, src/usermod.c; man/usermod.8.xml: When the shadow file
nekral-guest [Thu, 14 Jul 2011 13:29:37 +0000 (13:29 +0000)]
* NEWS, src/usermod.c; man/usermod.8.xml: When the shadow file
exists but there are no shadow entries, an entry has to be created
if the password is changed and passwd requires a shadow entry, or
if aging features are used (-e or -f). Document this and also that
-e and -f require a shadow file.

13 years ago * src/usermod.c (update_group, update_gshadow): Reduce complexity
nekral-guest [Thu, 14 Jul 2011 13:29:32 +0000 (13:29 +0000)]
* src/usermod.c (update_group, update_gshadow): Reduce complexity
and document checks. Some checks were always true/false within
their call context.

13 years ago * src/usermod.c (update_gshadow): is_member was computed twice.
nekral-guest [Thu, 14 Jul 2011 13:29:27 +0000 (13:29 +0000)]
* src/usermod.c (update_gshadow): is_member was computed twice.

13 years ago * src/usermod.c: usage() does not return. Add annotations.
nekral-guest [Thu, 14 Jul 2011 13:29:22 +0000 (13:29 +0000)]
* src/usermod.c: usage() does not return. Add annotations.

13 years ago * src/usermod.c (process_flags): Check for oflg is not needed to
nekral-guest [Thu, 14 Jul 2011 13:29:16 +0000 (13:29 +0000)]
* src/usermod.c (process_flags): Check for oflg is not needed to
check if changes are needed.

13 years ago * src/usermod.c (process_flags): Report usage if no options are
nekral-guest [Thu, 14 Jul 2011 13:29:10 +0000 (13:29 +0000)]
* src/usermod.c (process_flags): Report usage if no options are
provided. Update the error message.
* src/usermod.c (process_flags): Check option compatibility and
dependency before options are discarded when no changes are
requested.

13 years ago * src/usermod.c (move_home): It is always an error to use -m if
nekral-guest [Thu, 14 Jul 2011 13:29:05 +0000 (13:29 +0000)]
* src/usermod.c (move_home): It is always an error to use -m if
the new home directory already exist (independently from the
existence of the old home directory did not exist)

13 years ago * src/usermod.c: Fix typo in comment.
nekral-guest [Thu, 14 Jul 2011 13:28:59 +0000 (13:28 +0000)]
* src/usermod.c: Fix typo in comment.

13 years ago * src/groupmod.c: Avoid implicit conversion of pointer to boolean.
nekral-guest [Fri, 8 Jul 2011 19:58:40 +0000 (19:58 +0000)]
* src/groupmod.c: Avoid implicit conversion of pointer to boolean.
* src/groupmod.c: osgrp can be set only if pflg || nflg. No need
to check for pflg || nflg again

13 years ago * configure.in: Fix typo. libcrack default is 'no'.
nekral-guest [Fri, 8 Jul 2011 19:57:08 +0000 (19:57 +0000)]
* configure.in: Fix typo. libcrack default is 'no'.

13 years ago * lib/fields.c: Fixed typo from 2010-02-15. field insteadof cp
nekral-guest [Fri, 8 Jul 2011 19:56:18 +0000 (19:56 +0000)]
* lib/fields.c: Fixed typo from 2010-02-15. field insteadof cp
ought to be checked.
* src/vipw.c: Use Prog instead of progname. This is needed since
Prog is used in the library.

13 years agoFix typo in comment.
nekral-guest [Fri, 8 Jul 2011 19:51:32 +0000 (19:51 +0000)]
Fix typo in comment.

13 years agoFixed typo. user_home -> mailfile.
nekral-guest [Fri, 8 Jul 2011 19:50:42 +0000 (19:50 +0000)]
Fixed typo. user_home -> mailfile.

13 years ago * man/*.xml, man/config.xml.in: Add source and version
nekral-guest [Fri, 8 Jul 2011 19:49:09 +0000 (19:49 +0000)]
* man/*.xml, man/config.xml.in: Add source and version
information. This reduce the amount of warnings during the
manpages generation.

13 years ago * man/po/ru.po: Add space between option and argument.
nekral-guest [Sat, 25 Jun 2011 09:13:14 +0000 (09:13 +0000)]
* man/po/ru.po: Add space between option and argument.

13 years ago * man/passwd.1.xml: Added reference to chpasswd(8).
nekral-guest [Sat, 25 Jun 2011 09:03:05 +0000 (09:03 +0000)]
* man/passwd.1.xml: Added reference to chpasswd(8).

13 years agoSpanish translation update
bubulle [Sat, 18 Jun 2011 05:33:27 +0000 (05:33 +0000)]
Spanish translation update

13 years agoIgnore generated files.
nekral-guest [Thu, 16 Jun 2011 21:26:35 +0000 (21:26 +0000)]
Ignore generated files.

13 years ago * libmisc/isexpired.c: Added parenthesis.
nekral-guest [Thu, 16 Jun 2011 21:25:36 +0000 (21:25 +0000)]
* libmisc/isexpired.c: Added parenthesis.
* libmisc/env.c: Added comments.
* libmisc/env.c: Avoid implicit conversion of pointer to boolean.

13 years ago * src/su.c: environ is provided by <unistd.h>.
nekral-guest [Thu, 16 Jun 2011 21:21:29 +0000 (21:21 +0000)]
* src/su.c: environ is provided by <unistd.h>.
* src/su.c: Added function prototypes.
* src/su.c: Rename shellstr parameter to shellname to avoid
collision with static variable.
* NEWS, src/su.c: Added support for PAM modules which change
PAM_USER.

13 years agoCleanup.
nekral-guest [Mon, 13 Jun 2011 18:27:51 +0000 (18:27 +0000)]
Cleanup.

13 years ago * src/su.c: After prepare_pam_close_session() there is no need to
nekral-guest [Mon, 13 Jun 2011 18:27:46 +0000 (18:27 +0000)]
* src/su.c: After prepare_pam_close_session() there is no need to
close the session in the child. Added pam_setcred to
prepare_pam_close_session().

13 years ago * src/su.c: Also drop the controlling terminal when PAM is not
nekral-guest [Mon, 13 Jun 2011 18:27:40 +0000 (18:27 +0000)]
* src/su.c: Also drop the controlling terminal when PAM is not
used.
* src/su.c: Remove run_shell().

13 years ago * src/su.c (prepare_pam_close_session): Extract the creation of a
nekral-guest [Mon, 13 Jun 2011 18:27:34 +0000 (18:27 +0000)]
* src/su.c (prepare_pam_close_session): Extract the creation of a
child and listening for signal in the parent from run_shell().
prepare_pam_close_session() is now executed before the creation of
the pam session and before the UID is changed. This allows to
close the session as root.

13 years ago * src/su.c: Extract export of environment from main().
nekral-guest [Mon, 13 Jun 2011 18:27:28 +0000 (18:27 +0000)]
* src/su.c: Extract export of environment from main().

13 years ago * src/su.c: Extract command line processing from main().
nekral-guest [Mon, 13 Jun 2011 18:27:23 +0000 (18:27 +0000)]
* src/su.c: Extract command line processing from main().

13 years ago * src/su.c: Close the password databases together with syslog.
nekral-guest [Mon, 13 Jun 2011 18:27:17 +0000 (18:27 +0000)]
* src/su.c: Close the password databases together with syslog.

13 years ago * src/su.c: Merge environment setting blocks after the creation of
nekral-guest [Mon, 13 Jun 2011 18:27:12 +0000 (18:27 +0000)]
* src/su.c: Merge environment setting blocks after the creation of
the session.

13 years ago * src/su.c: Cleanup check_perms_nopam().
nekral-guest [Mon, 13 Jun 2011 18:27:06 +0000 (18:27 +0000)]
* src/su.c: Cleanup check_perms_nopam().

13 years ago * src/su.c: Split check_perms() in to a PAM (check_perms_pam) and
nekral-guest [Mon, 13 Jun 2011 18:26:58 +0000 (18:26 +0000)]
* src/su.c: Split check_perms() in to a PAM (check_perms_pam) and
a non-PAM (check_perms_nopam) version.

13 years agoCompile fixes & cleanups.
nekral-guest [Mon, 13 Jun 2011 18:26:52 +0000 (18:26 +0000)]
Compile fixes & cleanups.

13 years ago * src/su.c (save_caller_context): Extract from main() the code
nekral-guest [Mon, 13 Jun 2011 18:26:47 +0000 (18:26 +0000)]
* src/su.c (save_caller_context): Extract from main() the code
used to save the caller's context.

13 years ago * src/su.c: Cleanup local variables.
nekral-guest [Mon, 13 Jun 2011 18:26:36 +0000 (18:26 +0000)]
* src/su.c: Cleanup local variables.

13 years agoCleanup comments.
nekral-guest [Mon, 13 Jun 2011 18:26:31 +0000 (18:26 +0000)]
Cleanup comments.

13 years ago * lib/prototypes.h, src/suauth.c, src/su.c (check_su_auth): Do not
nekral-guest [Mon, 13 Jun 2011 18:26:26 +0000 (18:26 +0000)]
* lib/prototypes.h, src/suauth.c, src/su.c (check_su_auth): Do not
use the pwent global variable to communicate between APIs of
different files. Added boolean parameter su_to_root to
check_su_auth().
* src/su.c (check_perms): Return the passwd entry of the finally
authenticated user. Remove usage of the pwent variable.
* src/su.c: The password of the caller is the one from the
spwd structure only if the passwd's password is 'x'.

13 years ago * src/su.c: Extract the authentication from the main function.
nekral-guest [Mon, 13 Jun 2011 18:26:16 +0000 (18:26 +0000)]
* src/su.c: Extract the authentication from the main function.

13 years ago * src/su.c: Define shellstr before the environment so that
nekral-guest [Mon, 13 Jun 2011 18:26:10 +0000 (18:26 +0000)]
* src/su.c: Define shellstr before the environment so that
restricted_shell is called only once. This will allow moving the
environment definition after the switch to the new user.

13 years ago * src/su.c: Move definition of change_environment and shellstr
nekral-guest [Mon, 13 Jun 2011 18:25:57 +0000 (18:25 +0000)]
* src/su.c: Move definition of change_environment and shellstr
after the switch to the final subsystem. The previous architecture
forced to always change the environment (the shell starts with a
'*' and was thus restricted, and change_environment could not be
reset to false).

13 years ago * src/su.c: No need to change the user's shell in case of
nekral-guest [Mon, 13 Jun 2011 18:25:51 +0000 (18:25 +0000)]
* src/su.c: No need to change the user's shell in case of
subsystem root. Update the comments.

13 years ago * src/su.c: Group some of the environment processing blocks. The
nekral-guest [Mon, 13 Jun 2011 18:25:45 +0000 (18:25 +0000)]
* src/su.c: Group some of the environment processing blocks. The
definition of shellstr, PATH and IFS is not influenced (getenv,
getdef, restricted_shell) by and does not influence (addenv does
not change environ) the authentication. And the authentication
does not overwrite those definitions. This will ease an extraction
from the big main() function.

13 years ago * src/su.c: No need to call expire() if there are no shadow entry.
nekral-guest [Mon, 13 Jun 2011 18:25:40 +0000 (18:25 +0000)]
* src/su.c: No need to call expire() if there are no shadow entry.
No need to convert a passwd entry into an spwd entry in that case.

13 years ago * src/su.c: Updating pwent after expire() is not useful. Only the
nekral-guest [Mon, 13 Jun 2011 18:25:34 +0000 (18:25 +0000)]
* src/su.c: Updating pwent after expire() is not useful. Only the
password information may have changed and they are not used
anymore afterwards.

13 years agoFrench manpages translation
bubulle [Sun, 12 Jun 2011 19:55:58 +0000 (19:55 +0000)]
French manpages translation

13 years agoDocument the updated translations.
nekral-guest [Sun, 5 Jun 2011 14:56:11 +0000 (14:56 +0000)]
Document the updated translations.

13 years ago * NEWS, src/su.c: Do not forward the controlling terminal to
nekral-guest [Sun, 5 Jun 2011 14:41:15 +0000 (14:41 +0000)]
* NEWS, src/su.c: Do not forward the controlling terminal to
commands executed with -c. This prevents tty hijacking which could
lead to execution with the caller's privileges. This required to
forward signals from the terminal (SIGINT, SIGQUIT, SIGTSTP) to
the executed command.

13 years ago * NEWS, src/userdel.c: Do not remove a group with the same name as
nekral-guest [Sun, 5 Jun 2011 12:23:59 +0000 (12:23 +0000)]
* NEWS, src/userdel.c: Do not remove a group with the same name as
the user (usergroup) if this group isn't the user's primary group.

13 years ago * NEWS, src/userdel.c: Check the existence of the user's mail
nekral-guest [Sat, 4 Jun 2011 22:38:57 +0000 (22:38 +0000)]
* NEWS, src/userdel.c: Check the existence of the user's mail
spool before trying to remove it. If it does not exist, a warning
is issued, but no failure.

13 years agoHarmonize message.
nekral-guest [Fri, 3 Jun 2011 21:09:27 +0000 (21:09 +0000)]
Harmonize message.

13 years ago * src/sulogin.c: Added Prog, needed because of the last xmalloc()
nekral-guest [Fri, 3 Jun 2011 21:08:56 +0000 (21:08 +0000)]
* src/sulogin.c: Added Prog, needed because of the last xmalloc()
change.

13 years ago * man/zh_CN/, man/zh_CN/Makefile.am: Added directory, and zh_CN
nekral-guest [Fri, 3 Jun 2011 21:07:58 +0000 (21:07 +0000)]
* man/zh_CN/, man/zh_CN/Makefile.am: Added directory, and zh_CN
Makefile.
* man/Makefile.am: Build zh_CN pages.
* man/generate_translations.mak: Add config.xml to CLEANFILES.
* man/po/zh_CN.po: limits, groups, faillog, expiry should not be
translated (command name, file name), also this broke the build
system as they are used to derive manpage names.

13 years ago * man/zh_CN/, man/zh_CN/Makefile.am: Added directory, and zh_CN
nekral-guest [Fri, 3 Jun 2011 21:06:23 +0000 (21:06 +0000)]
* man/zh_CN/, man/zh_CN/Makefile.am: Added directory, and zh_CN
Makefile.
* man/Makefile.am: Build zh_CN pages.
* man/generate_translations.mak: Add config.xml to CLEANFILES.
* man/po/zh_CN.po: limits, groups, faillog, expiry should not be
translated (command name, file name), also this broke the build
system as they are used to derive manpage names.

13 years ago * src/lastlog.c, src/faillog.c: Fix underflows causing wrong entry
nekral-guest [Thu, 2 Jun 2011 20:26:30 +0000 (20:26 +0000)]
* src/lastlog.c, src/faillog.c: Fix underflows causing wrong entry
to be displayed.

13 years ago * libmisc/xmalloc.c: Harmonize message.
nekral-guest [Thu, 2 Jun 2011 18:41:05 +0000 (18:41 +0000)]
* libmisc/xmalloc.c: Harmonize message.

13 years ago * libmisc/find_new_uid.c, libmisc/find_new_gid.c: Add missing
nekral-guest [Thu, 2 Jun 2011 18:40:06 +0000 (18:40 +0000)]
* libmisc/find_new_uid.c, libmisc/find_new_gid.c: Add missing
memory allocation check.

13 years ago * NEWS, libmisc/addgrps.c: Fix allocator loop. Continue to
nekral-guest [Thu, 2 Jun 2011 15:36:29 +0000 (15:36 +0000)]
* NEWS, libmisc/addgrps.c: Fix allocator loop. Continue to
getgroups() when getgroups fails (-1) with errno==EINVAL.

13 years agoGerman translation of manpages completed
bubulle [Wed, 1 Jun 2011 12:19:25 +0000 (12:19 +0000)]
German translation of manpages completed

13 years agoFix typos in manpages
bubulle [Wed, 1 Jun 2011 11:58:04 +0000 (11:58 +0000)]
Fix typos in manpages
Catalan translation updated

13 years agoFrench and Portuguese translation updates
bubulle [Mon, 25 Apr 2011 10:06:23 +0000 (10:06 +0000)]
French and Portuguese translation updates

13 years agoGerman translation completed
bubulle [Sat, 16 Apr 2011 07:31:49 +0000 (07:31 +0000)]
German translation completed

13 years agoBrazilian Portuguese translation completed
bubulle [Fri, 15 Apr 2011 06:21:10 +0000 (06:21 +0000)]
Brazilian Portuguese translation completed

13 years agoRussian translation completed
bubulle [Sun, 10 Apr 2011 15:50:13 +0000 (15:50 +0000)]
Russian translation completed

13 years agoUpdated Swedish and Danish translations
bubulle [Thu, 7 Apr 2011 17:45:33 +0000 (17:45 +0000)]
Updated Swedish and Danish translations

13 years agoFixed file
bubulle [Wed, 6 Apr 2011 04:14:12 +0000 (04:14 +0000)]
Fixed file

13 years agoKazakh and Japanese translation updates
bubulle [Tue, 5 Apr 2011 18:06:32 +0000 (18:06 +0000)]
Kazakh and Japanese translation updates

13 years agoSimplified Chinese translation completed
bubulle [Wed, 30 Mar 2011 17:51:50 +0000 (17:51 +0000)]
Simplified Chinese translation completed

13 years agoConvert zh_CN translation of manpages to gettext
bubulle [Wed, 30 Mar 2011 17:50:19 +0000 (17:50 +0000)]
Convert zh_CN translation of manpages to gettext

13 years ago * man/ru/Makefile.am: Remove double inclusion of $(man_nopam)
nekral-guest [Sat, 19 Feb 2011 16:17:26 +0000 (16:17 +0000)]
* man/ru/Makefile.am: Remove double inclusion of $(man_nopam)

13 years ago * libmisc/user_busy.c, src/userdel.c, src/usermod.c: Warn in
nekral-guest [Wed, 16 Feb 2011 20:46:27 +0000 (20:46 +0000)]
* libmisc/user_busy.c, src/userdel.c, src/usermod.c: Warn in
user_busy() rather than in src/userdel.c or src/usermod.c to
provide more accurate failure cause (user is logged in or user
still executes processes).

13 years agoAdded missing Changelog entry for lib/fields.c:
nekral-guest [Wed, 16 Feb 2011 20:33:16 +0000 (20:33 +0000)]
Added missing Changelog entry for lib/fields.c:
* lib/fields.c: Fail if input pointer is NULL.

13 years ago * lib/groupio.c, lib/sgroupio.c, lib/shadowio.c, lib/pwio.c: Check
nekral-guest [Wed, 16 Feb 2011 20:32:16 +0000 (20:32 +0000)]
* 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.

13 years agoAdapt ignore list to previous commits.
nekral-guest [Wed, 16 Feb 2011 20:27:25 +0000 (20:27 +0000)]
Adapt ignore list to previous commits.

13 years ago * NEWS, src/chfn.c, src/chsh.c: Fix CVE-2011-0721: forbid \n in
nekral-guest [Wed, 16 Feb 2011 00:18:45 +0000 (00:18 +0000)]
* NEWS, src/chfn.c, src/chsh.c: Fix CVE-2011-0721: forbid \n in
gecos or shell.

13 years agoCleanup previous commit.
nekral-guest [Sun, 13 Feb 2011 11:51:39 +0000 (11:51 +0000)]
Cleanup previous commit.

13 years ago * autogen.sh: Restore original autoreconf (see 2010-08-29's change
nekral-guest [Sat, 12 Feb 2011 14:57:37 +0000 (14:57 +0000)]
* 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.

13 years ago * NEWS, libmisc/console.c: Fix CONSOLE parser. This caused login
nekral-guest [Fri, 19 Nov 2010 21:54:41 +0000 (21:54 +0000)]
* 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

13 years ago Integrate review comments from Julien Cristau
nekral-guest [Sun, 5 Sep 2010 15:34:42 +0000 (15:34 +0000)]
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().

13 years ago * man/po/fr.po: Fix 2 fuzzy strings.
nekral-guest [Sun, 29 Aug 2010 19:11:40 +0000 (19:11 +0000)]
* man/po/fr.po: Fix 2 fuzzy strings.