]> granicus.if.org Git - shadow/log
shadow
15 years ago * man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml,
nekral-guest [Sat, 11 Apr 2009 22:36:11 +0000 (22:36 +0000)]
* man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml,
man/login.defs.d/CONSOLE_GROUPS.xml: Fix typos.

15 years agoAdd the POT files to the repository.
nekral-guest [Sat, 11 Apr 2009 19:19:21 +0000 (19:19 +0000)]
Add the POT files to the repository.

15 years agoFix typo.
nekral-guest [Sat, 11 Apr 2009 19:18:38 +0000 (19:18 +0000)]
Fix typo.

15 years ago * man/es/Makefile.am: Disable the distribution of Spanish
nekral-guest [Sat, 11 Apr 2009 18:57:14 +0000 (18:57 +0000)]
* man/es/Makefile.am: Disable the distribution of Spanish
manpages. They are outdated. Please contact
pkg-shadow-devel@lists.alioth.debian.org if you wish to provide
updates.

15 years agoFix typo.
nekral-guest [Sat, 11 Apr 2009 18:44:15 +0000 (18:44 +0000)]
Fix typo.

15 years ago * src/usermod.c, src/useraddd.c: Fix the usage string so that it
nekral-guest [Sat, 11 Apr 2009 18:39:56 +0000 (18:39 +0000)]
* src/usermod.c, src/useraddd.c: Fix the usage string so that it
does not change depending on the configure option. Use a format.

15 years ago * src/gpasswd.c: Fix the usage of the unused macro.
nekral-guest [Sat, 11 Apr 2009 18:37:59 +0000 (18:37 +0000)]
* src/gpasswd.c: Fix the usage of the unused macro.

15 years ago * lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A
nekral-guest [Sat, 11 Apr 2009 18:37:08 +0000 (18:37 +0000)]
* lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A
shadow entry is now sufficient for agecheck. Remove the first
passwd entry parameter.

15 years ago * src/userdel.c: Rename argv to args to avoid nameclash with the
nekral-guest [Sat, 11 Apr 2009 16:52:45 +0000 (16:52 +0000)]
* src/userdel.c: Rename argv to args to avoid nameclash with the
main() parameters.

15 years ago * src/useradd.c, src/usermod.c: Only call selinux_update_mapping()
nekral-guest [Sat, 11 Apr 2009 16:47:32 +0000 (16:47 +0000)]
* src/useradd.c, src/usermod.c: Only call selinux_update_mapping()
if Zflg is set.

15 years agoAdded TODO item.
nekral-guest [Sat, 11 Apr 2009 16:24:06 +0000 (16:24 +0000)]
Added TODO item.

15 years ago * libmisc/getgr_nam_gid.c: Added support for NULL argument.
nekral-guest [Sat, 11 Apr 2009 16:23:21 +0000 (16:23 +0000)]
* libmisc/getgr_nam_gid.c: Added support for NULL argument.
* libmisc/chowntty.c: Reuse getgr_nam_gid(), and get rid of atol().

15 years agoTag one of the remaining strtol.
nekral-guest [Sat, 11 Apr 2009 16:08:00 +0000 (16:08 +0000)]
Tag one of the remaining strtol.

15 years ago * libmisc/find_new_gid.c, libmisc/find_new_uid.c: For system
nekral-guest [Sat, 11 Apr 2009 16:00:45 +0000 (16:00 +0000)]
* libmisc/find_new_gid.c, libmisc/find_new_uid.c: For system
accounts, return the first unused ID, starting from the max value.
This could be useful later to increase the static IDs range.

15 years ago * NEWS, src/useradd.c, man/useradd.8.xml: add -Z option to map
nekral-guest [Sat, 11 Apr 2009 15:34:10 +0000 (15:34 +0000)]
* NEWS, src/useradd.c, man/useradd.8.xml: add -Z option to map
SELinux user for user's login.
* NEWS, src/usermod.c, man/usermod.8.xml: Likewise.
* libmisc/system.c, libmisc/Makefile.am, lib/prototypes.h: Added
safe_system(). Used to run semanage.
* lib/prototypes.h, libmisc/copydir.c: Make a
selinux_file_context() an extern function.
* libmisc/copydir.c: Reset SELinux to create files with default
contexts at the end of copy_tree().
* NEWS, src/userdel.c: Delete the SELinux user mapping for user's
login.

15 years ago * src/useradd.c (get_defaults): Close the default file after the
nekral-guest [Sat, 11 Apr 2009 14:55:49 +0000 (14:55 +0000)]
* src/useradd.c (get_defaults): Close the default file after the
default values were read.

15 years agoSlovak translation updated
bubulle [Sat, 11 Apr 2009 13:53:41 +0000 (13:53 +0000)]
Slovak translation updated

15 years agoRe-indent.
nekral-guest [Sat, 11 Apr 2009 13:00:32 +0000 (13:00 +0000)]
Re-indent.

15 years ago * lib/Makefile.am, lib/prototypes.h: Added sgetspent.c.
nekral-guest [Fri, 10 Apr 2009 22:35:43 +0000 (22:35 +0000)]
* lib/Makefile.am, lib/prototypes.h: Added sgetspent.c.

15 years ago * po/POTFILES.in: Added missing files. Sorted.
nekral-guest [Fri, 10 Apr 2009 22:35:37 +0000 (22:35 +0000)]
* po/POTFILES.in: Added missing files. Sorted.

15 years agoRemoved declaration of ep. No more used.
nekral-guest [Fri, 10 Apr 2009 22:35:32 +0000 (22:35 +0000)]
Removed declaration of ep. No more used.
Re-indent.

15 years ago * lib/getdef.c: Use getlong instead of strtol/strtoul.
nekral-guest [Fri, 10 Apr 2009 22:35:26 +0000 (22:35 +0000)]
* lib/getdef.c: Use getlong instead of strtol/strtoul.
* libmisc/getlong, lib/getlong.c, libmisc/Makefile.am,
lib/Makefile.am: getlong.c moved from libmisc/ to lib/.

15 years agoRemoved DONE entry.
nekral-guest [Fri, 10 Apr 2009 22:35:19 +0000 (22:35 +0000)]
Removed DONE entry.

15 years ago * lib/shadow.c: Replace strtol() by getlong(). Also detect more
nekral-guest [Fri, 10 Apr 2009 22:35:14 +0000 (22:35 +0000)]
* lib/shadow.c: Replace strtol() by getlong(). Also detect more
issues in a numerical shadow entry field.

15 years ago * lib/sgetspent.c: Only compile ifndef HAVE_SGETSPENT
nekral-guest [Fri, 10 Apr 2009 22:35:07 +0000 (22:35 +0000)]
* lib/sgetspent.c: Only compile ifndef HAVE_SGETSPENT

15 years agoRevert " * lib/sgetspent.c: Removed (is not used / compiled) anymore."
nekral-guest [Fri, 10 Apr 2009 22:35:01 +0000 (22:35 +0000)]
Revert " * lib/sgetspent.c: Removed (is not used / compiled) anymore."

This reverts commit dbeb402f0b0befd8c48b68d53277e1bd1b5f751b.

15 years ago * lib/sgetspent.c: Removed (is not used / compiled) anymore.
nekral-guest [Fri, 10 Apr 2009 22:34:55 +0000 (22:34 +0000)]
* lib/sgetspent.c: Removed (is not used / compiled) anymore.

15 years ago * lib/sgetspent.c: Replace strtol() by getlong(). Also detect more
nekral-guest [Fri, 10 Apr 2009 22:34:49 +0000 (22:34 +0000)]
* lib/sgetspent.c: Replace strtol() by getlong(). Also detect more
issues in a numerical shadow entry field.

15 years ago * src/chage.c: expdays renamed to expdate. It is a date, even if
nekral-guest [Fri, 10 Apr 2009 22:34:42 +0000 (22:34 +0000)]
* src/chage.c: expdays renamed to expdate. It is a date, even if
expressed in a number of days since Jan 1, 1970.
* src/chage.c: Likewise: lastday renamed to lstchgdate. Also fix
the --lastday documentation.

15 years ago * src/chage.c: More strtol() replaced by getlong().
nekral-guest [Fri, 10 Apr 2009 22:34:36 +0000 (22:34 +0000)]
* src/chage.c: More strtol() replaced by getlong().

15 years ago * lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
nekral-guest [Fri, 10 Apr 2009 22:34:29 +0000 (22:34 +0000)]
* lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
NOT defined.

15 years ago * src/passwd.c: Replace getnumber() by getlong(). This permits to
nekral-guest [Fri, 10 Apr 2009 22:34:23 +0000 (22:34 +0000)]
* src/passwd.c: Replace getnumber() by getlong(). This permits to
get rid of another strtol().

15 years ago * libmisc/getlong.c: Include both <stdlib.h> and <errno.h> needed
nekral-guest [Fri, 10 Apr 2009 22:34:17 +0000 (22:34 +0000)]
* libmisc/getlong.c: Include both <stdlib.h> and <errno.h> needed
for strtol and errno, and do not include "defines.h" (not needed).

15 years ago * src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c,
nekral-guest [Fri, 10 Apr 2009 22:34:10 +0000 (22:34 +0000)]
* src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c,
libmisc/Makefile.am, lib/prototypes.h: Moved getgr_nam_gid() from
src/useradd.c and src/usermod.c to libmisc/getgr_nam_gid.c.

15 years ago * src/useradd.c: Get rid of strtol.
nekral-guest [Fri, 10 Apr 2009 22:34:04 +0000 (22:34 +0000)]
* src/useradd.c: Get rid of strtol.
* src/useradd.c: Provide better warning in case a default GROUP or
INACTIVE value is not valid in /etc/default/useradd.

15 years ago * src/useradd.c: Re-indent.
nekral-guest [Fri, 10 Apr 2009 22:33:57 +0000 (22:33 +0000)]
* src/useradd.c: Re-indent.

15 years ago * src/useradd.c: Use getlong instead of get_number.
nekral-guest [Fri, 10 Apr 2009 22:33:50 +0000 (22:33 +0000)]
* src/useradd.c: Use getlong instead of get_number.

15 years ago * src/usermod.c: Re-indent.
nekral-guest [Fri, 10 Apr 2009 22:33:43 +0000 (22:33 +0000)]
* src/usermod.c: Re-indent.
* src/usermod.c: Specifying a inactivity value < -1 is not valid.

15 years ago * po/*.po, man/po/*.po: Updated PO files.
nekral-guest [Sun, 5 Apr 2009 23:52:46 +0000 (23:52 +0000)]
* po/*.po, man/po/*.po: Updated PO files.

15 years agoAdded todo items.
nekral-guest [Sun, 5 Apr 2009 23:50:58 +0000 (23:50 +0000)]
Added todo items.

15 years ago * configure.in: Prepare the next 4.1.3 release.
nekral-guest [Sun, 5 Apr 2009 22:35:12 +0000 (22:35 +0000)]
* configure.in: Prepare the next 4.1.3 release.

15 years ago * libmisc/setugid.c libmisc/age.c (setup_uid_gid): is_console is
nekral-guest [Sun, 5 Apr 2009 22:33:00 +0000 (22:33 +0000)]
* libmisc/setugid.c libmisc/age.c (setup_uid_gid): is_console is
never set ifndef USE_PAM. Change the prototype of setup_uid_gid()
when USE_PAM is not defined. This permits to remove add_groups
from PAM builds.  setup_uid_gid is already subject to
HAVE_INITGROUPS.

15 years ago * lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to
nekral-guest [Sun, 5 Apr 2009 22:29:42 +0000 (22:29 +0000)]
* lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to
ifndef USE_PAM.
* lib/prototypes.h: Remove the declaration of add_cons_grps(). The
function does not exist.
* libmisc/age.c (setup_uid_gid): is_console is never set ifndef
USE_PAM. Change the prototype of setup_uid_gid() when USE_PAM is
not defined. This permits to remove add_groups from PAM builds.
setup_uid_gid is already subject to HAVE_INITGROUPS.
* libmisc/pwd2spwd.c (pwd_to_spwd): pwd_to_spwd() is not used in
PAM builds.

15 years ago * src/passwd.c: do_update_age is only used ifndef USE_PAM. Make it
nekral-guest [Sun, 5 Apr 2009 22:04:31 +0000 (22:04 +0000)]
* src/passwd.c: do_update_age is only used ifndef USE_PAM. Make it
more explicit.

15 years ago * src/useradd.c: Set errno to 0 before calling strtol.
nekral-guest [Sun, 5 Apr 2009 22:02:50 +0000 (22:02 +0000)]
* src/useradd.c: Set errno to 0 before calling strtol.

15 years ago * libmisc/isexpired.c: If there are no shadow entry, there is no
nekral-guest [Sun, 5 Apr 2009 22:02:00 +0000 (22:02 +0000)]
* libmisc/isexpired.c: If there are no shadow entry, there is no
need to convert the password entry to a shadow entry. The password
is valid.

15 years agoFix typo.
nekral-guest [Sun, 5 Apr 2009 21:56:37 +0000 (21:56 +0000)]
Fix typo.

15 years ago * man/usermod.8.xml: Split some paragraphs into smaller units.
nekral-guest [Sun, 5 Apr 2009 21:23:55 +0000 (21:23 +0000)]
* man/usermod.8.xml: Split some paragraphs into smaller units.

15 years agoUpdated copyright dates.
nekral-guest [Sun, 5 Apr 2009 21:23:42 +0000 (21:23 +0000)]
Updated copyright dates.

15 years ago * man/shadow.5.xml: Rewrote to mention the meaning of special
nekral-guest [Sun, 5 Apr 2009 21:23:35 +0000 (21:23 +0000)]
* man/shadow.5.xml: Rewrote to mention the meaning of special
values.

15 years ago * libmisc/pwd2spwd.c, src/chpasswd.c, src/newusers.c,
nekral-guest [Sun, 5 Apr 2009 21:23:27 +0000 (21:23 +0000)]
* libmisc/pwd2spwd.c, src/chpasswd.c, src/newusers.c,
src/passwd.c, src/pwck.c, src/pwconv.c, src/useradd.c,
src/usermod.c: On Jan 01, 1970, do not set the sp_lstchg field to
0 (which means that the password shall be changed during the next
login), but use -1 (password aging disabled).
* src/passwd.c: Do not check sp_min if sp_lstchg is null or -1.

15 years ago * src/chage.c: When no shadow entry exist, thedefault sp_lstchg
nekral-guest [Sun, 5 Apr 2009 21:23:17 +0000 (21:23 +0000)]
* src/chage.c: When no shadow entry exist, thedefault sp_lstchg
value should be -1 (no aging) rather than 0 (password must be
changed).
* src/chage.c: For password expiration and inactivity, indicate
that the password must be changed when sp_lstchg is null rather
than indicating that expiration and inactivity are not enabled.

15 years ago * libmisc/isexpired.c: Document the isexpired return value.
nekral-guest [Sun, 5 Apr 2009 21:23:06 +0000 (21:23 +0000)]
* libmisc/isexpired.c: Document the isexpired return value.

15 years ago * libmisc/age.c: Return a specific message when sp_lstchg is null.
nekral-guest [Sun, 5 Apr 2009 21:22:53 +0000 (21:22 +0000)]
* libmisc/age.c: Return a specific message when sp_lstchg is null.

15 years agoAdded missing space at the end of the question.
nekral-guest [Sun, 22 Mar 2009 12:32:40 +0000 (12:32 +0000)]
Added missing space at the end of the question.

15 years agoRemove unused variable.
nekral-guest [Sat, 21 Mar 2009 20:45:35 +0000 (20:45 +0000)]
Remove unused variable.

15 years ago * lib/sgetpwent.c, lib/sgetgrent.c: Use get_uid and get_gid to
nekral-guest [Sat, 21 Mar 2009 20:29:58 +0000 (20:29 +0000)]
* lib/sgetpwent.c, lib/sgetgrent.c: Use get_uid and get_gid to
validate the UIDs or GIDs instead of atoi/strtol.

15 years ago * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
nekral-guest [Sat, 21 Mar 2009 20:24:37 +0000 (20:24 +0000)]
* libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
lib/get_gid.c, lib/get_uid.c, lib/Makefile.am: get_uid.c and
get_gid.c moved from libmisc/ to lib/.

15 years ago * src/grpck.c (check_members): When a member is removed, do not
nekral-guest [Sat, 21 Mar 2009 19:42:48 +0000 (19:42 +0000)]
* src/grpck.c (check_members): When a member is removed, do not
increase the index.
* src/grpck.c: Fix typo in messages and comments.

15 years ago * libmisc/sulog.c: Likewise for the su log.
nekral-guest [Sat, 21 Mar 2009 19:32:14 +0000 (19:32 +0000)]
* libmisc/sulog.c: Likewise for the su log.

15 years ago * src/vipw.c: Likewise for the backup file.
nekral-guest [Sat, 21 Mar 2009 19:28:02 +0000 (19:28 +0000)]
* src/vipw.c: Likewise for the backup file.

15 years ago * src/usermod.c: Likewise for the faillog and lastlog file.
nekral-guest [Sat, 21 Mar 2009 19:25:02 +0000 (19:25 +0000)]
* src/usermod.c: Likewise for the faillog and lastlog file.

15 years ago * src/useradd.c: Likewise for the default file, faillog, lastlog,
nekral-guest [Sat, 21 Mar 2009 19:18:06 +0000 (19:18 +0000)]
* src/useradd.c: Likewise for the default file, faillog, lastlog,
and mail spool.

15 years ago * lib/commonio.c: Call fsync before closing the backup file. This
nekral-guest [Sat, 21 Mar 2009 19:12:00 +0000 (19:12 +0000)]
* lib/commonio.c: Call fsync before closing the backup file. This
ensures that the backup file is flushed to the storage medium.

15 years agoFixed TODO item.
nekral-guest [Sun, 15 Mar 2009 21:43:24 +0000 (21:43 +0000)]
Fixed TODO item.

15 years agoAdded TODO items.
nekral-guest [Sun, 15 Mar 2009 21:38:46 +0000 (21:38 +0000)]
Added TODO items.

15 years ago * src/groupmod.c: Embed gshadow related cleanup in #ifdef
nekral-guest [Sun, 15 Mar 2009 21:38:08 +0000 (21:38 +0000)]
* src/groupmod.c: Embed gshadow related cleanup in #ifdef
SHADOWGRP.

15 years ago * src/usermod.c: get_number() replaced by getlong().
nekral-guest [Sun, 15 Mar 2009 21:34:20 +0000 (21:34 +0000)]
* src/usermod.c: get_number() replaced by getlong().
* src/usermod.c: When the user is renamed, make sure we do not
override an user with the same name (in passwd or shadow).

15 years ago * src/gpasswd.c: log_gpasswd_success_gshadow is in the cleanup
nekral-guest [Sun, 15 Mar 2009 21:32:26 +0000 (21:32 +0000)]
* src/gpasswd.c: log_gpasswd_success_gshadow is in the cleanup
stack only when the shadow group file is present.

15 years ago * NEWS, src/userdel.c: Make sure the user exists in the shadow
nekral-guest [Sun, 15 Mar 2009 21:29:16 +0000 (21:29 +0000)]
* NEWS, src/userdel.c: Make sure the user exists in the shadow
database before calling spw_remove().
* NEWS, src/userdel.c: When the user's group is removed, make sure
the group is in the gshadow database before calling sgr_remove().
* src/userdel.c: Improve warning's wording.

15 years ago * libmisc/cleanup.c: Fix del_cleanup. The arguments were not
nekral-guest [Sun, 15 Mar 2009 21:15:48 +0000 (21:15 +0000)]
* libmisc/cleanup.c: Fix del_cleanup. The arguments were not
desynchronized with the cleanup functions.
* libmisc/cleanup.c: cleanup_function_args is an array of void
pointer, not strings.

15 years ago * libmisc/find_new_gid.c: Fix find_new_gid() the current group
nekral-guest [Sun, 15 Mar 2009 21:12:57 +0000 (21:12 +0000)]
* libmisc/find_new_gid.c: Fix find_new_gid() the current group
database was not taken into account.

15 years ago * libmisc/addgrps.c: Fix compilation warnings.
nekral-guest [Sun, 15 Mar 2009 21:10:35 +0000 (21:10 +0000)]
* libmisc/addgrps.c: Fix compilation warnings.

15 years ago * man/po/Makefile.in.in: xml2po cannot exclude one entity for
nekral-guest [Sat, 14 Mar 2009 16:18:06 +0000 (16:18 +0000)]
* man/po/Makefile.in.in: xml2po cannot exclude one entity for
expansion. Make sure config.xml does not exist when the POT file
is created in order to keep the configurations in the POT file
* man/generate_translations.mak: make sure config.xml does not
exist neither when the translated XML is generated. Add the
missing %config; (strip out by xml2po). and make sure config.xml
is present when the translated manpage is generated.
* man/generate_mans.mak: config.xml is needed for the generation
of manpages (already in the .deps for the English manpages, but
needed for the translations).
* man/Makefile.am: Added missing CREATE_HOME.xml.

15 years ago * man/generate_mans.deps: Added Makefile dependency rules.
nekral-guest [Sat, 14 Mar 2009 13:29:55 +0000 (13:29 +0000)]
* man/generate_mans.deps: Added Makefile dependency rules.

15 years agoUpdated TODO list.
nekral-guest [Sat, 14 Mar 2009 13:21:15 +0000 (13:21 +0000)]
Updated TODO list.

15 years ago * etc/login.defs: Added note for PAM enabled configurations.
nekral-guest [Sat, 14 Mar 2009 13:20:25 +0000 (13:20 +0000)]
* etc/login.defs: Added note for PAM enabled configurations.

15 years agoAdded config.xml to the list of ignored files.
nekral-guest [Sat, 14 Mar 2009 13:18:28 +0000 (13:18 +0000)]
Added config.xml to the list of ignored files.

15 years ago * man/Makefile.am: Compute the dependencies for building the
nekral-guest [Sat, 14 Mar 2009 13:16:55 +0000 (13:16 +0000)]
* man/Makefile.am: Compute the dependencies for building the
manpages.

15 years ago * libmisc/addgrps.c: Fix warnings.
nekral-guest [Sat, 14 Mar 2009 13:13:47 +0000 (13:13 +0000)]
* libmisc/addgrps.c: Fix warnings.

15 years ago * man/po/fr.po: Added missing space.
nekral-guest [Sat, 14 Mar 2009 13:08:49 +0000 (13:08 +0000)]
* man/po/fr.po: Added missing space.

15 years ago * man/lastlog.8.xml: Document that there might be entries, for
nekral-guest [Sat, 14 Mar 2009 11:11:04 +0000 (11:11 +0000)]
* man/lastlog.8.xml: Document that there might be entries, for
deleted users, that are not displayed.

15 years ago * man/chgpasswd.8.xml, man/chpasswd.8.xml: Fix the man page in
nekral-guest [Sat, 14 Mar 2009 11:09:57 +0000 (11:09 +0000)]
* man/chgpasswd.8.xml, man/chpasswd.8.xml: Fix the man page in
case SHA crypt is not supported.

15 years ago * man/vipw.8.xml: MAX_MEMBERS_PER_GROUP is not used by vipw and
nekral-guest [Sat, 14 Mar 2009 11:08:39 +0000 (11:08 +0000)]
* man/vipw.8.xml: MAX_MEMBERS_PER_GROUP is not used by vipw and
vigr.

15 years ago * man/login.defs.5.xml: Indicate that sg uses the same variables
nekral-guest [Fri, 13 Mar 2009 23:17:43 +0000 (23:17 +0000)]
* man/login.defs.5.xml: Indicate that sg uses the same variables
as newgrp.
* man/login.defs.5.xml: vipw does not use any variable.
* man/login.defs.5.xml: In PAM enabled configurations, login still
uses some login.defs variables.

15 years ago * man/usermod.8.xml: use a <replaceable> instead of a
nekral-guest [Fri, 13 Mar 2009 23:14:18 +0000 (23:14 +0000)]
* man/usermod.8.xml: use a <replaceable> instead of a
<emphasis remap='I'>.

15 years ago * man/newusers.8.xml: Document the behavior of newusers for each
nekral-guest [Fri, 13 Mar 2009 23:12:06 +0000 (23:12 +0000)]
* man/newusers.8.xml: Document the behavior of newusers for each
field.
* man/newusers.8.xml: Do not add the note on PAM on non-PAM
enabled configurations.

15 years ago * src/faillog.c: Added support for the specification of a range of
nekral-guest [Fri, 13 Mar 2009 22:49:20 +0000 (22:49 +0000)]
* src/faillog.c: Added support for the specification of a range of
users with -u.
* src/faillog.c: Do not call print_one() for users which do not
exist.
* src/faillog.c: Make sure the user's entry is not outside the
faillog file and initialize the faillog structure in that case.
* src/faillog.c: Move print_one() closer to print().
* src/faillog.c: reset(), setmax(), set_locktime() can also change
entries of user which do not exist.
* src/faillog.c: reset(), setmax() and set_locktime() shall not
create entries for users which have no entries if the value has to
be set to 0.
* src/faillog.c: reset(), setmax() and set_locktime(): better
handling of users whose entry is outside the faillog file.
* src/faillog.c: Improved option handling. Options can now be
specified in any order.
* src/faillog.c: Improved warnings when options are not
compatible or when the faillog cannot be open with the right mode.
* src/faillog.c: Only fstat the faillog file once.
* man/faillog.8.xml: Improved documentation.

15 years ago * src/useradd.c, man/useradd.8.xml: Added long name for the -l
nekral-guest [Fri, 13 Mar 2009 22:30:38 +0000 (22:30 +0000)]
* src/useradd.c, man/useradd.8.xml: Added long name for the -l
option: --no-log-init.

15 years ago * src/chpasswd.c: Make sure the SHA related variables is not
nekral-guest [Fri, 13 Mar 2009 22:28:27 +0000 (22:28 +0000)]
* src/chpasswd.c: Make sure the SHA related variables is not
compiled when disabled at configuration time.
* src/chgpasswd.c: Make sure the SHA related variables is not
compiled when disabled at configuration time.
* src/chgpasswd.c: Fix the test for getlong() failure.

15 years ago * src/newusers.c: Make sure the SHA related variables are not
nekral-guest [Fri, 13 Mar 2009 22:26:35 +0000 (22:26 +0000)]
* src/newusers.c: Make sure the SHA related variables are not
compiled when disabled at configuration time.
* src/newusers.c: Added FIXME

15 years ago * src/gpasswd.c: Remove the documentation of options from the
nekral-guest [Fri, 13 Mar 2009 22:21:26 +0000 (22:21 +0000)]
* src/gpasswd.c: Remove the documentation of options from the
main() documentation. It will always be outdated here.

15 years ago * src/lastlog.c: lastlog variable renamed to ll to avoid name
nekral-guest [Fri, 13 Mar 2009 22:20:20 +0000 (22:20 +0000)]
* src/lastlog.c: lastlog variable renamed to ll to avoid name
clash with the structure.
* src/lastlog.c: check the offset in print_one() so that it is
used for the display of one entry or a set of entries.
* src/lastlog.c: Do not loop over the whole user database when -u
is used with a single user.
* src/lastlog.c: Check the size of the lastlog file so that we
can identify failures to read.

15 years ago * libmisc/salt.c: Removed l64a prototype. The libc declaration is
nekral-guest [Fri, 13 Mar 2009 19:17:24 +0000 (19:17 +0000)]
* libmisc/salt.c: Removed l64a prototype. The libc declaration is
non static, but the internal definition is static.

15 years agoAdd TODO item for the testsuite.
nekral-guest [Sun, 8 Mar 2009 23:30:56 +0000 (23:30 +0000)]
Add TODO item for the testsuite.

15 years agoCompile fixes. Fixes warnings.
nekral-guest [Sun, 8 Mar 2009 23:30:25 +0000 (23:30 +0000)]
Compile fixes. Fixes warnings.

15 years ago * src/gpasswd.c: log_gpasswd_success_gshadow only exists ifdef
nekral-guest [Sun, 8 Mar 2009 23:29:46 +0000 (23:29 +0000)]
* src/gpasswd.c: log_gpasswd_success_gshadow only exists ifdef
SHADOWGRP.

15 years ago * NEWS, src/newusers.c, src/usermod.c, src/useradd.c,
nekral-guest [Sun, 8 Mar 2009 20:43:15 +0000 (20:43 +0000)]
* NEWS, src/newusers.c, src/usermod.c, src/useradd.c,
src/groupmod.c, src/groupadd.c: Make sure no user or group are
created with an ID set to -1.

15 years ago * NEWS, src/grpck.c, src/pwck.c: Issue a warning if an ID is set
nekral-guest [Sun, 8 Mar 2009 20:29:22 +0000 (20:29 +0000)]
* NEWS, src/grpck.c, src/pwck.c: Issue a warning if an ID is set
to -1.

15 years ago * NEWS, src/grpck.c, src/pwck.c: Issue a warning if an ID is set
nekral-guest [Sun, 8 Mar 2009 20:28:55 +0000 (20:28 +0000)]
* NEWS, src/grpck.c, src/pwck.c: Issue a warning if an ID is set
to -1.