Commit Graph

  • f9b8a95b92 * src/usermod.c: Re-indent. * src/usermod.c: Avoid implicit conversion of pointers to booleans. * src/usermod.c: Added parenthesis. nekral-guest 2010-03-11 22:03:11 +00:00
  • 5cd1d6e287 * src/pwunconv.c: Only check USE_TCB if configured WITH_TCB. nekral-guest 2010-03-11 22:02:54 +00:00
  • 59910c45d5 * src/userdel.c: Re-indent. * src/userdel.c: Avoid implicit conversion of pointers to booleans. * src/userdel.c: Document the sections closed by #endif nekral-guest 2010-03-11 22:01:59 +00:00
  • a8b11f5c18 * src/pwconv.c: Only check USE_TCB if configured WITH_TCB. nekral-guest 2010-03-11 22:01:15 +00:00
  • d562701538 * libmisc/copydir.c: Added parenthesis. nekral-guest 2010-03-11 22:00:41 +00:00
  • 9866af3777 2010-02-14 Michael Bunk <mb@computer-leipzig.com> nekral-guest 2010-03-10 22:30:03 +00:00
  • 391a384715 2010-01-30 Paweł Hajdan, Jr. <phajdan.jr@gentoo.org> nekral-guest 2010-03-04 18:11:13 +00:00
  • 5ba95d4c53 * libmisc/env.c: Fix sanitize_env() noslash support. This fixes Alioth#311740. Thanks to Jason Cassell. nekral-guest 2010-01-24 17:23:42 +00:00
  • 291b28ac52 * src/su.c: Do not sanitize the environment. This breaks --preserve-environment. This sanitation was disabled on Debian since quite some time with no reported issues, and sanitize_env() documentation agrees that it should be useless as all modern Unixes will handle setuid executables properly. This Fixes Alioth#312287. nekral-guest 2010-01-24 17:13:40 +00:00
  • 0fce70b091 * libmisc/setupenv.c: Fix typo from 2009-11-01. nekral-guest 2010-01-24 17:05:37 +00:00
  • c5c94a1d2c * configure.in: Add support for TCB in configure.in. Actual TCB support will follow. nekral-guest 2010-01-24 16:53:15 +00:00
  • 289913e5ff * NEWS, src/groupmod.c: Fixed groupmod when configured with --enable-account-tools-setuid. nekral-guest 2009-11-05 22:03:36 +00:00
  • e770e87035 * NEWS, man/login.defs.d/ENV_SUPATH.xml, libmisc/setupenv.c: Harmonize other paths and documentation with previous change. nekral-guest 2009-11-01 16:59:48 +00:00
  • 248d5fd870 2009-11-01 Michel Hermier <michel.hermier@gmail.com> nekral-guest 2009-11-01 16:57:59 +00:00
  • 7fa666b909 2009-10-15 Thorsten Kukuk <kukuk@suse.de> nekral-guest 2009-10-17 20:40:53 +00:00
  • 27db71370a Indicate new translations. nekral-guest 2009-10-17 20:40:00 +00:00
  • a632c4047e Changelog police. nekral-guest 2009-10-15 16:50:43 +00:00
  • cc873b51c3 Completed Czech translation bubulle 2009-10-05 06:11:17 +00:00
  • 5c46f26505 Vietnamese translation compelted bubulle 2009-09-29 18:11:31 +00:00
  • b70e0a466f Czech translation update bubulle 2009-09-27 06:23:23 +00:00
  • d7ac25f813 French translation update bubulle 2009-09-24 20:20:47 +00:00
  • 1af98ea784 Vietnamese translation update bubulle 2009-09-24 20:18:50 +00:00
  • 2be243c143 pid_child and kill_child are only used when USE_PAM. nekral-guest 2009-09-08 21:33:14 +00:00
  • 1e51ab0b23 * lib/commonio.c: Avoid pre-decrement operator (--n). Add some comments. * libmisc/cleanup.c: Fix off by one in an assertion. nekral-guest 2009-09-08 21:00:12 +00:00
  • a845c67c60 * src/su.c: Fix indentation. * src/su.c: Add more messages for translation. * src/su.c: Ignore kill() return value when sending the TERM signal. If it fails, a KILL should be sent anyway. nekral-guest 2009-09-08 20:46:43 +00:00
  • 756700ddf3 * NEWS, src/su.c: When su receives a signal, wait for the child to terminate (after sending a SIGTERM), and kill it only if it did not terminate by itself. No delay will be enforced if the child cooperates. See http://bugs.gentoo.org/282094 * NEWS, man/su.1.xml: Document su's exit values. nekral-guest 2009-09-08 20:39:15 +00:00
  • da18e77e9a * src/useradd.c: The default value for the CREATE_MAIL_SPOOL variable (i.e. if CREATE_MAIL_SPOOL= is specified without any values) is "no", not DCREATE_MAIL_SPOOL ("CREATE_MAIL_SPOOL="). nekral-guest 2009-09-08 13:16:58 +00:00
  • 38e7ec3316 * src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead. For consistency, change HOME, INACT, EXPIRE, SKEL, and CREATE_MAIL_SPOOL to DHOME, DINACT, DEXPIRE, DSKEL, and DCREATE_MAIL_SPOOL. nekral-guest 2009-09-08 13:11:03 +00:00
  • ee792a8fa1 * src/newusers.c: Prefer #ifdef over #if. nekral-guest 2009-09-08 13:06:57 +00:00
  • 1f8e2dcda2 * configure.in: We do not use SETPGRP_VOID, and already assume that setpgrp has a void argument. Remove AC_FUNC_SETPGRP to ease cross compiling. nekral-guest 2009-09-08 13:05:59 +00:00
  • f103e6263d * man/generate_translations.mak, man/generate_mans.mak, po/Makefile.in.in: Removing and restoring the config.xml file broke parallel builds. Build the manpages based on *.xml-config files instead of *.xml files. The *.xml do not include config.xml anymore, which permits to run xml2po without needing to remove config.xml. The config.xml is restored in the *.xml-config files. * man/groupadd.8.xml: Implementation of the above. * man/generate_mans.deps: Updated dependencies nekral-guest 2009-09-07 21:49:29 +00:00
  • 031279dfb2 * libmisc/limits.c: Fix the format to match the unsigned long variable in argument. * libmisc/utmp.c: Fix tests. tmptty is a variable stack. ut_host is an array of the ut structure. None of them can be NULL. nekral-guest 2009-09-07 19:50:00 +00:00
  • 2a58111fc1 Fix typo in the version numbers. nekral-guest 2009-09-07 19:25:07 +00:00
  • d346c7c6a7 * 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) nekral-guest 2009-09-07 19:08:10 +00:00
  • 1a86dc913f * lib/sgroupio.h: Harmonize splint annotations of sgr_locate() prototype with the one used in its definition. nekral-guest 2009-09-07 18:59:03 +00:00
  • 1e6b107d99 2009-09-07 Steve Grubb <sgrubb@redhat.com> nekral-guest 2009-09-07 18:53:47 +00:00
  • 8806b07bd2 * 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 2009-09-05 22:31:29 +00:00
  • ff60398b1c Added new TODO item. nekral-guest 2009-09-05 20:26:09 +00:00
  • 32e2ef34a3 * src/gpasswd.c, src/groupmems.c: Split the groupmems and gpasswd Usage string. It was changed anyway to add the --help option. nekral-guest 2009-09-05 20:25:40 +00:00
  • 91b60a955c * 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 2009-09-04 23:02:33 +00:00
  • 3d10e75117 * src/useradd.c: Fixed wrong format string. * lib/gshadow.c: Removed declaration of unused variable. nekral-guest 2009-09-04 22:09:58 +00:00
  • 915e78ee2d * 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 2009-08-30 19:46:54 +00:00
  • 9031103c24 * man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They break the groff formatting. nekral-guest 2009-08-21 15:02:32 +00:00
  • 3db03960be * po/fr.po: Fix typos, based on reviews by the Debian French translation team. nekral-guest 2009-08-14 21:12:15 +00:00
  • afa1c65d32 Complete French translation bubulle 2009-07-27 22:35:13 +00:00
  • 41aa36a0a3 French translation update bubulle 2009-07-25 17:23:19 +00:00
  • e568b9e435 * 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 2009-07-24 01:13:21 +00:00
  • 36ef489fe1 * configure.in: Fixed definition of the SHELL configuration. nekral-guest 2009-07-23 21:02:03 +00:00
  • 65741533ca * etc/login.defs: SYS_GID_MIN /SYS_UID_MIN changed from 100 to 101. GID 100 seems to be used statically. nekral-guest 2009-07-23 20:41:35 +00:00
  • 93ce5304fe Added a TODO item for /etc/defautl/useradd nekral-guest 2009-07-23 19:40:53 +00:00
  • 355e31d19d Added one todo item. nekral-guest 2009-07-23 19:40:00 +00:00
  • 24cfe44b07 * libmisc/shell.c, src/su.c: Execute the scripts with "sh -" rather than "sh". nekral-guest 2009-07-22 13:35:57 +00:00
  • db38a728d1 * configure.in, libmisc/shell.c, libmisc/setupenv.c, src/newgrp.c, src/su.c: Let the system shell be configurable. nekral-guest 2009-07-22 13:30:06 +00:00
  • 4ad827768e * NEWS, src/su.c, libmisc/shell.c: Added support for shells being a shell script without a shebang. nekral-guest 2009-07-20 14:00:50 +00:00
  • b04c2d7e99 And fix a typo in French..:) bubulle 2009-07-19 11:54:44 +00:00
  • cb550dae17 Fix obvious mistake in Dutch translation bubulle 2009-07-19 11:53:49 +00:00
  • 56c7096000 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 2009-07-18 00:35:35 +00:00
  • b0bcb01888 * 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 2009-07-17 22:54:23 +00:00
  • f7257fafe1 * po/eu.po: Updated Basque translation. nekral-guest 2009-07-05 20:13:41 +00:00
  • 616ed68b48 * man/fi/Makefile.am: Stop distributing the Finnish translation of passwd.1 (outdated). nekral-guest 2009-06-22 19:23:42 +00:00
  • 7e96d749e4 * 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 2009-06-20 13:02:33 +00:00
  • 885692e3c5 * man/po/fr.po: Fixed typo (forunis) nekral-guest 2009-06-14 12:47:41 +00:00
  • bbb2a1522f * lib/fputsx.c: Compare the result of fgets() with the provided buffer instead of NULL. nekral-guest 2009-06-12 20:20:45 +00:00
  • ae00a3579c * 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 2009-06-12 17:50:24 +00:00
  • fa69d08d13 * 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 2009-06-11 21:33:00 +00:00
  • 7d5d9c1841 * 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 2009-06-11 20:01:21 +00:00
  • 80907f451b * man/passwd.5.xml, man/shadow.5.xml: Document the passwd- and shadow- files. nekral-guest 2009-06-06 11:21:15 +00:00
  • f4f6300499 * 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 2009-06-05 22:19:38 +00:00
  • d6f18c207e * 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 2009-06-05 22:16:56 +00:00
  • 35c0b2cb47 * man/passwd.1.xml: The short option for --mindays is -n, not -m. nekral-guest 2009-06-05 21:14:12 +00:00
  • d07e4b8e32 Updated previous documentation of the environment variables handling. nekral-guest 2009-06-04 20:47:50 +00:00
  • 0762426c4d * .gitignore, man/.gitignore, src/.gitignore: Added .gitignore files. nekral-guest 2009-06-04 20:08:11 +00:00
  • 5cd975acbf * 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 2009-06-04 17:28:09 +00:00
  • ae69e6da5a * man/login.1.xml: Document that the login.defs file is used. nekral-guest 2009-06-04 17:25:18 +00:00
  • 647c22c85a * man/login.defs.d/ENVIRON_FILE.xml: Document the format for comments. nekral-guest 2009-06-04 17:23:08 +00:00
  • 1edc2153bb * man/gpasswd.1.xml: Ease the translation of the refpurpose. * man/gpasswd.1.xml: Fix typo, shorten sentences. nekral-guest 2009-05-26 19:23:40 +00:00
  • bf56a7097e * man/pwck.8.xml, man/grpck.8.xml: Move the SEE ALSO section at the end. nekral-guest 2009-05-26 17:00:58 +00:00
  • a6418fb0df * src/vipw.c: Make sure opened files are closed. nekral-guest 2009-05-25 19:51:23 +00:00
  • 401d72d609 * 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 2009-05-25 19:41:43 +00:00
  • a1352582df * man/passwd.1.xml: Avoid a spurious comma. nekral-guest 2009-05-25 19:29:19 +00:00
  • 2e239f44cf * NEWS: New placeholder for the next release. nekral-guest 2009-05-25 19:26:31 +00:00
  • 5b22b11454 * po/fr.po: Updated French translation. nekral-guest 2009-05-22 13:53:18 +00:00
  • 91d5c24f58 * 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 2009-05-22 13:50:45 +00:00
  • e9a8ffbb51 re-indent. nekral-guest 2009-05-22 13:32:26 +00:00
  • 1b9b5ec306 * man/po/fr.po: Updated some strings. nekral-guest 2009-05-22 13:31:18 +00:00
  • f596cd113c * NEWS, src/newgrp.c: Return the exit status of the child. Thanks to Lionel Elie Mamane. nekral-guest 2009-05-22 11:10:02 +00:00
  • 2e075ad91b * NEWS, src/newgrp.c: Return the exit status of the child. Thanks to Lionel Elie Mamane. nekral-guest 2009-05-22 11:08:46 +00:00
  • fd55bd5d4a * src/usermod.c: Added warnings for absolute symlinks which could be broken by rename(). nekral-guest 2009-05-22 10:42:51 +00:00
  • 604c7d72d9 * 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 2009-05-22 10:41:10 +00:00
  • 738ebc04b9 * 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 2009-05-22 10:16:12 +00:00
  • 8dfd253b9c * man/faillog.8.xml: Minor updates. nekral-guest 2009-05-21 14:04:53 +00:00
  • 2a08642cdc * man/faillog.5.xml: Split a long paragraph. Typo fixes. nekral-guest 2009-05-21 14:01:16 +00:00
  • 3aa2765d59 * man/gpasswd.1.xml: Minor updates. nekral-guest 2009-05-21 13:54:45 +00:00
  • 12235612b5 * man/gshadow.5.xml: Updated documentation. nekral-guest 2009-05-21 13:53:56 +00:00
  • 39b17ee5d5 * 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 2009-05-21 12:02:12 +00:00
  • 37bda83dfc * src/su.c: Use a boolean instead of 0. nekral-guest 2009-05-21 11:58:59 +00:00
  • 16ea6678ef msgcat + leave Jean-Luc as translator bubulle 2009-05-20 05:40:31 +00:00
  • a7118480af French translation update bubulle 2009-05-20 05:39:40 +00:00
  • 41705d4532 * man/usermod.8.xml: Fixed typos. nekral-guest 2009-05-19 22:28:34 +00:00
  • b98658bd11 * configure.in: Next version will be 4.1.4.1. nekral-guest 2009-05-19 22:19:41 +00:00