]> granicus.if.org Git - shadow/log
shadow
15 years ago * lib/shadowmem.c: Only copy the required fields of the struct
nekral-guest [Mon, 7 Sep 2009 19:08:10 +0000 (19:08 +0000)]
* lib/shadowmem.c: Only copy the required fields of the struct
spwd. (start with the primitive types)
* lib/shadowmem.c: Avoid memzero() on a possibly NULL pointer.
* lib/groupmem.c: Only copy the required fields of the struct
group. (start with the primitive types)
* lib/groupmem.c: Avoid memzero() on a possibly NULL pointer.
* lib/groupmem.c: Free gr_mem in addition to its elements.
* lib/sgroupio.c: The struct sgrp has no primitive types to be
copied initially.
* lib/sgroupio.c: Avoid memzero() on a possibly NULL pointer.
* lib/sgroupio.c: Free sg_mem and sg_add in addition to their
elements.
* lib/pwmem.c: Only copy the required fields of the struct
passwd. (start with the primitive types)

15 years ago * lib/sgroupio.h: Harmonize splint annotations of sgr_locate()
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.

15 years ago2009-09-07 Steve Grubb <sgrubb@redhat.com>
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.

15 years ago * src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c,
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().

15 years agoAdded new TODO item.
nekral-guest [Sat, 5 Sep 2009 20:26:09 +0000 (20:26 +0000)]
Added new TODO item.

15 years ago * src/gpasswd.c, src/groupmems.c: Split the groupmems and gpasswd
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.

15 years ago * NEWS, src/userdel.c, src/lastlog.c, src/gpasswd.c,
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.

15 years ago * src/useradd.c: Fixed wrong format string.
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.

15 years ago * man/generate_mans.mak, man/generate_translations.mak: Provide an
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.

15 years ago * man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They
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.

15 years ago * po/fr.po: Fix typos, based on reviews by the Debian French
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.

15 years agoComplete French translation
bubulle [Mon, 27 Jul 2009 22:35:13 +0000 (22:35 +0000)]
Complete French translation

15 years agoFrench translation update
bubulle [Sat, 25 Jul 2009 17:23:19 +0000 (17:23 +0000)]
French translation update

15 years ago * NEWS, configure.in: Prepare for the next release 4.1.4.2.
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.

15 years ago * configure.in: Fixed definition of the SHELL configuration.
nekral-guest [Thu, 23 Jul 2009 21:02:03 +0000 (21:02 +0000)]
* configure.in: Fixed definition of the SHELL configuration.

15 years ago * etc/login.defs: SYS_GID_MIN /SYS_UID_MIN changed from 100 to
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.

15 years agoAdded a TODO item for /etc/defautl/useradd
nekral-guest [Thu, 23 Jul 2009 19:40:53 +0000 (19:40 +0000)]
Added a TODO item for /etc/defautl/useradd

15 years agoAdded one todo item.
nekral-guest [Thu, 23 Jul 2009 19:40:00 +0000 (19:40 +0000)]
Added one todo item.

15 years ago * libmisc/shell.c, src/su.c: Execute the scripts with "sh -"
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".

15 years ago * configure.in, libmisc/shell.c, libmisc/setupenv.c, src/newgrp.c,
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.

15 years ago * NEWS, src/su.c, libmisc/shell.c: Added support for shells being a
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.

15 years agoAnd fix a typo in French..:)
bubulle [Sun, 19 Jul 2009 11:54:44 +0000 (11:54 +0000)]
And fix a typo in French..:)

15 years agoFix obvious mistake in Dutch translation
bubulle [Sun, 19 Jul 2009 11:53:49 +0000 (11:53 +0000)]
Fix obvious mistake in Dutch translation

15 years ago2009-07-18 Peter Vrabec <pvrabec@redhat.com>
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.

15 years ago * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not use
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.

15 years ago * po/eu.po: Updated Basque translation.
nekral-guest [Sun, 5 Jul 2009 20:13:41 +0000 (20:13 +0000)]
* po/eu.po: Updated Basque translation.

15 years ago * man/fi/Makefile.am: Stop distributing the Finnish translation of
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).

15 years ago * man/pwck.8.xml: The shadow file is optional.
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.

15 years ago * man/po/fr.po: Fixed typo (forunis)
nekral-guest [Sun, 14 Jun 2009 12:47:41 +0000 (12:47 +0000)]
* man/po/fr.po: Fixed typo (forunis)

15 years ago * lib/fputsx.c: Compare the result of fgets() with the provided
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.

15 years ago * lib/gshadow.c: Removed limitation on the length of the gshadow
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.

15 years ago * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetgrnam.c,
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.

15 years ago * src/su.c, man/su.1.xml: The default behavior (without -p or
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.

15 years ago * man/passwd.5.xml, man/shadow.5.xml: Document the passwd- and
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.

15 years ago * NEWS, src/su.c: Preserve the DISPLAY and XAUTHORITY environment
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.

15 years ago * src/useradd.c, src/groupmod.c, src/groupadd.c, src/faillog.c:
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.

15 years ago * man/passwd.1.xml: The short option for --mindays is -n, not -m.
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.

15 years agoUpdated previous documentation of the environment variables handling.
nekral-guest [Thu, 4 Jun 2009 20:47:50 +0000 (20:47 +0000)]
Updated previous documentation of the environment variables handling.

15 years ago * .gitignore, man/.gitignore, src/.gitignore: Added .gitignore
nekral-guest [Thu, 4 Jun 2009 20:08:11 +0000 (20:08 +0000)]
* .gitignore, man/.gitignore, src/.gitignore: Added .gitignore
files.

15 years ago * man/su.1.xml: Use <option> for the login.defs options.
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.

15 years ago * man/login.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.

15 years ago * man/login.defs.d/ENVIRON_FILE.xml: Document the format for
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.

15 years ago * man/gpasswd.1.xml: Ease the translation of the refpurpose.
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.

15 years ago * man/pwck.8.xml, man/grpck.8.xml: Move the SEE ALSO section at
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.

15 years ago * src/vipw.c: Make sure opened files are closed.
nekral-guest [Mon, 25 May 2009 19:51:23 +0000 (19:51 +0000)]
* src/vipw.c: Make sure opened files are closed.

15 years ago * man/chpasswd.8.xml, man/grpck.8.xml, man/newgrp.1.xml,
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.

15 years ago * man/passwd.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.

15 years ago * NEWS: New placeholder for the next release.
nekral-guest [Mon, 25 May 2009 19:26:31 +0000 (19:26 +0000)]
* NEWS: New placeholder for the next release.

15 years ago * po/fr.po: Updated French translation.
nekral-guest [Fri, 22 May 2009 13:53:18 +0000 (13:53 +0000)]
* po/fr.po: Updated French translation.

15 years ago * NEWS: Prepare the next release.
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.

15 years agore-indent.
nekral-guest [Fri, 22 May 2009 13:32:26 +0000 (13:32 +0000)]
re-indent.

15 years ago * man/po/fr.po: Updated some strings.
nekral-guest [Fri, 22 May 2009 13:31:18 +0000 (13:31 +0000)]
* man/po/fr.po: Updated some strings.

15 years ago * NEWS, src/newgrp.c: Return the exit status of the child. Thanks
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.

15 years ago * NEWS, src/newgrp.c: Return the exit status of the child. Thanks
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.

15 years ago * src/usermod.c: Added warnings for absolute symlinks which could
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().

15 years ago * NEWS, src/userdel.c: Report errors to remove the user's mailbox.
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.

15 years ago * libmisc/copydir.c: Added warning for relative symlinks.
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.

15 years ago * man/faillog.8.xml: Minor updates.
nekral-guest [Thu, 21 May 2009 14:04:53 +0000 (14:04 +0000)]
* man/faillog.8.xml: Minor updates.

15 years ago * man/faillog.5.xml: Split a long paragraph. Typo fixes.
nekral-guest [Thu, 21 May 2009 14:01:16 +0000 (14:01 +0000)]
* man/faillog.5.xml: Split a long paragraph. Typo fixes.

15 years ago * man/gpasswd.1.xml: Minor updates.
nekral-guest [Thu, 21 May 2009 13:54:45 +0000 (13:54 +0000)]
* man/gpasswd.1.xml: Minor updates.

15 years ago * man/gshadow.5.xml: Updated documentation.
nekral-guest [Thu, 21 May 2009 13:53:56 +0000 (13:53 +0000)]
* man/gshadow.5.xml: Updated documentation.

15 years ago * man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
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.

15 years ago * src/su.c: Use a boolean instead of 0.
nekral-guest [Thu, 21 May 2009 11:58:59 +0000 (11:58 +0000)]
* src/su.c: Use a boolean instead of 0.

15 years agomsgcat + leave Jean-Luc as translator
bubulle [Wed, 20 May 2009 05:40:31 +0000 (05:40 +0000)]
msgcat + leave Jean-Luc as translator

15 years agoFrench translation update
bubulle [Wed, 20 May 2009 05:39:40 +0000 (05:39 +0000)]
French translation update

15 years ago * man/usermod.8.xml: Fixed typos.
nekral-guest [Tue, 19 May 2009 22:28:34 +0000 (22:28 +0000)]
* man/usermod.8.xml: Fixed typos.

15 years ago * configure.in: Next version will be 4.1.4.1.
nekral-guest [Tue, 19 May 2009 22:19:41 +0000 (22:19 +0000)]
* configure.in: Next version will be 4.1.4.1.

15 years ago * man/newusers.8.xml: Added notes regarding the ownership of
nekral-guest [Tue, 19 May 2009 22:17:55 +0000 (22:17 +0000)]
* man/newusers.8.xml: Added notes regarding the ownership of
files.

15 years agoAdded FIXMEs.
nekral-guest [Tue, 19 May 2009 22:12:27 +0000 (22:12 +0000)]
Added FIXMEs.

15 years ago * man/groupmod.8.xml: Split the -g option description into smaller
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.

15 years ago * man/usermod.8.xml: Ownership of the mailbox is also changed with
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.

15 years ago * man/useradd.8.xml: When no passwords are provided, the password
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.

15 years ago * man/newusers.8.xml, man/chpasswd.8.xml, man/useradd.8.xml,
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.

15 years ago * man/groupadd.8.xml: Fixed formatting issue.
nekral-guest [Tue, 19 May 2009 20:32:48 +0000 (20:32 +0000)]
* man/groupadd.8.xml: Fixed formatting issue.

15 years ago * man/groupdel.8.xml: Move the warning on filesystems checks to
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.

15 years agoThis was meant for the previous man/userdel.8.xml commit:
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.

15 years ago * man/useradd.8.xml: Fix formatting typo.
nekral-guest [Tue, 19 May 2009 20:26:56 +0000 (20:26 +0000)]
* man/useradd.8.xml: Fix formatting typo.

15 years ago * man/groupdel.8.xml: Move the warning on filesystems checks to
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.

15 years agoAdded missing return value.
nekral-guest [Mon, 18 May 2009 22:46:13 +0000 (22:46 +0000)]
Added missing return value.

15 years ago * man/login.defs.d/GID_MAX.xml: Fixed typo. useradd was specified
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.

15 years ago * man/groupadd.8.xml, man/useradd.8.xml: names may also contain
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.

15 years ago * man/shadow.5.xml: What is important in shadow is not the
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.

15 years ago * man/po/fr.po: Updated French translation. Thanks to ABBAS
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.

15 years ago * man/usermod.8.xml: Split the CAVEAT section in paragraphs.
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.

15 years ago * man/userdel.8.xml: Document that -f forces the deletion of a
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.

15 years ago * NEWS, src/usermod.c: Check if the user is busy when the user's
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.

15 years ago * src/userdel.c, libmisc/user_busy.c, libmisc/Makefile.am,
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.

15 years ago * man/usermod.8.xml: Document the -m/--move-home option.
nekral-guest [Mon, 18 May 2009 18:28:06 +0000 (18:28 +0000)]
* man/usermod.8.xml: Document the -m/--move-home option.

15 years ago * src/userdel.c (user_busy): Check if the process registered in
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.

15 years agore-indent.
nekral-guest [Sun, 17 May 2009 16:02:35 +0000 (16:02 +0000)]
re-indent.

15 years agoDocument the changes in 4.1.4.1:
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.

15 years ago * libmisc/console.c (console): Remove the leading /dev/ from the
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().

15 years ago * man/login.defs.d/CONSOLE.xml: Document the format of the 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.

15 years ago * src/login.c: Fix failure of non PAM enabled versions when an
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.

15 years ago * src/passwd.c: Added missing end of line at the end of success
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.

15 years ago * po/fr.po: Fixed typo in the vipw usage string.
nekral-guest [Sat, 16 May 2009 15:38:00 +0000 (15:38 +0000)]
* po/fr.po: Fixed typo in the vipw usage string.

15 years ago * libmisc/shell.c: Removed invalid code that executed the user's
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__.

15 years ago * man/userdel.8.xml: The USERGROUPS_ENAB group may not be removed
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.

15 years ago * src/userdel.c, man/login.defs.d/USERDEL_CMD.xml: Move the
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.

15 years ago * man/newusers.8.xml: PAM enabled version: describe how passwords
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.