9811f7fd4a
The pwconv, pwunconv, grpconv, and grpunconv utils now have complete usage message and report a usage error if needed.
nekral-guest
2011-11-14 19:45:13 +00:00
5852c4eb9b
Fix the file ownership.
nekral-guest
2011-11-14 19:43:28 +00:00
b954300b83
Add 2 tests for chsh.
nekral-guest
2011-11-14 19:35:35 +00:00
a2c7f4c8a5
Update chsh usage with the --root option.
nekral-guest
2011-11-14 19:33:55 +00:00
ec7f69e97a
Add one test for chage.
nekral-guest
2011-11-14 19:32:08 +00:00
fbdc52a86d
Update the chage usage with the --root option.
nekral-guest
2011-11-14 19:28:42 +00:00
dff2fa836e
chage/31_chage_interractive_date_invalid is currently failing and chage gets killed. Cleanup the lock files anyway.
nekral-guest
2011-11-14 19:27:43 +00:00
190dfc30eb
Add one test for cppw.
nekral-guest
2011-11-14 19:22:28 +00:00
28af4c5bc5
* debian/patches/401_cppw_src.dpatch: Detect as well too many and too few arguments. * Fix section of debian changelog where update of patches are documented
nekral-guest
2011-11-13 16:30:37 +00:00
57f9d5ae9c
* src/chage.c, src/chfn.c, src/chgpasswd.c, src/chpasswd.c, src/chsh.c, src/groupadd.c, src/groupdel.c, src/groupmems.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c: Provide the PAM error message instead of our own, and log error to syslog. * src/groupmems.c: Exit with exit rather than fail_exit in usage(). * src/newusers.c: Check the number of arguments. * src/newusers.c: Do not create the home directory when it is not changed. * src/useradd.c: Set the group password to "!" rather "x" if there are no gshadow file.
nekral-guest
2011-11-13 16:24:57 +00:00
2ecea675ee
Fix cut&paste issue from yesterday.
nekral-guest
2011-11-13 16:24:49 +00:00
f64c88d629
* src/pwck.c: Removed pw_opened. * src/pwck.c: optind cannot be greater than argc. * src/pwck.c: If spw_opened, then is_shadow is implicitly set. * src/pwck.c: Do not report passwd entry without x password and a shadow entry in --quiet mode (no interaction with the caller) * src/pwck.c: Do not check if the last password change is in the future if the time is set to 0.
nekral-guest
2011-11-13 16:24:39 +00:00
3c608e56f6
* libmisc/root_flag.c: Drop privileges before changing root. The --root option should not be used by regular users for suid utils. * libmisc/root_flag.c: Improve error messages.
nekral-guest
2011-11-11 12:09:58 +00:00
4a5447d4d7
Fix issue introduced by the synchronization with coding style.
nekral-guest
2011-11-06 19:06:37 +00:00
1c619c768d
* New upstream release: - groupmod: document that /etc/passwd can be modified by groupmod -g. Closes: #647308
nekral-guest
2011-11-06 19:05:27 +00:00
184f9d40e6
* man/groupmod.8.xml: Document that the primary group of users may be changed by groupmod -g.
nekral-guest
2011-11-06 19:01:54 +00:00
e4fbf98b18
* man/limits.5.xml, libmisc/limits.c: Sort limit identifiers. * libmisc/limits.c: Fix support for the K limit identifier. * libmisc/limits.c: Add missing default limit for L and U.
nekral-guest
2011-11-06 18:39:47 +00:00
a2d23700e4
* NEWS, src/faillog.c, man/faillog.8.xml: Add --root option. * NEWS, src/lastlog.c, man/lastlog.8.xml: Likewise. * src/faillog.c: Add Prog variable, and prefix error messages with Prog rather than "faillog". * src/lastlog.c: Likewise. * src/lastlog.c: Split usage in smaller messages.
nekral-guest
2011-11-06 18:39:03 +00:00
0857837e64
* NEWS, src/chage.c, man/chage.1.xml: Add --root option. Open audit and syslog after the potential chroot. chage's usage split in smaller messages.
nekral-guest
2011-11-06 18:38:57 +00:00
d15f2c6214
* src/login.c: re-indent. * src/login.c: Fix support for sub-logins.
nekral-guest
2011-11-06 18:38:51 +00:00
6eb0500d3d
* src/faillog.c, src/chage.c, src/newusers.c, src/su.c: The getopt index of long options is not used.
nekral-guest
2011-11-06 18:38:45 +00:00
7b8c4952a8
* NEWS, src/gpasswd.c, man/gpasswd.1.xml: Add --root option. * src/gpasswd.c: The getopt index of long options is not used.
nekral-guest
2011-11-06 18:38:39 +00:00
4beca611fb
* NEWS, src/chsh.c, man/chsh.1.xml: Add --root option. chsh's usage split in smaller messages. * src/chsh.c: The getopt index of long options is not used.
nekral-guest
2011-11-06 18:38:32 +00:00
1aa30ba551
* NEWS, src/groupmems.c, man/groupmems.8.xml: Add --root option. Open syslog after the potential chroot. * src/groupmems.c: The getopt index of long options is not used.
nekral-guest
2011-11-06 18:38:26 +00:00
fc5cd8840e
sort per util.
nekral-guest
2011-11-06 18:38:21 +00:00
ec2b9f59f7
* NEWS, src/passwd.c, man/passwd.1.xml: Add --root option. passwd's usage split in smaller messages. * src/passwd.c: Call sanitize_env() before setting the locales.
nekral-guest
2011-11-06 18:38:16 +00:00
799f30b08d
* NEWS, src/chpasswd.c, man/chpasswd.8.xml, src/chgpasswd.c, man/chgpasswd.8.xml: Add --root option. * src/chpasswd.c, src/chgpasswd.c: The getopt index of long options is not used.
nekral-guest
2011-11-06 18:38:10 +00:00
c017dd73aa
* src/groupdel.c: Add process_flags(). * src/groupdel.c, man/groupdel.8.xml: Add --help option. * NEWS, src/groupdel.c, man/groupdel.8.xml: Add --root option. Open audit and syslog after the potential chroot. * src/groupdel.c: Check atexit failures.
nekral-guest
2011-11-06 18:37:57 +00:00
9195f6085d
* NEWS, src/groupadd.c, man/groupadd.8.xml: Add --root option. Open audit and syslog after the potential chroot. * src/groupmod.c: The index of long options is not used.
nekral-guest
2011-11-06 18:37:51 +00:00
057cbaa4ae
* NEWS, src/groupadd.c, man/groupadd.8.xml: Add --root option. Open audit after the potential chroot. * src/groupadd.c: Check atexit failures. * src/groupadd.c: Return E_SUCCESS instead of exit'ing at the end of main().
nekral-guest
2011-11-06 18:37:45 +00:00
aa2957e62a
* NEWS, src/usermod.c, man/usermod.8.xml: Add --root option. Open audit and syslog after the potential chroot. userdel's usage split in smaller messages.
nekral-guest
2011-11-06 18:37:39 +00:00
50eafd769b
* NEWS, src/userdel.c, man/userdel.8.xml: Add --root option. Open audit and syslog after the potential chroot. userdel's usage split in smaller messages.
nekral-guest
2011-11-06 18:37:32 +00:00
cecae46ccf
* NEWS, src/useradd.c, man/useradd.8.xml: Add --root option. Open audit after the potential chroot.
nekral-guest
2011-11-06 18:37:25 +00:00
0b5574c28a
* lib/prototypes.h, libmisc/Makefile.am, libmisc/root_flag.c, po/POTFILES.in: Add process_root_flag() to process the --root option and chroot so that the chroot config is used and changes are applied to the chroot.
nekral-guest
2011-11-06 18:37:19 +00:00
af075bffc9
- debian/patches/506_relaxed_usernames: Really check if the user/group name starts with a dash. Also forbid names starting with '+' or '~'. Document the naming policy in useradd.8 / groupadd.8.
nekral-guest
2011-10-31 22:54:38 +00:00
c237be820b
* man/ja/Makefile.am, man/fr/Makefile.am, man/ru/Makefile.am, man/sv/Makefile.am, man/pl/Makefile.am, man/zh_CN/Makefile.am, man/it/Makefile.am, man/Makefile.am: Include man_nopam in EXTRA_DIST only when USE_PAM (they are already in man_MANS otherwise).
nekral-guest
2011-10-22 08:59:08 +00:00
eee4152981
* man/su.1.xml: Document that su -c does not providea controlling terminal.
nekral-guest
2011-10-22 08:56:51 +00:00
971f260e94
Only report the requested access mode because the complete mode differs on different architectures.
nekral-guest
2011-10-20 18:17:28 +00:00
9f71e81c91
Usage of useradd was updated.
nekral-guest
2011-10-20 18:15:31 +00:00
7dc1f3b2dd
Usage messages of cppw and grpconv were missing.
nekral-guest
2011-10-20 18:13:50 +00:00
5431d2abe2
cppw error returned in case of bad usage was changed (1->2).
nekral-guest
2011-10-20 18:12:03 +00:00
b512961c12
Continue synchronization with coding style * Use of gettext (even if no messages would be translated in the current infrastructure) * report an additional strerror only if a message was provided * fix issue when cppwexit is called before the copy of file
nekral-guest
2011-10-20 18:09:12 +00:00
cd964eccb5
- debian/patches/402_cppw_selinux: Avoid implicit conversion between integer and boolean. - debian/patches/401_cppw_src.dpatch: Replace progname by Prog. Rename create_backup_file to create_copy. The lock functions do not ser errno. Do not report the error string on cppwexit.
nekral-guest
2011-10-18 21:58:33 +00:00
6c4c7f47a0
* Add the new tests. * Stop executing tests when RUN_TEST.STOP exists * Reset permissions on gcda files after running tests for suid tools (su).
nekral-guest
2011-10-16 16:15:04 +00:00