nekral-guest
6b14a0d08c
* lib/tcbfuncs.h: Re-indent.
...
* lib/tcbfuncs.h: Explicitly indicate functiontakinga void
parameter.
2010-03-18 19:23:00 +00:00
nekral-guest
395914c162
Reverse comparison for consistency.
2010-03-18 18:58:52 +00:00
nekral-guest
8e2010a26c
* src/useradd.c: When exiting because of a failure, warn if an
...
home directory created, but cannot be removed.
2010-03-18 18:57:03 +00:00
nekral-guest
86498400da
* libmisc/chowndir.c: Re-indent.
...
* libmisc/chowndir.c: Avoid assignment in comparisons.
* libmisc/chowndir.c: Added brackets and parenthesis.
2010-03-18 18:52:53 +00:00
nekral-guest
abffa73776
- add options -g / -G to specify alternative group / gshadow files
2010-03-18 12:28:25 +00:00
nekral-guest
0cbbdb32c4
* libmisc/strtoday.c: Add support for numerical dates, assuming
...
they are already specified in number of days since Epoch. Return
-2 in case of errors to support the specification of -1.
* src/usermod.c, src/useradd.c: Adapt to the new error value of
strtoday().
* src/chage.c: Remove isnum(). Adapt to the new error value of
strtoday(). Support for numerical dates is moved to strtoday().
2010-03-18 11:53:49 +00:00
nekral-guest
79fa4f3343
* man/po/fr.po: Harmonize name of parameters.
2010-03-18 10:54:32 +00:00
nekral-guest
ab50cd2bd8
* NEWS: Indicate which tools support TCB.
2010-03-18 10:53:56 +00:00
nekral-guest
27f67dcad0
* src/pwck.c: Unlock the password and shadow files when there is a
...
failure to prepare the update in memory.
2010-03-18 10:52:52 +00:00
nekral-guest
6a1dea6602
* src/pwck.c: Only log to SYSLOG when acting on system files.
2010-03-18 10:35:11 +00:00
nekral-guest
657271eb04
* src/pwck.c: Remove the -s option from the usage when USE_TCB is
...
enabled. The option is still supported, but has no effect, as
documented in the manpage.
2010-03-18 10:25:08 +00:00
nekral-guest
2db82460b1
* src/pwck.c: Document the sections closed by #endif
...
* src/pwck.c, man/pwck.8.xml: No alternative shadow file can be
given when USE_TCB is enabled.
2010-03-18 10:23:51 +00:00
nekral-guest
07c6e99725
* src/pwck.c: Do not use pwd_file and spw_file. Always use the
...
dbname() functions.
2010-03-18 09:46:15 +00:00
nekral-guest
f77e9d0d80
* src/pwck.c: Re-indent.
2010-03-18 09:33:55 +00:00
nekral-guest
a996fac57b
* src/userdel.c, src/usermod.c, src/vipw.c, src/useradd.c,
...
src/pwck.c, src/chage.c, lib/shadowio.c: Explicitly use the
SHADOWTCB_FAILURE return code instead of 0 or implicit conversion
to booleans.
2010-03-18 09:21:27 +00:00
nekral-guest
8228f99c36
2010-03-18 Paweł Hajdan, Jr. <phajdan.jr@gentoo.org>
...
* src/pwck.c: Add support for TCB.
* src/pwck.c: Use spw_dbname() instead of spw_file since TCB
changes from a file to another depending on the user. Also use
pw_dbname() for consistency.
2010-03-18 09:01:04 +00:00
nekral-guest
41b5cc2d20
* src/faillog.c: Re-indent.
2010-03-18 00:07:00 +00:00
nekral-guest
d1f5c949a9
* lib/tcbfuncs.c: Re-indent.
2010-03-18 00:06:33 +00:00
nekral-guest
29025e40f4
* lib/tcbfuncs.c: Added brackets and parenthesis.
2010-03-18 00:06:21 +00:00
nekral-guest
1d6673a166
* lib/tcbfuncs.c: Avoid implicit int to mode_t conversion.
2010-03-18 00:05:57 +00:00
nekral-guest
fba0a83c03
* lib/tcbfuncs.c: move_dir() and shadowtcb_move() need a non NULL
...
stored_tcb_user.
2010-03-18 00:05:35 +00:00
nekral-guest
7195eb991d
* lib/tcbfuncs.c: Removed dead return.
2010-03-18 00:05:11 +00:00
nekral-guest
9f4653b0df
* lib/tcbfuncs.c: Include prototypes.h for the definition of Prog.
2010-03-18 00:04:54 +00:00
nekral-guest
99fbf50fa2
Added splint annotations.
2010-03-18 00:04:33 +00:00
nekral-guest
ee15c8717f
* lib/tcbfuncs.c: Avoid integer to char conversions.
2010-03-18 00:04:05 +00:00
nekral-guest
37b4c8737f
* lib/tcbfuncs.c: Avoid implicit signed to unsigned conversions.
2010-03-18 00:03:48 +00:00
nekral-guest
1d969818fd
* lib/tcbfuncs.c: Ignore fflush() return value.
2010-03-18 00:03:29 +00:00
nekral-guest
4ca259adaa
* lib/tcbfuncs.c: Include shadowio.h, needed for the
...
spw_setdbname's prototype.
2010-03-18 00:03:06 +00:00
nekral-guest
11e132c8eb
Fix typos.
2010-03-18 00:02:45 +00:00
nekral-guest
8402479e16
* lib/tcbfuncs.c: Do not free path before its last use.
2010-03-18 00:02:17 +00:00
nekral-guest
aa35a8e46e
Avoid implicit conversion of pointers .
2010-03-18 00:02:02 +00:00
nekral-guest
51d181ca58
* lib/tcbfuncs.c: Avoid implicit conversion of pointers or
...
integers to booleans.
2010-03-18 00:01:30 +00:00
nekral-guest
1bc0a303dc
* lib/tcbfuncs.c: Only FreeBSD specify that the returned buffer is
...
NULL in case of failure. The return value of asprintf shall be
checked.
2010-03-18 00:01:00 +00:00
nekral-guest
43211abb65
* lib/commonio.c: Ignore the return value of close when a
...
failure is reported.
2010-03-18 00:00:05 +00:00
nekral-guest
8acf9cd11d
* lib/tcbfuncs.h: Added type shadowtcb_status.
...
* lib/tcbfuncs.h, lib/tcbfuncs.c: Return a shadowtcb_status
instead of an int.
* lib/tcbfuncs.c: Do not return in OUT_OF_MEMORY.
2010-03-17 23:59:55 +00:00
nekral-guest
fe71812b1d
* lib/commonio.c: Avoid implicit conversion of pointers to
...
booleans.
* lib/commonio.c: Ignore the return value of close when a
failure is reported.
2010-03-17 23:59:47 +00:00
nekral-guest
a013f8519b
Updated copyright dates.
2010-03-16 19:15:34 +00:00
nekral-guest
c0e7dcd2fd
* man/faillog.8.xml: Document the behavior in display mode of the
...
-a option.
* NEWS, man/faillog.8.xml, src/faillog.c: Extend the -a option to
the non-display mode. This changes the default behavior of the -l,
-m, -r, -t options when -a is not specified (restrict to existing
users).
2010-03-16 19:15:22 +00:00
nekral-guest
5d6c314304
* man/chage.1.xml, man/login.defs.5.xml, man/pwck.8.xml,
...
man/pwconv.8.xml, man/useradd.8.xml, man/userdel.8.xml,
man/usermod.8.xml, man/vipw.8.xml: Document the usage of the
TCB_AUTH_GROUP, TCB_SYMLINKS, and USE_TCB configuration
parameters.
* man/pwconv.8.xml, man/pwck.8.xml: Document the behavior when
USE_TCB is enabled.
2010-03-16 19:15:05 +00:00
nekral-guest
c5fc8dd75d
* po/POTFILES.in, lib/tcbfuncs.c: Add more strings for
...
translation.
* lib/tcbfuncs.c: Indicate the name of the program in error
messages. Avoid perror.
* src/useradd.c: Re-indent.
* src/useradd.c: Add more strings for translation. Indicate the
name of the program in error messages.
* src/userdel.c: Re-indent.
* src/userdel.c: Add more strings for translation. Indicate the
name of the program in error messages.
2010-03-16 19:14:54 +00:00
nekral-guest
ad694905be
* src/usermod.c: user_newname and user_newid cannot be used to
...
test if the username or ID is changed. lflg and uflg should be
used instead.
2010-03-16 19:14:37 +00:00
nekral-guest
6c4e2931ef
* src/userdel.c: Avoid perror. Give more verbose warnings.
2010-03-16 19:13:53 +00:00
nekral-guest
fd39a24b34
Remove generated file.
2010-03-11 22:07:50 +00:00
nekral-guest
ccc65bfde7
* man/Makefile.am: Indicate that man/generate_mans.deps is
...
generated.
2010-03-11 22:04:22 +00:00
nekral-guest
f13f60504a
* lib/commonio.c: Re-indent.
...
* lib/commonio.c: Document the sections closed by #endif
* lib/commonio.c: Added brackets.
* lib/commonio.c: Avoid implicit conversion of integer to
booleans.
2010-03-11 22:04:14 +00:00
nekral-guest
33d3e28a7f
* src/userdel.c: Re-indent.
...
* src/userdel.c: Added brackets.
* src/userdel.c: Avoid implicit conversion of pointers to
booleans.
2010-03-11 22:04:06 +00:00
nekral-guest
69798dde65
* lib/shadowio.c: Re-indent.
...
* lib/shadowio.c: Added brackets and parenthesis.
* lib/shadowio.c: Document the sections closed by #endif
* lib/shadowio.c: Avoid negation of comparisons.
* lib/shadowio.c: Avoid implicit conversion of integer to booleans
and booleans to integers.
2010-03-11 22:03:57 +00:00
nekral-guest
ad6730687f
* src/useradd.c: Re-indent.
...
* src/useradd.c: Added brackets.
* src/useradd.c: Avoid implicit conversion of integers to
booleans.
* src/useradd.c: Harmonize error messages.
2010-03-11 22:03:45 +00:00
nekral-guest
e7d57e1a77
* src/vipw.c: Document the sections closed by #endif
...
* src/vipw.c: Avoid implicit conversion of pointers or integers to
booleans.
* src/vipw.c: Added brackets and parenthesis.
* src/vipw.c: Limit the definition of some variables and macros to
the WITH_TCB scope.
* src/vipw.c: Avoid assignment in comparisons.
* src/vipw.c: Replace PASSWD_FILE (resp. GROUP_FILE and
SGROUP_FILE) by pw_dbname () (resp. gr_dbname () and sgr_dbname ()).
This is more consistent with the shadow file handling and may be
useful to allow edition of another partition's files.
2010-03-11 22:03:37 +00:00
nekral-guest
f9b8a95b92
* src/usermod.c: Re-indent.
...
* src/usermod.c: Avoid implicit conversion of pointers to
booleans.
* src/usermod.c: Added parenthesis.
2010-03-11 22:03:11 +00:00