d56e6d08bc
* debian/patches/401_cppw_src.dpatch: Call fsync before closing the backup file descriptor. This ensures that the backup file will be available on the storage medium.
nekral-guest2009-03-21 20:40:52 +00:00
d4fc74e43c
* lib/sgetpwent.c, lib/sgetgrent.c: Use get_uid and get_gid to validate the UIDs or GIDs instead of atoi/strtol.
nekral-guest2009-03-21 20:29:58 +00:00
a1dd26d2d6
* 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/.
nekral-guest2009-03-21 20:24:37 +00:00
503976fc6a
* src/grpck.c (check_members): When a member is removed, do not increase the index. * src/grpck.c: Fix typo in messages and comments.
nekral-guest2009-03-21 19:42:48 +00:00
dab1523df5
* libmisc/sulog.c: Likewise for the su log.
nekral-guest2009-03-21 19:32:14 +00:00
a65c2c9b18
* src/vipw.c: Likewise for the backup file.
nekral-guest2009-03-21 19:28:02 +00:00
5331930716
* src/usermod.c: Likewise for the faillog and lastlog file.
nekral-guest2009-03-21 19:25:02 +00:00
96c7b12bc4
* src/useradd.c: Likewise for the default file, faillog, lastlog, and mail spool.
nekral-guest2009-03-21 19:18:06 +00:00
5dd5f51700
* lib/commonio.c: Call fsync before closing the backup file. This ensures that the backup file is flushed to the storage medium.
nekral-guest2009-03-21 19:12:00 +00:00
b98c5149da
The date changes everyday. Use @TODAY@ instead of the date when the test case was created.
nekral-guest2009-03-18 21:22:22 +00:00
f0866cc1fb
Intent of 14_useradd_out_of_range_UID.test was to test with UID=2**32, not 2**31. Although the limit for UIDs used to be 2**31-1.
nekral-guest2009-03-16 21:27:45 +00:00
a645f89697
When groupmod only changes the GID, gshadow is not touched and thus it is not required to lock gshadow.
nekral-guest2009-03-15 23:08:40 +00:00
a8e9fc86eb
* src/groupmod.c: Embed gshadow related cleanup in #ifdef SHADOWGRP.
nekral-guest2009-03-15 21:38:08 +00:00
a402c4db3b
* 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).
nekral-guest2009-03-15 21:34:20 +00:00
780af2653a
* src/gpasswd.c: log_gpasswd_success_gshadow is in the cleanup stack only when the shadow group file is present.
nekral-guest2009-03-15 21:32:26 +00:00
9372111aaa
* 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.
nekral-guest2009-03-15 21:29:16 +00:00
9fda9f5c28
* 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.
nekral-guest2009-03-15 21:15:48 +00:00
80135cdc17
* libmisc/find_new_gid.c: Fix find_new_gid() the current group database was not taken into account.
nekral-guest2009-03-15 21:12:57 +00:00
43515a0924
Cleanup for current upstream SVN version.
nekral-guest2009-03-14 17:46:26 +00:00
d1dac25379
* 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.
nekral-guest2009-03-14 16:18:06 +00:00
5a5cf15430
* man/lastlog.8.xml: Document that there might be entries, for deleted users, that are not displayed.
nekral-guest2009-03-14 11:11:04 +00:00
884a2de437
* man/chgpasswd.8.xml, man/chpasswd.8.xml: Fix the man page in case SHA crypt is not supported.
nekral-guest2009-03-14 11:09:57 +00:00
5349c79d12
* man/vipw.8.xml: MAX_MEMBERS_PER_GROUP is not used by vipw and vigr.
nekral-guest2009-03-14 11:08:39 +00:00
9ee627fe02
* 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.
nekral-guest2009-03-13 23:17:43 +00:00
1def19ecea
* man/usermod.8.xml: use a <replaceable> instead of a <emphasis remap='I'>.
nekral-guest2009-03-13 23:14:18 +00:00
dc857372ed
* 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.
nekral-guest2009-03-13 23:12:06 +00:00
730fc8fc33
* 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.
nekral-guest2009-03-13 22:49:20 +00:00
fafe281d31
* src/useradd.c, man/useradd.8.xml: Added long name for the -l option: --no-log-init.
nekral-guest2009-03-13 22:30:38 +00:00
f98b47eb55
* 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.
nekral-guest2009-03-13 22:28:27 +00:00
e3e64317e8
* src/newusers.c: Make sure the SHA related variables are not compiled when disabled at configuration time. * src/newusers.c: Added FIXME
nekral-guest2009-03-13 22:26:35 +00:00
f2c8017df4
* src/gpasswd.c: Remove the documentation of options from the main() documentation. It will always be outdated here.
nekral-guest2009-03-13 22:21:26 +00:00
bf9036d27a
* 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.
nekral-guest2009-03-13 22:20:20 +00:00
87da822c7f
* libmisc/salt.c: Removed l64a prototype. The libc declaration is non static, but the internal definition is static.
nekral-guest2009-03-13 19:17:24 +00:00
28d7f83c87
* 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.
nekral-guest2009-03-08 20:43:15 +00:00
c1052e2df2
* NEWS, src/grpck.c, src/pwck.c: Issue a warning if an ID is set to -1.
nekral-guest2009-03-08 20:29:22 +00:00
c9121d025f
* NEWS, src/grpck.c, src/pwck.c: Issue a warning if an ID is set to -1.
nekral-guest2009-03-08 20:28:55 +00:00
0e2a3979f4
* libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am, lib/prototypes.h: Added get_uid() and get_gid() to parse user and group IDs.
nekral-guest2009-03-08 20:26:56 +00:00
186ea0e203
* libmisc/getlong.c: Make sure the getlong argument is not empty.
nekral-guest2009-03-08 20:21:24 +00:00
f47d9eba94
* contrib/adduser-old.c, contrib/adduser.c: Do not use the target of snprintf in one of the format's parameters.
nekral-guest2009-03-07 16:32:11 +00:00
7368452e49
* man/groupmems.8.xml: groupmems does not create new user.
nekral-guest2009-03-07 16:30:49 +00:00
a62e781248
* libmisc/find_new_gid.c, libmisc/find_new_uid.c: Avoid calling getgrent()/getpwent() after they return NULL. This caused LDAP to return at the beginning of the group/user entries.
nekral-guest2009-02-22 23:23:15 +00:00
f2d6449374
* NEWS, src/gpasswd.c: Only report success to audit and syslog when the changes are committed to the system. Do not log failure for on-memory changes to audit or syslog. Make sure failures and inconsistencies will be reported in case of unexpected failures (e.g. malloc failures). Only specify an audit message if it is not implicitly implied by the type argument. Removed fail_exit (replaced by atexit(do_cleanups)). Log failures in case of permission denied.
nekral-guest2009-01-26 22:03:37 +00:00
7b532f0b44
- newusers should use the CREATE_HOME variable (and new options are needed)
nekral-guest2009-01-21 14:49:42 +00:00
af96cba0cc
* etc/login.defs: Improve the documentation of UMASK.
nekral-guest2009-01-19 10:21:50 +00:00