4e65be1211
use chdir() before calling chroot()
Michael Scherer
2013-07-29 11:05:16 +02:00
9be164101d
Replace "--home" by "--home-dir" in useradd(8) manpage (and translations)
bubulle
2013-07-29 10:58:50 +02:00
48b2c4bff4
Syntax fix in Japanese manpage
Ville Skyttä
2013-07-29 10:18:41 +02:00
7a16f4582d
fix uninitialised memory in merge_group_entries causes segfault in useradd by changing a call to malloc to a call to calloc
Brad Hubbard
2013-07-29 10:13:12 +02:00
b10cba0e0a
add newline char when two lines are concatenated
Brad Hubbard
2013-07-29 10:05:52 +02:00
04b950b824
fix typographic errors and use a better format
Guido Trentalancia
2013-07-28 19:04:50 +02:00
4145b98314
German manpages translation update
Simon Brandmair
2013-07-28 18:57:18 +02:00
52a38d5509
crypt() in glibc/eglibc 2.17 now fails if passed a salt that violates specs. On Linux, crypt() also fails with DES/MD5 salts in FIPS140 mode. Rather than exit() on NULL returns we send them back to the caller for appropriate handling.
mancha
2013-07-28 18:41:11 +02:00
a6769c050b
FIx date in changelog
bubulle
2013-07-28 18:39:10 +02:00
d172cccd07
Kill the child process group, rather than just the immediate child; this is needed now that su no longer starts a controlling terminal when not running an interactive shell (closes: Debian#713979)
Colin Watson
2013-07-28 14:38:12 +02:00
945eb8f50b
if using the static char* for pw_dir, strdup it so pw_free() can be used. (Closes: Debian#691459)
bubulle
2013-07-28 14:16:09 +02:00
c11132a3a1
Prepare for next point release 4.2
bubulle
2013-07-28 12:27:15 +02:00
9151e673e4
* NEWS: Set release date.
nekral-guest
2012-05-25 11:51:53 +00:00
042d6c48b3
* man/*.xml: Add author based on copyright statement. * man/<ll>/*.[1358], man/<ll>/man[1358]/*.[1358], man/<ll>/Makefile.am: Sort manpages per section as the generated manpages.
nekral-guest
2012-05-25 11:45:21 +00:00
faaa8daffb
* man/Makefile.am, man/generate_mans.mak: Update clean targets, due to the generation in separate sub folders.
nekral-guest
2012-05-20 21:01:24 +00:00
e108f473ec
* man/su.1.xml: Document author to avoid warnings during generation. This needs to be rolled out to other manpages. * man/generate_mans.mak: Do not add a AUTHOR section in the man pages.
nekral-guest
2012-05-20 17:40:23 +00:00
f100b5ea7e
* src/su.c: non PAM enabled versions: do not fail if su is called without a controlling terminal. Ignore ENXIO errors when opening /dev/tty.
nekral-guest
2012-05-20 16:15:14 +00:00
8690c74d6a
* src/useradd.c: Cleanup, return code 13 no more used. * man/useradd.8.xml: Document return code 14, and remove return code 13.
nekral-guest
2012-05-20 12:26:54 +00:00
788374bd8c
* NEWS, man/generate_mans.mak: Generate manpages in man1, man3, man5, man8 subdirectories. This fix the generation of .so links which did not point to a path relative to the top-level manual hierarchy. * man/generate_mans.mak: Update man paths accordingly. * man/Makefile.am: Likewise. * man/da/Makefile.am: Likewise. * man/de/Makefile.am: Likewise. * man/fr/Makefile.am: Likewise. * man/it/Makefile.am: Likewise. * man/pl/Makefile.am: Likewise. * man/ru/Makefile.am: Likewise. * man/sv/Makefile.am: Likewise. * man/zh_CN/Makefile.am: Likewise.
nekral-guest
2012-05-20 10:18:33 +00:00
d755279fad
* configure.in: Prepare for next point release 4.1.5.1.
nekral-guest
2012-05-20 10:07:55 +00:00
fb7906760e
* configure.in: Remove deprecated AM_C_PROTOTYPES (no more supported in automake 1.12).
nekral-guest
2012-05-19 08:27:42 +00:00
1a7960421e
* src/useradd.c: Keep the default file as much as possible to avoid issue in case of crash. Use link instead of rename.
nekral-guest
2012-05-18 20:28:16 +00:00
56845ad1c1
* lib/commonio.c: Fix labeling of /etc/{passwd,shadow,group,gshadow}. It will basically label them with same context as /etc/{passwd+,shadow+,group+,gshadow+}
nekral-guest
2012-05-18 19:44:53 +00:00
1e0450dfb1
* src/pwunconv.c: Do not check spw_close() return value (file is opened readonly). * src/grpunconv.c: Do not check sgr_close() return value (file is opened readonly).
nekral-guest
2012-05-18 19:32:32 +00:00
17deaa39f5
* NEWS, src/userdel.c: Fix segfault when userdel removes the user's group.
nekral-guest
2012-05-18 18:56:24 +00:00
f243d4077d
* NEWS, src/login.c: Log in utmp / utmpx / wtmp also when PAM is enabled. This is not done by pam_lastlog. This was broken on 2011-07-23. * NEWS, libmisc/utmp.c: Do not log in wtmp when PAM is enabled. This is done by pam_lastlog.
nekral-guest
2012-05-18 17:57:52 +00:00
f741583f1a
French translation of manpages completed
bubulle
2012-05-17 09:17:53 +00:00
1586a91909
Add Debian bug closure to avoid forgetting in debian/changelog when uploading a new upstream in Debian
bubulle
2012-05-17 09:14:42 +00:00
de8a22a2f4
German translation of manpages updated
bubulle
2012-05-17 09:13:09 +00:00
19d5ec6921
Complete translation of logoutd(8) in Polish. Patch by Robert Luberda
bubulle
2012-04-15 10:54:03 +00:00
9f34a68dba
* NEWS: New placeholder for the next release (4.1.5.1 expected)
nekral-guest
2012-02-13 20:33:28 +00:00
0c1cbaede8
2012-02-13 Mike Frysinger <vapier@gentoo.org> * src/passwd.c: (non PAM flavour) Report permission denied when access to /etc/shadow fails with EACCES.
nekral-guest
2012-02-13 20:32:00 +00:00
e363962dd2
2012-02-13 Mike Frysinger <vapier@gentoo.org> * lib/nscd.c: Add missing newline to error message. * lib/nscd.c: If nscd is installed but not in use, then running nscd -i will exit(1). We shouldn't warn in this case since this is not abnormal behavior.
nekral-guest
2012-02-13 20:09:59 +00:00
b2b259a985
German translation update
bubulle
2012-01-19 19:37:36 +00:00
1640d73997
2012-01-18 Bjørn Steensrud <bjornst@skogkatt.homelinux.org> * po/nb.po: Updated to 557t. Thanks also to Hans Fredrik Nordhaug.
nekral-guest
2012-01-18 21:08:28 +00:00
1b4d4b6708
2012-01-16 NAKANO Takeo <nakano@webmasters.gr.jp> * po/ja.po: Updated to 557t 2012-01-16 Simon Brandmair <sbrandmair@gmx.net> * man/po/de.po: Updated to 1173t.
nekral-guest
2012-01-18 21:01:50 +00:00
22591a77b2
New entry for vipw.
nekral-guest
2012-01-15 21:26:56 +00:00
1161388b2b
Indicate the CVE number.
nekral-guest
2012-01-15 21:22:05 +00:00
4fb8cf2f6b
Document last translation updates.
nekral-guest
2012-01-15 21:21:01 +00:00
db0d48471e
Simplified Chinese translation update
bubulle
2012-01-14 13:28:36 +00:00
2c24c012bd
* lib/prototypes.h, lib/Makefile.am, po/POTFILES.in, libmisc/copydir.c, lib/selinux.c: Move set_selinux_file_context() and reset_selinux_file_context() from libmisc/copydir.c to lib/selinux.c. * lib/commonio.c: Use set_selinux_file_context() and reset_selinux_file_context() instead of using the existing database SELinux context to set the context for the newly created files.
nekral-guest
2011-12-09 22:13:02 +00:00
cc8be680ca
* src/vipw.c: Do not use a hardcoded program name in the usage message.
nekral-guest
2011-12-09 21:35:57 +00:00
360f12cd44
* src/usermod.c, man/usermod.8.xml: usermod -Z "" removes the SELinux user mapping for the modified user. * src/useradd.c: Zflg is #defined as user_selinux non empty.
nekral-guest
2011-11-21 22:02:15 +00:00
e570b8ded4
* libmisc/copydir.c: Ignore errors to copy ACLs if the operation is not supported.
nekral-guest
2011-11-21 19:34:22 +00:00
bd4a6c9966
* src/passwd.c: Add missing cast. * lib/commonio.c: Avoid multiple statements per line. * lib/commonio.c: Ignore fclose return value when the file was open read only or was not changed, or if an error is already reported.
nekral-guest
2011-11-19 22:00:00 +00:00
4049c0e69e
* src/chage.c: Cast 3rd date_to_str parameter to a time_t
nekral-guest
2011-11-19 21:56:10 +00:00
05823ad867
* lib/selinux.c: vasprintf requires _GNU_SOURCE to be defined before including stdio.h.
nekral-guest
2011-11-19 21:55:00 +00:00
82d767d121
* libmisc/root_flag.c, src/gpasswd.c, src/chsh.c: Add splint annotations. * src/pwconv.c, src/pwunconv.c, src/grpconv.c, src/grpunconv.c: Ignore return value of spw_rewind, pw_rewind, sgr_rewind, and gr_rewind. * lib/commonio.h: Both head and tail cannot be owned. Set tail as dependent. * src/expiry.c: Ignore return value of expire (). * src/expiry.c: The catch_signals function does not use its sig parameter. * src/userdel.c: Last audit_logger parameter is a shadow_audit_result, use SHADOW_AUDIT_FAILURE instead of 0.
nekral-guest
2011-11-19 21:51:52 +00:00
6e2c6ffdf7
* src/faillog.c: The fail_max field is a short, use a short also for the max argument of setmax / setmax_one. * src/faillog.c: Fail with an error message when faillog fails to write to the faillog database.
nekral-guest
2011-11-19 21:44:34 +00:00
5762d08f4f
* man/gpasswd.1.xml: Document the difference between the -r and -R options.
nekral-guest
2011-11-19 14:34:59 +00:00
61bb0aa943
* man/useradd.8.xml, man/groupadd.8.xml, man/usermod.8.xml, man/groupmod.8.xml: Avoid hardcoded values, and reference instead the configuration options (e.g. UID_MIN) * man/groupmod.8.xml, man/usermod.8.xml: Add missing reference to login.defs * man/login.defs.d/UID_MAX.xml, man/login.defs.d/SYS_UID_MAX.xml, man/login.defs.d/GID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml: Document the default values.
nekral-guest
2011-11-19 14:33:53 +00:00
2f1e13ff7a
Ignore the generated POTFILES file.
nekral-guest
2011-11-19 14:29:20 +00:00
653d22c3e9
* src/gpasswd.c: Change of group password enforces gshadow password. Set /etc/group password to "x".
nekral-guest
2011-11-19 14:27:48 +00:00