nekral-guest [Mon, 7 Sep 2009 18:59:03 +0000 (18:59 +0000)]
* lib/sgroupio.h: Harmonize splint annotations of sgr_locate()
prototype with the one used in its definition.
nekral-guest [Mon, 7 Sep 2009 18:53:47 +0000 (18:53 +0000)]
2009-09-07 Steve Grubb <sgrubb@redhat.com>
* libmisc/copydir.c, lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
Fix some memory leaks.
nekral-guest [Sat, 5 Sep 2009 22:31:29 +0000 (22:31 +0000)]
* src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c,
src/chpasswd.c, src/groupmems.c, src/usermod.c, src/chgpasswd.c,
src/vipw.c, src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c,
src/groupadd.c, src/chage.c, src/faillog.c, src/chsh.c: Use
booleans for tests.
* src/userdel.c, src/gpasswd.c, src/groupmems.c, src/usermod.c,
src/groupmod.c, src/passwd.c: Use a break even after usage().
nekral-guest [Sat, 5 Sep 2009 20:26:09 +0000 (20:26 +0000)]
Added new TODO item.
nekral-guest [Sat, 5 Sep 2009 20:25:40 +0000 (20:25 +0000)]
* src/gpasswd.c, src/groupmems.c: Split the groupmems and gpasswd
Usage string. It was changed anyway to add the --help option.
nekral-guest [Fri, 4 Sep 2009 23:02:33 +0000 (23:02 +0000)]
* NEWS, src/userdel.c, src/lastlog.c, src/gpasswd.c,
src/newusers.c, src/chpasswd.c, src/groupmems.c, src/usermod.c,
src/chgpasswd.c, src/vipw.c, src/su.c, src/useradd.c,
src/groupmod.c, src/passwd.c, src/groupadd.c, src/chage.c,
src/faillog.c, src/chsh.c: If someone uses the -h/--help options,
the usage should not go to stderr nor should the utility exit with
non-zero status. All of the shadow utils do just this
unfortunately, so convert them over to sanity.
* man/groupmems.8.xml, man/gpasswd.1.xml: Added option -h/--help.
nekral-guest [Fri, 4 Sep 2009 22:09:58 +0000 (22:09 +0000)]
* src/useradd.c: Fixed wrong format string.
* lib/gshadow.c: Removed declaration of unused variable.
nekral-guest [Sun, 30 Aug 2009 19:46:54 +0000 (19:46 +0000)]
* man/generate_mans.mak, man/generate_translations.mak: Provide an
useful error message when --enable-man is not enabled and the
translated manpages are not generated.
nekral-guest [Fri, 21 Aug 2009 15:02:32 +0000 (15:02 +0000)]
* man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They
break the groff formatting.
nekral-guest [Fri, 14 Aug 2009 21:12:15 +0000 (21:12 +0000)]
* po/fr.po: Fix typos, based on reviews by the Debian French
translation team.
bubulle [Mon, 27 Jul 2009 22:35:13 +0000 (22:35 +0000)]
Complete French translation
bubulle [Sat, 25 Jul 2009 17:23:19 +0000 (17:23 +0000)]
French translation update
nekral-guest [Fri, 24 Jul 2009 01:13:21 +0000 (01:13 +0000)]
* NEWS, configure.in: Prepare for the next release 4.1.4.2.
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
* po/*.po, man/po/*.po: Updated PO files.
nekral-guest [Thu, 23 Jul 2009 21:02:03 +0000 (21:02 +0000)]
* configure.in: Fixed definition of the SHELL configuration.
nekral-guest [Thu, 23 Jul 2009 20:41:35 +0000 (20:41 +0000)]
* etc/login.defs: SYS_GID_MIN /SYS_UID_MIN changed from 100 to
101. GID 100 seems to be used statically.
nekral-guest [Thu, 23 Jul 2009 19:40:53 +0000 (19:40 +0000)]
Added a TODO item for /etc/defautl/useradd
nekral-guest [Thu, 23 Jul 2009 19:40:00 +0000 (19:40 +0000)]
Added one todo item.
nekral-guest [Wed, 22 Jul 2009 13:35:57 +0000 (13:35 +0000)]
* libmisc/shell.c, src/su.c: Execute the scripts with "sh -"
rather than "sh".
nekral-guest [Wed, 22 Jul 2009 13:30:06 +0000 (13:30 +0000)]
* configure.in, libmisc/shell.c, libmisc/setupenv.c, src/newgrp.c,
src/su.c: Let the system shell be configurable.
nekral-guest [Mon, 20 Jul 2009 14:00:50 +0000 (14:00 +0000)]
* NEWS, src/su.c, libmisc/shell.c: Added support for shells being a
shell script without a shebang.
bubulle [Sun, 19 Jul 2009 11:54:44 +0000 (11:54 +0000)]
And fix a typo in French..:)
bubulle [Sun, 19 Jul 2009 11:53:49 +0000 (11:53 +0000)]
Fix obvious mistake in Dutch translation
nekral-guest [Sat, 18 Jul 2009 00:35:35 +0000 (00:35 +0000)]
2009-07-18 Peter Vrabec <pvrabec@redhat.com>
* NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Since
system accounts are allocated from SYS_?ID_MIN to SYS_?ID_MAX in
reverse order, accounts are packed close to SYS_?ID_MAX if
SYS_?ID_MIN is already used but there are still dome gaps.
nekral-guest [Fri, 17 Jul 2009 22:54:23 +0000 (22:54 +0000)]
* NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not use
getpwent / getgrent for system accounts. Trying the low-IDs with
getpwuid / getgrgid should be more efficient on LDAP configured
systems with many accounts.
nekral-guest [Sun, 5 Jul 2009 20:13:41 +0000 (20:13 +0000)]
* po/eu.po: Updated Basque translation.
nekral-guest [Mon, 22 Jun 2009 19:23:42 +0000 (19:23 +0000)]
* man/fi/Makefile.am: Stop distributing the Finnish translation of
passwd.1 (outdated).
nekral-guest [Sat, 20 Jun 2009 13:02:33 +0000 (13:02 +0000)]
* man/pwck.8.xml: The shadow file is optional.
* man/pwck.8.xml: Updated description of the checks. Added
description of the shadow checks.
* man/pwck.8.xml: Updated description of the checks.
nekral-guest [Sun, 14 Jun 2009 12:47:41 +0000 (12:47 +0000)]
* man/po/fr.po: Fixed typo (forunis)
nekral-guest [Fri, 12 Jun 2009 20:20:45 +0000 (20:20 +0000)]
* lib/fputsx.c: Compare the result of fgets() with the provided
buffer instead of NULL.
nekral-guest [Fri, 12 Jun 2009 17:50:24 +0000 (17:50 +0000)]
* lib/gshadow.c: Removed limitation on the length of the gshadow
lines.
* lib/gshadow.c: Compare the result of fgetsx() with the provided
buffer instead of NULL.
nekral-guest [Thu, 11 Jun 2009 21:33:00 +0000 (21:33 +0000)]
* libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetgrnam.c,
libmisc/xgetpwuid.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c: Do
not limit the size of the buffer to hold the group or user
structure. It used to be limited to 16k, which caused issues with
groups having many users.
nekral-guest [Thu, 11 Jun 2009 20:01:21 +0000 (20:01 +0000)]
* src/su.c, man/su.1.xml: The default behavior (without -p or
--login) is to copy most of the environment variables. Revert a
previous change and update the documentation.
nekral-guest [Sat, 6 Jun 2009 11:21:15 +0000 (11:21 +0000)]
* man/passwd.5.xml, man/shadow.5.xml: Document the passwd- and
shadow- files.
nekral-guest [Fri, 5 Jun 2009 22:19:38 +0000 (22:19 +0000)]
* NEWS, src/su.c: Preserve the DISPLAY and XAUTHORITY environment
variables, even with --login. This was not the case before in the
PAM version.
nekral-guest [Fri, 5 Jun 2009 22:16:56 +0000 (22:16 +0000)]
* src/useradd.c, src/groupmod.c, src/groupadd.c, src/faillog.c:
Fix typos. Take this opportunity to split the usage messages into
smaller messages (one per option).
* src/pwck.c: Fix typo.
nekral-guest [Fri, 5 Jun 2009 21:14:12 +0000 (21:14 +0000)]
* man/passwd.1.xml: The short option for --mindays is -n, not -m.
nekral-guest [Thu, 4 Jun 2009 20:47:50 +0000 (20:47 +0000)]
Updated previous documentation of the environment variables handling.
nekral-guest [Thu, 4 Jun 2009 20:08:11 +0000 (20:08 +0000)]
* .gitignore, man/.gitignore, src/.gitignore: Added .gitignore
files.
nekral-guest [Thu, 4 Jun 2009 17:28:09 +0000 (17:28 +0000)]
* man/su.1.xml: Use <option> for the login.defs options.
* man/su.1.xml: Improve the documentation of the su behavior
regarding environment variables.
* man/su.1.xml: Document that the login.defs file is used.
nekral-guest [Thu, 4 Jun 2009 17:25:18 +0000 (17:25 +0000)]
* man/login.1.xml: Document that the login.defs file is used.
nekral-guest [Thu, 4 Jun 2009 17:23:08 +0000 (17:23 +0000)]
* man/login.defs.d/ENVIRON_FILE.xml: Document the format for
comments.
nekral-guest [Tue, 26 May 2009 19:23:40 +0000 (19:23 +0000)]
* man/gpasswd.1.xml: Ease the translation of the refpurpose.
* man/gpasswd.1.xml: Fix typo, shorten sentences.
nekral-guest [Tue, 26 May 2009 17:00:58 +0000 (17:00 +0000)]
* man/pwck.8.xml, man/grpck.8.xml: Move the SEE ALSO section at
the end.
nekral-guest [Mon, 25 May 2009 19:51:23 +0000 (19:51 +0000)]
* src/vipw.c: Make sure opened files are closed.
nekral-guest [Mon, 25 May 2009 19:41:43 +0000 (19:41 +0000)]
* man/chpasswd.8.xml, man/grpck.8.xml, man/newgrp.1.xml,
man/passwd.1.xml, man/sg.1.xml: Avoid a spurious comma.
nekral-guest [Mon, 25 May 2009 19:29:19 +0000 (19:29 +0000)]
* man/passwd.1.xml: Avoid a spurious comma.
nekral-guest [Mon, 25 May 2009 19:26:31 +0000 (19:26 +0000)]
* NEWS: New placeholder for the next release.
nekral-guest [Fri, 22 May 2009 13:53:18 +0000 (13:53 +0000)]
* po/fr.po: Updated French translation.
nekral-guest [Fri, 22 May 2009 13:50:45 +0000 (13:50 +0000)]
* NEWS: Prepare the next release.
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
* po/*.po, man/po/*.po: Updated PO files.
* man/passwd.1.xml: passwd -u does not reset the expiry field.
nekral-guest [Fri, 22 May 2009 13:32:26 +0000 (13:32 +0000)]
re-indent.
nekral-guest [Fri, 22 May 2009 13:31:18 +0000 (13:31 +0000)]
* man/po/fr.po: Updated some strings.
nekral-guest [Fri, 22 May 2009 11:10:02 +0000 (11:10 +0000)]
* NEWS, src/newgrp.c: Return the exit status of the child. Thanks
to Lionel Elie Mamane.
nekral-guest [Fri, 22 May 2009 11:08:46 +0000 (11:08 +0000)]
* NEWS, src/newgrp.c: Return the exit status of the child. Thanks
to Lionel Elie Mamane.
nekral-guest [Fri, 22 May 2009 10:42:51 +0000 (10:42 +0000)]
* src/usermod.c: Added warnings for absolute symlinks which could
be broken by rename().
nekral-guest [Fri, 22 May 2009 10:41:10 +0000 (10:41 +0000)]
* NEWS, src/userdel.c: Report errors to remove the user's mailbox.
* NEWS, src/userdel.c: When USERGROUPS_ENAB is enabled, remove the
user's group when the user was the only member. This is still not
complete, as the user could have been specified twice in the
members.
* NEWS, src/userdel.c: Do not fail when -r is used and the home
directory does not exist.
nekral-guest [Fri, 22 May 2009 10:16:12 +0000 (10:16 +0000)]
* libmisc/copydir.c: Added warning for relative symlinks.
* libmisc/copydir.c (remove_tree): There is no need to check if
the root argument exist. opendir() will report this.
nekral-guest [Thu, 21 May 2009 14:04:53 +0000 (14:04 +0000)]
* man/faillog.8.xml: Minor updates.
nekral-guest [Thu, 21 May 2009 14:01:16 +0000 (14:01 +0000)]
* man/faillog.5.xml: Split a long paragraph. Typo fixes.
nekral-guest [Thu, 21 May 2009 13:54:45 +0000 (13:54 +0000)]
* man/gpasswd.1.xml: Minor updates.
nekral-guest [Thu, 21 May 2009 13:53:56 +0000 (13:53 +0000)]
* man/gshadow.5.xml: Updated documentation.
nekral-guest [Thu, 21 May 2009 12:02:12 +0000 (12:02 +0000)]
* man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
Harmonize formatting of login.defs and default/useradd variables.
Use an <option> tag.
* man/usermod.8.xml: Added reference to gshadow(5).
* man/login.defs.d/USERDEL_CMD.xml: Shorten the lines of the
USERDEL_CMD example.
nekral-guest [Thu, 21 May 2009 11:58:59 +0000 (11:58 +0000)]
* src/su.c: Use a boolean instead of 0.
bubulle [Wed, 20 May 2009 05:40:31 +0000 (05:40 +0000)]
msgcat + leave Jean-Luc as translator
bubulle [Wed, 20 May 2009 05:39:40 +0000 (05:39 +0000)]
French translation update
nekral-guest [Tue, 19 May 2009 22:28:34 +0000 (22:28 +0000)]
* man/usermod.8.xml: Fixed typos.
nekral-guest [Tue, 19 May 2009 22:19:41 +0000 (22:19 +0000)]
* configure.in: Next version will be 4.1.4.1.
nekral-guest [Tue, 19 May 2009 22:17:55 +0000 (22:17 +0000)]
* man/newusers.8.xml: Added notes regarding the ownership of
files.
nekral-guest [Tue, 19 May 2009 22:12:27 +0000 (22:12 +0000)]
Added FIXMEs.
nekral-guest [Tue, 19 May 2009 22:00:14 +0000 (22:00 +0000)]
* man/groupmod.8.xml: Split the -g option description into smaller
paragraphs.
nekral-guest [Tue, 19 May 2009 21:57:04 +0000 (21:57 +0000)]
* man/usermod.8.xml: Ownership of the mailbox is also changed with
the -u option.
nekral-guest [Tue, 19 May 2009 21:37:53 +0000 (21:37 +0000)]
* man/useradd.8.xml: When no passwords are provided, the password
is disabled, not the account.
nekral-guest [Tue, 19 May 2009 21:29:26 +0000 (21:29 +0000)]
* man/newusers.8.xml, man/chpasswd.8.xml, man/useradd.8.xml,
man/groupadd.8.xml, man/usermod.8.xml, man/chgpasswd.8.xml,
man/groupmod.8.xml: Added warning: passwords set with these tools
may not respect the password policy.
nekral-guest [Tue, 19 May 2009 20:32:48 +0000 (20:32 +0000)]
* man/groupadd.8.xml: Fixed formatting issue.
nekral-guest [Tue, 19 May 2009 20:31:45 +0000 (20:31 +0000)]
* man/groupdel.8.xml: Move the warning on filesystems checks to
the CAVEAT section.
nekral-guest [Tue, 19 May 2009 20:31:02 +0000 (20:31 +0000)]
This was meant for the previous man/userdel.8.xml commit:
* man/userdel.8.xml: Added warning for files that could remain
owner by the removed user.
nekral-guest [Tue, 19 May 2009 20:26:56 +0000 (20:26 +0000)]
* man/useradd.8.xml: Fix formatting typo.
nekral-guest [Tue, 19 May 2009 20:26:28 +0000 (20:26 +0000)]
* man/groupdel.8.xml: Move the warning on filesystems checks to
the CAVEAT section.
nekral-guest [Mon, 18 May 2009 22:46:13 +0000 (22:46 +0000)]
Added missing return value.
nekral-guest [Mon, 18 May 2009 22:45:39 +0000 (22:45 +0000)]
* man/login.defs.d/GID_MAX.xml: Fixed typo. useradd was specified
twice.
nekral-guest [Mon, 18 May 2009 22:43:59 +0000 (22:43 +0000)]
* man/groupadd.8.xml, man/useradd.8.xml: names may also contain
digits.
nekral-guest [Mon, 18 May 2009 22:40:57 +0000 (22:40 +0000)]
* man/shadow.5.xml: What is important in shadow is not the
encryption, but that the file is not world readable.
nekral-guest [Mon, 18 May 2009 22:39:48 +0000 (22:39 +0000)]
* man/po/fr.po: Updated French translation. Thanks to ABBAS
Belkacem for the login.defs update.
nekral-guest [Mon, 18 May 2009 19:18:29 +0000 (19:18 +0000)]
* man/usermod.8.xml: Split the CAVEAT section in paragraphs.
Updated information on the user_busy check.
nekral-guest [Mon, 18 May 2009 18:53:23 +0000 (18:53 +0000)]
* man/userdel.8.xml: Document that -f forces the deletion of a
busy user.
nekral-guest [Mon, 18 May 2009 18:37:16 +0000 (18:37 +0000)]
* NEWS, src/usermod.c: Check if the user is busy when the user's
UID, name or home directory is changed.
nekral-guest [Mon, 18 May 2009 18:32:17 +0000 (18:32 +0000)]
* src/userdel.c, libmisc/user_busy.c, libmisc/Makefile.am,
lib/prototypes.h: Move user_busy() to libmisc/user_busy.c.
* NEWS, libmisc/user_busy.c: On Linux, do not check if an user is
logged in with utmp, but check if the user is running some
processes. If not on Linux, continue to search for an utmp record,
but make sure the process recorded in the utmp entry is still
running.
nekral-guest [Mon, 18 May 2009 18:28:06 +0000 (18:28 +0000)]
* man/usermod.8.xml: Document the -m/--move-home option.
nekral-guest [Sun, 17 May 2009 16:27:29 +0000 (16:27 +0000)]
* src/userdel.c (user_busy): Check if the process registered in
utmp is still running. This avoids rejecting the removal of an
user when UTMP was not updated and indicate that the user is still
logged in.
nekral-guest [Sun, 17 May 2009 16:02:35 +0000 (16:02 +0000)]
re-indent.
nekral-guest [Sat, 16 May 2009 18:27:13 +0000 (18:27 +0000)]
Document the changes in 4.1.4.1:
- login
* Fix failures with empty usernames on non PAM versions.
* Fix CONSOLE (securetty) support on non PAM versions.
nekral-guest [Sat, 16 May 2009 18:19:24 +0000 (18:19 +0000)]
* libmisc/console.c (console): Remove the leading /dev/ from the
tty before comparing with the lines specified by CONSOLE.
* src/su.c: Do not remove the /dev/ prefix since it is done by
console().
nekral-guest [Sat, 16 May 2009 17:08:44 +0000 (17:08 +0000)]
* man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE
file.
nekral-guest [Sat, 16 May 2009 15:43:13 +0000 (15:43 +0000)]
* src/login.c: Fix failure of non PAM enabled versions when an
empty username is entered after a first prompt.
nekral-guest [Sat, 16 May 2009 15:39:01 +0000 (15:39 +0000)]
* src/passwd.c: Added missing end of line at the end of success
messages.
nekral-guest [Sat, 16 May 2009 15:38:00 +0000 (15:38 +0000)]
* po/fr.po: Fixed typo in the vipw usage string.
nekral-guest [Tue, 12 May 2009 20:01:41 +0000 (20:01 +0000)]
* libmisc/shell.c: Removed invalid code that executed the user's
shell as a shell script when the direct execution of the user's
shell failed with ENOEXEC and the user's shell has a shebang. The
interpreter might not be the right one. Executing the user's
shell with sh -c might be better, but I'm not sure we should try
harder when there is a failure. Note: The removed code was only
included #ifndef __linux__.
nekral-guest [Tue, 12 May 2009 19:25:26 +0000 (19:25 +0000)]
* man/userdel.8.xml: The USERGROUPS_ENAB group may not be removed
when the group is used by other users, not the user.
nekral-guest [Tue, 12 May 2009 19:23:46 +0000 (19:23 +0000)]
* src/userdel.c, man/login.defs.d/USERDEL_CMD.xml: Move the
USERDEL_CMD script example from the source code to the
documentation.
nekral-guest [Mon, 11 May 2009 19:29:38 +0000 (19:29 +0000)]
* man/newusers.8.xml: PAM enabled version: describe how passwords
are updated and how newusers behave in case of error.
nekral-guest [Sun, 10 May 2009 20:02:21 +0000 (20:02 +0000)]
* NEWS, configure.in: New release will be 4.1.4.
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
* po/*.po, man/po/*.po: Updated PO files.