nekral-guest
f8b8aaf5e4
* src/chgpasswd.c, src/newusers.c: There is no need to test for 0
...
after getopt_long. No options have flag != NULL.
2009-04-28 20:10:18 +00:00
nekral-guest
613dc54ac5
* src/newusers.c: There is no need to test for 0 after
...
getopt_long. No options have flag != NULL.
2009-04-28 20:08:30 +00:00
nekral-guest
a1591f77e8
* libmisc/Makefile.am, lib/prototypes.h,
...
libmisc/non_interactive_pam_conv.c: Added
non_interactive_pam_conv() and non_interactive_password.
2009-04-28 20:07:24 +00:00
nekral-guest
102253834a
* lib/prototypes.h: Replace #if by #ifdef
...
* lib/prototypes.h, libmisc/non_interactive_pam_conv.c: Added
non_interactive_pam_conv() and non_interactive_password.
2009-04-28 20:06:46 +00:00
nekral-guest
dd85562fac
* libmisc/utmp.c, src/userdel.c, src/logoutd.c: Replace #if by #ifdef
2009-04-28 20:03:23 +00:00
nekral-guest
90cc7f0f1d
* src/vipw.c: Harmonize messages.
2009-04-28 19:26:27 +00:00
nekral-guest
bb00d1630a
* src/lastlog.c: Replace atoi() by getulong().
2009-04-28 19:25:15 +00:00
nekral-guest
a5188d2f05
* libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.
2009-04-28 19:19:33 +00:00
nekral-guest
6547cbda6f
* libmisc/rlogin.c: Replace atoi() by getulong().
2009-04-28 19:17:21 +00:00
nekral-guest
79919f184c
* libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2009-04-28 19:14:50 +00:00
nekral-guest
e6b23e1431
* libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
...
are no more needed.
2009-04-28 19:14:05 +00:00
nekral-guest
b0c0a94c66
* libmisc/limits.c: Replace strtol() by getlong().
...
* libmisc/limits.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2009-04-28 19:12:48 +00:00
nekral-guest
76b51939aa
* man/groupmod.8.xml, man/usermod.8.xml, man/groupadd.8.xml,
...
man/useradd.8.xml: Added note to warn about insecurity in using
--password.
* man/groupmod.8.xml: Removed not regarding default if --password
is not used. This was a cut&paste from groupadd.8.xml.
* man/passwd.1.xml: Split some paragraphs.
* man/passwd.1.xml: Recommend other encryption methods than DES.
2009-04-27 20:29:43 +00:00
nekral-guest
91fc51387c
* src/login.c: Move update_utmp() after the PID or session ID
...
changed in order to get more accurate data in UTMP. This also
fixes "exec login" when login in installed setuid.
2009-04-27 20:25:23 +00:00
nekral-guest
009125484e
* src/login.c: Reuse a string and avoid an untranslated message
...
"Login incorrect".
2009-04-27 20:21:48 +00:00
nekral-guest
8112a12521
* src/login.c: Replace HAVE_UTMPX_H by USE_UTMPX.
...
* src/login.c: Avoid name clash between global variables and the
update_utmp() arguments.
2009-04-27 20:20:37 +00:00
nekral-guest
69307a1f2b
* src/groupadd.c, lib/commonio.c, lib/groupio.c: Added missing
...
include of <assert.h>
2009-04-27 20:18:00 +00:00
nekral-guest
e68e07d095
* src/groupadd.c: Added missing include of <assert.h>
2009-04-27 20:16:04 +00:00
nekral-guest
851245107d
* lib/prototypes.h: Replace HAVE_UTMPX_H by USE_UTMPX.
...
* lib/prototypes.h, libmisc/log.c: Added splint annotations.
* libmisc/log.c: Added SYSLOG warning when lseek fails (should not
happen).
2009-04-27 20:15:09 +00:00
nekral-guest
e88d1f5803
* libmisc/mail.c, libmisc/copydir.c: Added missing include of
...
<assert.h>
2009-04-27 20:09:18 +00:00
nekral-guest
988f7334ad
* libmisc/env.c: Added assertions on the snprintf results.
2009-04-27 20:07:59 +00:00
nekral-guest
80fd2969c9
* libmisc/utmp.c: Replace HAVE_UTMPX_H by USE_UTMPX.
...
* libmisc/utmp.c: Removed old comment on HAVE_STRUCT_UTMP_UT_ID
and UTMPX support.
2009-04-27 20:06:25 +00:00
nekral-guest
13b74243a6
* NEWS, configure.in: Added configure option --enable-utmpx,
...
disabled by default. This defines USE_UTMPX, which should be used
instead of HAVE_UTMPX_H.
2009-04-27 20:03:48 +00:00
nekral-guest
c7035dbe9c
* man/po/fr.po: Fix typo.
2009-04-27 19:56:34 +00:00
nekral-guest
8f78169a52
* src/newgrp.c: Close the databases before changing the UDI and
...
GID.
2009-04-26 17:11:38 +00:00
nekral-guest
5766499b85
* libmisc/myname.c: Updated splint annotations.
2009-04-26 17:10:49 +00:00
nekral-guest
4fd672c5b9
* lib/commonio.c: Added splint annotations.
...
* lib/commonio.c: old_context should be local to commonio_close(),
not global.
2009-04-26 16:48:51 +00:00
nekral-guest
fca3b5cdc9
* src/passwd.c: Do not freecon strings duplicated with strdup.
...
Also avoid allocation of memory.
* src/passwd.c: Use SYSLOG instead of syslog.
2009-04-26 16:44:54 +00:00
bubulle
8fa9bedcf7
Updated Czech translation
2009-04-26 12:26:10 +00:00
nekral-guest
44869516d3
Updated splint annotations.
2009-04-25 15:18:49 +00:00
nekral-guest
06d5369fdb
Updated splint annotations.
2009-04-25 14:16:22 +00:00
nekral-guest
71f7f777ec
* lib/commonio.c: Do not assumes eptr is always notnull.
...
Updated splint annotations.
2009-04-25 13:41:52 +00:00
nekral-guest
3a37388d43
Updated splint annotations.
2009-04-25 13:13:50 +00:00
nekral-guest
4c1d96e8e0
* lib/commonio.h, lib/commonio.c: Added splint annotations.
2009-04-25 12:43:27 +00:00
nekral-guest
f9bd143012
* NEWS, po/pt.po: Updated Portuguese translation.
2009-04-25 11:06:35 +00:00
nekral-guest
98e42fa944
* libmisc/copydir.c: Added splint annotations.
...
* libmisc/copydir.c: Added assert to help splint.
* libmisc/copydir.c: Free allocated structures in cas of failure.
* libmisc/copydir.c: Avoid implicit conversion of pointers to
booleans.
* libmisc/copydir.c: Use buffers of size PATH_MAX instead of 1024
for filenames.
* libmisc/copydir.c: Use fchmod and fchown to change the mode of
the opened file.
* libmisc/copydir.c: Indicate the mode to open(), even if we chmod
later.
2009-04-24 23:41:28 +00:00
nekral-guest
ab6c366668
* lib/prototypes.h: Added prototypes of getulong() and get_pid().
...
* lib/prototypes.h: Added splint annotations.
2009-04-24 23:35:57 +00:00
nekral-guest
fc656ad7bd
* lib/commonio.c: Use get_pid() instead of strtol.
...
* lib/commonio.c: Replace an int by a size_t.
2009-04-24 23:35:01 +00:00
nekral-guest
1353c71054
* lib/commonio.h: Added splint annotations.
2009-04-24 23:33:47 +00:00
nekral-guest
566fbac1ef
* lib/sgroupio.c: Free allocated structures on failure.
...
* lib/sgroupio.c: Added splint annotations.
2009-04-24 23:32:52 +00:00
nekral-guest
496002abc9
* lib/Makefile.am, lib/get_pid.c, lib/getulong.c: Added get_pid()
...
and getulong().
2009-04-24 23:28:15 +00:00
nekral-guest
e8dd48ac09
* lib/getlong.c: Do not check for NULL string but empty string.
2009-04-24 23:27:12 +00:00
nekral-guest
08b4253001
* lib/groupio.c: Updated splint annotations.
...
* lib/groupio.c: Added assert to help splint.
2009-04-24 23:26:31 +00:00
nekral-guest
1a87c69854
* src/useradd.c: Check assumptions on snprintf().
...
* src/useradd.c: Replace peror by an strerror and avoid an
intermediate buffer.
* src/useradd.c: Save errno between the failure and the report by
perror/strerror.
* src/useradd.c: Prefer xmalloc to malloc.
2009-04-24 23:23:51 +00:00
nekral-guest
861773bf77
* src/lastlog.c: Remove function calls from within assert().
2009-04-24 23:05:29 +00:00
nekral-guest
01e88bda16
* libmisc/obscure.c: Change some int to size_t.
2009-04-24 23:04:27 +00:00
nekral-guest
5e45ac1688
* libmisc/console.c: Use a less disturbing construct for splint.
2009-04-24 23:03:14 +00:00
nekral-guest
10396f9536
* libmisc/limits.c: Parse the limits, umask, nice, maxlogin, file
...
limit with getlog() / getulong(). This also means, in case of
non-PAM enabled systems, that the umask specified on the GECOS
fields should start with a 0 if specified in octal. (it used to be
force to octal). Do the appropriate cast and range checking.
2009-04-24 22:56:42 +00:00
nekral-guest
0c571784a3
* libmisc/salt.c: In case gettimeofday() fails, get some entropy
...
from the PID.
2009-04-24 22:49:20 +00:00
nekral-guest
7646230de2
* libmisc/setupenv.c: Prefer snprintf to sprintf, even if a small
...
context indicates no issues.
* libmisc/setupenv.c: Avoid implicit conversion of pointers to
booleans.
2009-04-24 22:46:06 +00:00