nekral-guest
45154f1d68
* man/generate_mans.mak: The xml-config files do not depend on the
...
Makefile.
2011-11-06 18:40:11 +00:00
nekral-guest
f0a63185c9
* src/chage.c, src/chgpasswd.c, src/chpasswd.c, src/chsh.c,
...
src/faillog.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c,
src/groupmems.c, src/groupmod.c, src/grpconv.c, src/grpunconv.c,
src/lastlog.c, src/newusers.c, src/passwd.c, src/pwconv.c,
src/pwunconv.c, src/su.c, src/useradd.c, src/userdel.c,
src/usermod.c, src/vipw.c: Align and sort options.
2011-11-06 18:39:59 +00:00
nekral-guest
7d8ca29bea
* NEWS, src/pwck.c, man/pwck.8.xm, src/grpck.c, man/grpck.8.xml:
...
Add --root option.
2011-11-06 18:39:53 +00:00
nekral-guest
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.
2011-11-06 18:39:47 +00:00
nekral-guest
900943192f
* src/pwck.c, man/pwck.8.xml: Add support for long options.
...
* src/pwck.c, man/pwck.8.xml: Add -h/--help option
* src/grpck.c, man/grpck.8.xml: Add support for long options.
* src/grpck.c, man/grpck.8.xml: Add -h/--help option
2011-11-06 18:39:36 +00:00
nekral-guest
b9163f6348
* src/expiry.c, man/expiry.1.xml: Add support for long options.
...
* src/expiry.c, man/expiry.1.xml: Add -h/--help option
2011-11-06 18:39:30 +00:00
nekral-guest
0530588266
* NEWS, src/chfn.c, man/chfn.1.xml: Add --root option.
2011-11-06 18:39:24 +00:00
nekral-guest
b26f73f427
* src/chfn.c, man/chfn.1.xml: Add support for long options.
...
* src/chfn.c, man/chfn.1.xml: Add -u/--help option
2011-11-06 18:39:19 +00:00
nekral-guest
e2068416c9
* NEWS, src/vipw.c, man/vipw.8.xml: Add --root option.
2011-11-06 18:39:09 +00:00
nekral-guest
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.
2011-11-06 18:39:03 +00:00
nekral-guest
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.
2011-11-06 18:38:57 +00:00
nekral-guest
d15f2c6214
* src/login.c: re-indent.
...
* src/login.c: Fix support for sub-logins.
2011-11-06 18:38:51 +00:00
nekral-guest
6eb0500d3d
* src/faillog.c, src/chage.c, src/newusers.c, src/su.c: The getopt
...
index of long options is not used.
2011-11-06 18:38:45 +00:00
nekral-guest
7b8c4952a8
* NEWS, src/gpasswd.c, man/gpasswd.1.xml: Add --root option.
...
* src/gpasswd.c: The getopt index of long options is not used.
2011-11-06 18:38:39 +00:00
nekral-guest
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.
2011-11-06 18:38:32 +00:00
nekral-guest
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.
2011-11-06 18:38:26 +00:00
nekral-guest
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.
2011-11-06 18:38:16 +00:00
nekral-guest
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.
2011-11-06 18:38:10 +00:00
nekral-guest
bf90350fe7
* NEWS, src/pwconv.c, src/pwunconv.c, src/grpconv.c,
...
src/grpunconv.c, man/pwconv.8.xml: Add --root option.
* src/pwconv.c, src/pwunconv.c, src/grpconv.c, src/grpunconv.c:
Add --help option.
* src/pwconv.c, src/pwunconv.c, src/grpconv.c, src/grpunconv.c:
Add process_flags() and usage().
2011-11-06 18:38:04 +00:00
nekral-guest
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.
2011-11-06 18:37:57 +00:00
nekral-guest
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.
2011-11-06 18:37:51 +00:00
nekral-guest
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().
2011-11-06 18:37:45 +00:00
nekral-guest
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.
2011-11-06 18:37:39 +00:00
nekral-guest
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.
2011-11-06 18:37:32 +00:00
nekral-guest
cecae46ccf
* NEWS, src/useradd.c, man/useradd.8.xml: Add --root option. Open
...
audit after the potential chroot.
2011-11-06 18:37:25 +00:00
nekral-guest
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.
2011-11-06 18:37:19 +00:00
nekral-guest
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).
2011-10-22 08:59:08 +00:00
nekral-guest
eee4152981
* man/su.1.xml: Document that su -c does not providea controlling
...
terminal.
2011-10-22 08:56:51 +00:00
nekral-guest
2afa955401
* src/sulogin.c (main): env is only used when USE_PAM is not set.
2011-10-18 20:28:01 +00:00
nekral-guest
704f28df98
* lib/prototypes.h, libmisc/cleanup.c, lib/spawn.c, src/chage.c:
...
Add splint annotations.
2011-10-18 20:23:33 +00:00
nekral-guest
edbdb4bf03
* lib/nscd.c: Remove unused variable.
2011-10-18 20:16:00 +00:00
nekral-guest
d3195c6b5f
* src/newusers.c: Fix typo.
...
* src/useradd.c: Likewise.
2011-10-18 20:13:37 +00:00
nekral-guest
8fcb361fb8
* man/login.defs.d/LOGIN_STRING.xml: Fix typo.
2011-10-15 16:01:07 +00:00
nekral-guest
f870cc7eab
Miscellaneous:
...
* lib/prototypes, libmisc/basename.c (Basename): Input is a
constant string.
* lib/prototypes.h, lib/spawn.h, lib/spawn.c, src/userdel.c,
lib/nscd.c, lib/Makefile.am: Delete spawn.h. Move from spawn.h to
prototypes.h.
* src/userdel.c: Remove unused variables.
* lib/nscd.c: Remove unused header files.
* lib/nscd.c: Add the program name to error messages.
* lib/nscd.c: Indicate when nscd does not terminate normally (signal).
* lib/spawn.c: Updated header.
* lib/spawn.c: Flush stdout and stderr to avoid inheriting from
ongoing buffers.
* lib/spawn.c: Avoid implicit conversion of pointer to boolean.
* lib/spawn.c: Replace perror by a complete message.
* lib/spawn.c: Continue to wait for the child if another child
terminates.
* lib/prototypes.h: The name field from cleanup_info_mod is a
constant string. (username).
2011-09-18 21:02:43 +00:00
nekral-guest
05b55446da
* libmisc/cleanup.c: Spawn children should no trigger cleanup
...
actions. Make sure only the parent (initial caller) perform the
cleanup actions.
2011-09-18 20:43:28 +00:00
nekral-guest
f1db2383fc
* libmisc/salt.c (SHA_salt_rounds): It is statically ensured that
...
the format fits in rounds_prefix.
* libmisc/loginprompt.c: Likewise.
2011-09-18 20:41:38 +00:00
nekral-guest
cd10be6c91
* libmisc/salt.c (SHA_salt_rounds): It is statically ensured that
...
the format fits in rounds_prefix.
2011-09-18 20:40:50 +00:00
nekral-guest
2b5ba27ff8
* src/grpconv.c: Fail if not called correctly.
...
* src/grpconv.c: At the end of main, the passwd and shadow files
are locked. No need to check before unlocking. No need to set the
lock as false neither since there cannot be anymore failures.
2011-09-18 20:26:27 +00:00
nekral-guest
fa96d1bb78
* src/chage.c: EPOCH is not needed, it's converted to -1 by
...
strtoday(). But we need to support "-1" specifically.
* src/chage.c: Fix usage: LOGIN is mandatory.
* src/chage.c: Display disabled expiry or last change as "-1"
instead of 1969-12-31. 1969-12-31 is still supported as input from
the user.
* src/chage.c: Exit cleanly with fail_exit() (lock files were not
removed).
2011-09-18 20:24:36 +00:00
nekral-guest
23afb3fd07
* src/useradd.c: Remove def_file. It was always set to
...
USER_DEFAULTS_FILE.
* src/useradd.c: Fix cut&paste issue causing bad warning when
the useradd.default file contains an invalid INACTIVE= value.
* src/useradd.c: Added missing end of line for rename errors.
* src/useradd.c: Added -D synopsis to the usage message.
* src/useradd.c: Do not scale_age(-1), just use -1.
* src/useradd.c: Added FIXME to be fixed later.
* src/useradd.c: Allow -e -1 when there is no shadow file.
* src/useradd.c: Fail, but do not print the usage message when the
-e argument is not valid.
* src/useradd.c: No need to check for oflg since uflg is
already checked.
2011-09-18 18:00:06 +00:00
nekral-guest
6f05b866bc
* src/su.c: Too much const were added on 2011-08-15. pw in
...
save_caller_context() is allocated and freed.
* src/su.c: Added missing #endif indication
* src/su.c save_caller_context(): password only needed if
SU_ACCESS and !USE_PAM.
2011-09-18 17:47:03 +00:00
nekral-guest
603d949ed5
* src/usermod.c: date_to_str() is always called with negativ set
...
to "never", remove this argument.
* src/usermod.c: Added missing cast for gr_free argument.
2011-09-18 17:34:21 +00:00
nekral-guest
4ce849a5ed
* src/pwconv.c: Fail if not called correctly.
...
* src/pwconv.c: At the end of main, the passwd and shadow files
are locked. No need to check before unlocking.
2011-09-18 17:32:04 +00:00
nekral-guest
7b0116c5b4
* src/newusers.c: Initially set the passwd's password to '*'
...
instead of 'x'. Only when it is confirmed that a shadow entry is
(will be) added, set the passwd's password to 'x'.
* src/newusers.c: An invalid line is an error. A failure needs to
be reported.
2011-09-18 17:29:52 +00:00
nekral-guest
a52a8d8a5d
* src/gpasswd.c: Remove log_gpasswd_success_gshadow(). Writing in
...
gshadowis the last sub-task.
2011-09-18 17:27:18 +00:00
nekral-guest
75936bf9f7
* src/chsh.c: No needto remove lines tarting with '#' from
...
/etc/shells. This is already done by getusershell() and these
shell would fail the access(X_OK) test.
2011-09-18 17:24:15 +00:00
nekral-guest
0d00d3eecf
* man/generate_mans.mak: Fix the generation of translated man
...
pages. xml2po removed the comment from empty headers and the
config was no more inserted.
2011-09-18 17:02:10 +00:00
nekral-guest
93ee4927bc
* man/login.defs.d/QUOTAS_ENAB.xml: Document the dependency
...
between /etc/limits and QUOTAS_ENAB.
2011-09-18 17:00:28 +00:00
nekral-guest
5570ec21b4
* man/chage.1.xml: The LOGIN argument is not optional.
2011-09-18 16:59:16 +00:00
nekral-guest
5530a47d76
* po/POTFILES.in: Added lib/spawn.c.
2011-09-18 16:58:12 +00:00