nekral-guest
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.
2009-09-07 19:50:00 +00:00
nekral-guest
2a58111fc1
Fix typo in the version numbers.
2009-09-07 19:25:07 +00:00
nekral-guest
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)
2009-09-07 19:08:10 +00:00
nekral-guest
1a86dc913f
* lib/sgroupio.h: Harmonize splint annotations of sgr_locate()
...
prototype with the one used in its definition.
2009-09-07 18:59:03 +00:00
nekral-guest
1e6b107d99
2009-09-07 Steve Grubb <sgrubb@redhat.com>
...
* libmisc/copydir.c, lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
Fix some memory leaks.
2009-09-07 18:53:47 +00:00
nekral-guest
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().
2009-09-05 22:31:29 +00:00
nekral-guest
ff60398b1c
Added new TODO item.
2009-09-05 20:26:09 +00:00
nekral-guest
32e2ef34a3
* src/gpasswd.c, src/groupmems.c: Split the groupmems and gpasswd
...
Usage string. It was changed anyway to add the --help option.
2009-09-05 20:25:40 +00:00
nekral-guest
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.
2009-09-04 23:02:33 +00:00
nekral-guest
3d10e75117
* src/useradd.c: Fixed wrong format string.
...
* lib/gshadow.c: Removed declaration of unused variable.
2009-09-04 22:09:58 +00:00
nekral-guest
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.
2009-08-30 19:46:54 +00:00
nekral-guest
9031103c24
* man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They
...
break the groff formatting.
2009-08-21 15:02:32 +00:00
nekral-guest
3db03960be
* po/fr.po: Fix typos, based on reviews by the Debian French
...
translation team.
2009-08-14 21:12:15 +00:00
bubulle
afa1c65d32
Complete French translation
2009-07-27 22:35:13 +00:00
bubulle
41aa36a0a3
French translation update
2009-07-25 17:23:19 +00:00
nekral-guest
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.
2009-07-24 01:13:21 +00:00
nekral-guest
36ef489fe1
* configure.in: Fixed definition of the SHELL configuration.
2009-07-23 21:02:03 +00:00
nekral-guest
65741533ca
* etc/login.defs: SYS_GID_MIN /SYS_UID_MIN changed from 100 to
...
101. GID 100 seems to be used statically.
2009-07-23 20:41:35 +00:00
nekral-guest
93ce5304fe
Added a TODO item for /etc/defautl/useradd
2009-07-23 19:40:53 +00:00
nekral-guest
355e31d19d
Added one todo item.
2009-07-23 19:40:00 +00:00
nekral-guest
24cfe44b07
* libmisc/shell.c, src/su.c: Execute the scripts with "sh -"
...
rather than "sh".
2009-07-22 13:35:57 +00:00
nekral-guest
db38a728d1
* configure.in, libmisc/shell.c, libmisc/setupenv.c, src/newgrp.c,
...
src/su.c: Let the system shell be configurable.
2009-07-22 13:30:06 +00:00
nekral-guest
4ad827768e
* NEWS, src/su.c, libmisc/shell.c: Added support for shells being a
...
shell script without a shebang.
2009-07-20 14:00:50 +00:00
bubulle
b04c2d7e99
And fix a typo in French..:)
2009-07-19 11:54:44 +00:00
bubulle
cb550dae17
Fix obvious mistake in Dutch translation
2009-07-19 11:53:49 +00:00
nekral-guest
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.
2009-07-18 00:35:35 +00:00
nekral-guest
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.
2009-07-17 22:54:23 +00:00
nekral-guest
f7257fafe1
* po/eu.po: Updated Basque translation.
2009-07-05 20:13:41 +00:00
nekral-guest
616ed68b48
* man/fi/Makefile.am: Stop distributing the Finnish translation of
...
passwd.1 (outdated).
2009-06-22 19:23:42 +00:00
nekral-guest
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.
2009-06-20 13:02:33 +00:00
nekral-guest
885692e3c5
* man/po/fr.po: Fixed typo (forunis)
2009-06-14 12:47:41 +00:00
nekral-guest
bbb2a1522f
* lib/fputsx.c: Compare the result of fgets() with the provided
...
buffer instead of NULL.
2009-06-12 20:20:45 +00:00
nekral-guest
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.
2009-06-12 17:50:24 +00:00
nekral-guest
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.
2009-06-11 21:33:00 +00:00
nekral-guest
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.
2009-06-11 20:01:21 +00:00
nekral-guest
80907f451b
* man/passwd.5.xml, man/shadow.5.xml: Document the passwd- and
...
shadow- files.
2009-06-06 11:21:15 +00:00
nekral-guest
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.
2009-06-05 22:19:38 +00:00
nekral-guest
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.
2009-06-05 22:16:56 +00:00
nekral-guest
35c0b2cb47
* man/passwd.1.xml: The short option for --mindays is -n, not -m.
2009-06-05 21:14:12 +00:00
nekral-guest
d07e4b8e32
Updated previous documentation of the environment variables handling.
2009-06-04 20:47:50 +00:00
nekral-guest
0762426c4d
* .gitignore, man/.gitignore, src/.gitignore: Added .gitignore
...
files.
2009-06-04 20:08:11 +00:00
nekral-guest
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.
2009-06-04 17:28:09 +00:00
nekral-guest
ae69e6da5a
* man/login.1.xml: Document that the login.defs file is used.
2009-06-04 17:25:18 +00:00
nekral-guest
647c22c85a
* man/login.defs.d/ENVIRON_FILE.xml: Document the format for
...
comments.
2009-06-04 17:23:08 +00:00
nekral-guest
1edc2153bb
* man/gpasswd.1.xml: Ease the translation of the refpurpose.
...
* man/gpasswd.1.xml: Fix typo, shorten sentences.
2009-05-26 19:23:40 +00:00
nekral-guest
bf56a7097e
* man/pwck.8.xml, man/grpck.8.xml: Move the SEE ALSO section at
...
the end.
2009-05-26 17:00:58 +00:00
nekral-guest
a6418fb0df
* src/vipw.c: Make sure opened files are closed.
2009-05-25 19:51:23 +00:00
nekral-guest
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.
2009-05-25 19:41:43 +00:00
nekral-guest
a1352582df
* man/passwd.1.xml: Avoid a spurious comma.
2009-05-25 19:29:19 +00:00
nekral-guest
2e239f44cf
* NEWS: New placeholder for the next release.
2009-05-25 19:26:31 +00:00