Commit Graph

  • 5ef093d38e Fix the call to fsync. nekral-guest 2009-03-22 12:08:43 +00:00
  • c2bb947c14 Remove unused variable. nekral-guest 2009-03-21 20:45:35 +00:00
  • 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-guest 2009-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-guest 2009-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-guest 2009-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-guest 2009-03-21 19:42:48 +00:00
  • dab1523df5 * libmisc/sulog.c: Likewise for the su log. nekral-guest 2009-03-21 19:32:14 +00:00
  • a65c2c9b18 * src/vipw.c: Likewise for the backup file. nekral-guest 2009-03-21 19:28:02 +00:00
  • 5331930716 * src/usermod.c: Likewise for the faillog and lastlog file. nekral-guest 2009-03-21 19:25:02 +00:00
  • 96c7b12bc4 * src/useradd.c: Likewise for the default file, faillog, lastlog, and mail spool. nekral-guest 2009-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-guest 2009-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-guest 2009-03-18 21:22:22 +00:00
  • 1ccdb08ab2 Ignore generated files. nekral-guest 2009-03-18 21:21:30 +00:00
  • 39553bc84a Ignore generated log files. nekral-guest 2009-03-18 21:13:07 +00:00
  • 2a3f424d3d Ignore generated log files. nekral-guest 2009-03-18 21:11:04 +00:00
  • 49db6466e1 Ignore generated log files. nekral-guest 2009-03-18 21:01:58 +00:00
  • b09af63a5d Ignore generated log files. nekral-guest 2009-03-18 20:54:03 +00:00
  • d9a24cc82c Ignore generated log files. nekral-guest 2009-03-18 20:53:16 +00:00
  • ab1840c6d6 Ignore generated log files. nekral-guest 2009-03-18 20:34:58 +00:00
  • 14aaa22238 Ignore generated log files. nekral-guest 2009-03-18 20:30:37 +00:00
  • e7bb558118 Ignore generated log files. nekral-guest 2009-03-18 20:29:21 +00:00
  • bb269e44d7 ignore generated log files. nekral-guest 2009-03-18 20:27:20 +00:00
  • 2ad293e849 Ignore the generated log files nekral-guest 2009-03-18 20:25:34 +00:00
  • e6bc2c9f9b Fix the exit sequence. nekral-guest 2009-03-18 15:19:44 +00:00
  • af76777327 UPdated to new version. nekral-guest 2009-03-18 15:18:30 +00:00
  • 4d7b872d28 Fixed path of test newusers/29. nekral-guest 2009-03-18 15:17:18 +00:00
  • bc66fb0ed3 Added the svn:executable property on the run_groupmems.exp scripts. nekral-guest 2009-03-18 15:13:10 +00:00
  • a295dc0f1b Make sure no lock files remain after teh execution of each test. Added invokation of new test cases. nekral-guest 2009-03-16 23:23:08 +00:00
  • 097d6864f7 Ignore the .svn directories in the config directories. nekral-guest 2009-03-16 23:21:15 +00:00
  • b7bf03b161 Added interposition library necessary for the failures tests. nekral-guest 2009-03-16 23:20:43 +00:00
  • 7a78d9c181 Added new test cases. nekral-guest 2009-03-16 23:19:40 +00:00
  • d548fe213b gshadow is removed anyway in this test. Make it a valid gshadow matching the group file. nekral-guest 2009-03-16 23:06:27 +00:00
  • 0423800e3e Fix typo. nekral-guest 2009-03-16 22:53:29 +00:00
  • e98619c71c Make sure tests fail by exiting a non nul value. nekral-guest 2009-03-16 22:52:47 +00:00
  • 8f364eb05a Make sure tests fail by exiting a non nul value. nekral-guest 2009-03-16 22:48:45 +00:00
  • 0ca7b0bfb3 Added new test case. nekral-guest 2009-03-16 22:43:07 +00:00
  • 09b2603e32 Updated to new shadow version. nekral-guest 2009-03-16 22:37:02 +00:00
  • cd0a2dd06d Added new test cases. nekral-guest 2009-03-16 22:32:32 +00:00
  • d4931a4aef Updated to new shadow version. nekral-guest 2009-03-16 22:11:32 +00:00
  • 0b36e4e59f Fix logs. nekral-guest 2009-03-16 22:11:01 +00:00
  • 51c59171e4 Make sure tests fail by exiting a non nul value. nekral-guest 2009-03-16 22:08:42 +00:00
  • 474d525137 Added 2 new test cases. nekral-guest 2009-03-16 21:31:26 +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-guest 2009-03-16 21:27:45 +00:00
  • f4c395459d Updated to new shadow version. nekral-guest 2009-03-16 21:19:35 +00:00
  • 8f64322393 Added new tests. nekral-guest 2009-03-15 23:23:58 +00:00
  • 5e45536e26 Updated since it is not an error. nekral-guest 2009-03-15 23:13:32 +00:00
  • a645f89697 When groupmod only changes the GID, gshadow is not touched and thus it is not required to lock gshadow. nekral-guest 2009-03-15 23:08:40 +00:00
  • 02e5dbd136 Updated to new shadow version. nekral-guest 2009-03-15 22:54:37 +00:00
  • fd204abcae Make sure test fail by exiting a non nul value. nekral-guest 2009-03-15 22:50:11 +00:00
  • 9fb40391f8 Fix for new shadow version. nekral-guest 2009-03-15 22:37:49 +00:00
  • 6657ff38e5 Fix message. Did not end with a new line. nekral-guest 2009-03-15 22:36:21 +00:00
  • df7abc5447 Fixed TODO item. nekral-guest 2009-03-15 21:43:24 +00:00
  • db7370d242 Added TODO items. nekral-guest 2009-03-15 21:38:46 +00:00
  • a8e9fc86eb * src/groupmod.c: Embed gshadow related cleanup in #ifdef SHADOWGRP. nekral-guest 2009-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-guest 2009-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-guest 2009-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-guest 2009-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-guest 2009-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-guest 2009-03-15 21:12:57 +00:00
  • 6aa874a0a0 * libmisc/addgrps.c: Fix compilation warnings. nekral-guest 2009-03-15 21:10:35 +00:00
  • 43515a0924 Cleanup for current upstream SVN version. nekral-guest 2009-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-guest 2009-03-14 16:18:06 +00:00
  • 526e7ac972 * man/generate_mans.deps: Added Makefile dependency rules. nekral-guest 2009-03-14 13:29:55 +00:00
  • fa7bae1210 Updated TODO list. nekral-guest 2009-03-14 13:21:15 +00:00
  • d60f0a1a10 * etc/login.defs: Added note for PAM enabled configurations. nekral-guest 2009-03-14 13:20:25 +00:00
  • 78230efd01 Added config.xml to the list of ignored files. nekral-guest 2009-03-14 13:18:28 +00:00
  • 8411a8e8b4 * man/Makefile.am: Compute the dependencies for building the manpages. nekral-guest 2009-03-14 13:16:55 +00:00
  • 295106b6a8 * libmisc/addgrps.c: Fix warnings. nekral-guest 2009-03-14 13:13:47 +00:00
  • 29381bf9d6 * man/po/fr.po: Added missing space. nekral-guest 2009-03-14 13:08:49 +00:00
  • 5a5cf15430 * man/lastlog.8.xml: Document that there might be entries, for deleted users, that are not displayed. nekral-guest 2009-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-guest 2009-03-14 11:09:57 +00:00
  • 5349c79d12 * man/vipw.8.xml: MAX_MEMBERS_PER_GROUP is not used by vipw and vigr. nekral-guest 2009-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-guest 2009-03-13 23:17:43 +00:00
  • 1def19ecea * man/usermod.8.xml: use a <replaceable> instead of a <emphasis remap='I'>. nekral-guest 2009-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-guest 2009-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-guest 2009-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-guest 2009-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-guest 2009-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-guest 2009-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-guest 2009-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-guest 2009-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-guest 2009-03-13 19:17:24 +00:00
  • 47a57bced1 Add TODO item for the testsuite. nekral-guest 2009-03-08 23:30:56 +00:00
  • 1dc04372df Compile fixes. Fixes warnings. nekral-guest 2009-03-08 23:30:25 +00:00
  • 27153ae92b * src/gpasswd.c: log_gpasswd_success_gshadow only exists ifdef SHADOWGRP. nekral-guest 2009-03-08 23:29:46 +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-guest 2009-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-guest 2009-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-guest 2009-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-guest 2009-03-08 20:26:56 +00:00
  • 186ea0e203 * libmisc/getlong.c: Make sure the getlong argument is not empty. nekral-guest 2009-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-guest 2009-03-07 16:32:11 +00:00
  • 7368452e49 * man/groupmems.8.xml: groupmems does not create new user. nekral-guest 2009-03-07 16:30:49 +00:00
  • 635ef3bbf8 Added TODO items. nekral-guest 2009-03-07 16:29:28 +00:00
  • 66c00bd2be - Translations + New Kazakh translation. Closes: #517809 nekral-guest 2009-03-03 20:57:50 +00:00
  • b46fd9a2b4 * NEWS, po/LINGUAS, po/kk.po: Added Kazakh translation. Thanks to Timur Birsh <taem@linukz.org>. nekral-guest 2009-03-03 20:53:20 +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-guest 2009-02-22 23:23:15 +00:00
  • 32ef9c2135 * man/nologin.8.xml: Fix typo (HYSTORY -> HISTORY). nekral-guest 2009-01-27 18:17:54 +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-guest 2009-01-26 22:03:37 +00:00
  • 7b532f0b44 - newusers should use the CREATE_HOME variable (and new options are needed) nekral-guest 2009-01-21 14:49:42 +00:00
  • af96cba0cc * etc/login.defs: Improve the documentation of UMASK. nekral-guest 2009-01-19 10:21:50 +00:00