]> granicus.if.org Git - shadow/log
shadow
11 years agoFix su/1 documentation of -
Nicolas François [Sun, 4 Aug 2013 21:45:31 +0000 (23:45 +0200)]
Fix su/1 documentation of -

* man/su.1.xml: With getopt, '-' does not need to be the last
option, but it is recommended for portability.
Closes https://bugs.launchpad.net/bugs/1100775

11 years agoAdd NEWS entries.
Nicolas François [Sun, 4 Aug 2013 21:29:06 +0000 (23:29 +0200)]
Add NEWS entries.

11 years agoFix typo in comment.
Nicolas François [Sun, 4 Aug 2013 13:56:32 +0000 (15:56 +0200)]
Fix typo in comment.

11 years agoFix translations (--home became --home-dir)
Nicolas François [Sun, 4 Aug 2013 13:50:57 +0000 (15:50 +0200)]
Fix translations (--home became --home-dir)

* man/po/da.po: Fix translation (--home became --home-dir).
* man/po/de.po: Likewise.
* man/po/fr.po: Likewise.
* man/po/pl.po: Likewise.
* man/po/ru.po: Likewise.
* man/po/sv.po: Likewise.

11 years agoDo not allocate more than necessary
Nicolas François [Sun, 4 Aug 2013 13:36:13 +0000 (15:36 +0200)]
Do not allocate more than necessary

Review b10cba0e0af5b1e3e8cda0201d5563f085aab2a4 and 7a16f4582da2b854a0adcba445bf6f8d750b2919:
* lib/groupio.c (merge_group_entries): Do not allocate more than
necessary (sizeof char* instead of char).
Thanks for Tomáš Mráz (alioth#313962)
* lib/groupio.c (merge_group_entries): Document that new_members
is correctly NULL terminated. (alioth:#313940)

Align previous ChangeLog entries.

11 years agoReview 52a38d55097bf0532b0eaa97552e001203808e88
Nicolas François [Sat, 3 Aug 2013 21:07:06 +0000 (23:07 +0200)]
Review 52a38d55097bf0532b0eaa97552e001203808e88

* Changelog: Update documentation of 2013-07-28  mancha entry.
* lib/prototypes.h, lib/encrypt.c: Update splint marker,
pw_encrypt can return NULL.
* lib/encrypt.c: Fix outdated statement on GNU crypt.
* src/chgpasswd.c: Improve diagnostic to user when pw_encrypt
fails and use fail_exit() instead of exit().
* src/chpasswd.c: Likewise.
* src/newusers.c: Likewise.
* src/passwd.c: Likewise when new password is encrypted.
* src/newgrp.c: Improve diagnostic to user and syslog when
pw_encrypt fails.  Do not apply 1s penalty as this is not an
invalid password issue.
* src/passwd.c: Likewise when password is checked.

11 years agoFix memory leak.
Nicolas François [Fri, 2 Aug 2013 18:28:24 +0000 (20:28 +0200)]
Fix memory leak.

* libmisc/setupenv.c: Free pw_dir and pw_shell before reallocating
them.

11 years agoFix segfaults
Nicolas François [Fri, 2 Aug 2013 18:24:20 +0000 (20:24 +0200)]
Fix segfaults

* libmisc/setupenv.c: xstrdup the static char* temp_pw_dir /
temp_pw_shell. That way we can continue to use pw_free() without
segving. Thanks to Serge Hallyn for the patch.

11 years agoCompleted Russian translation
Yuri Kozlov [Thu, 1 Aug 2013 19:24:46 +0000 (21:24 +0200)]
Completed Russian translation

11 years agouse chdir() before calling chroot()
Michael Scherer [Mon, 29 Jul 2013 09:05:16 +0000 (11:05 +0200)]
use chdir() before calling chroot()

11 years agoReplace "--home" by "--home-dir" in useradd(8) manpage (and
bubulle [Mon, 29 Jul 2013 08:58:50 +0000 (10:58 +0200)]
Replace "--home" by "--home-dir" in useradd(8) manpage (and
translations)

11 years agoSyntax fix in Japanese manpage
Ville Skyttä [Mon, 29 Jul 2013 08:18:41 +0000 (10:18 +0200)]
Syntax fix in Japanese manpage

11 years agofix uninitialised memory in merge_group_entries causes segfault in useradd by
Brad Hubbard [Mon, 29 Jul 2013 08:13:12 +0000 (10:13 +0200)]
fix uninitialised memory in merge_group_entries causes segfault in useradd by
changing a call to malloc to a call to calloc

11 years agoadd newline char when two lines are concatenated
Brad Hubbard [Mon, 29 Jul 2013 08:05:52 +0000 (10:05 +0200)]
add newline char when two lines are concatenated

11 years agoMention Alioth bug fixes
bubulle [Mon, 29 Jul 2013 08:01:23 +0000 (10:01 +0200)]
Mention Alioth bug fixes

11 years agofix typographic errors and use a better format
Guido Trentalancia [Sun, 28 Jul 2013 17:04:50 +0000 (19:04 +0200)]
fix typographic errors and use a better format

11 years agoGerman manpages translation update
Simon Brandmair [Sun, 28 Jul 2013 16:57:18 +0000 (18:57 +0200)]
German manpages translation update

11 years agocrypt() in glibc/eglibc 2.17 now fails if passed
mancha [Sun, 28 Jul 2013 16:41:11 +0000 (18:41 +0200)]
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.

11 years agoFIx date in changelog
bubulle [Sun, 28 Jul 2013 16:39:10 +0000 (18:39 +0200)]
FIx date in changelog

11 years agoKill the child process group, rather than just the immediate child;
Colin Watson [Sun, 28 Jul 2013 12:38:12 +0000 (14:38 +0200)]
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)

11 years agoif using the static char* for pw_dir, strdup it so pw_free() can be used. (Closes...
bubulle [Sun, 28 Jul 2013 12:16:09 +0000 (14:16 +0200)]
if using the static char* for pw_dir, strdup it so pw_free() can be used. (Closes: Debian#691459)

11 years agoPrepare for next point release 4.2
bubulle [Sun, 28 Jul 2013 10:27:15 +0000 (12:27 +0200)]
Prepare for next point release 4.2

12 years ago2012-04-15 Robert Luberda <robert@debian.org>
nekral-guest [Fri, 25 May 2012 14:05:30 +0000 (14:05 +0000)]
2012-04-15  Robert Luberda  <robert@debian.org>

* man/po/pl.po: Complete translation of logoutd(8) in Polish.

12 years ago * man/po/shadow-man-pages.pot: Regenerated.
nekral-guest [Fri, 25 May 2012 13:40:31 +0000 (13:40 +0000)]
* man/po/shadow-man-pages.pot: Regenerated.
* man/po/*.po: Updated PO files.

12 years ago * NEWS: Set release date.
nekral-guest [Fri, 25 May 2012 11:51:53 +0000 (11:51 +0000)]
* NEWS: Set release date.

12 years ago * man/*.xml: Add author based on copyright statement.
nekral-guest [Fri, 25 May 2012 11:45:21 +0000 (11:45 +0000)]
* 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.

12 years ago * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
nekral-guest [Sun, 20 May 2012 21:03:11 +0000 (21:03 +0000)]
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
* po/*.po, man/po/*.po: Updated PO files.

12 years ago * man/Makefile.am, man/generate_mans.mak: Update clean targets,
nekral-guest [Sun, 20 May 2012 21:01:24 +0000 (21:01 +0000)]
* man/Makefile.am, man/generate_mans.mak: Update clean targets,
due to the generation in separate sub folders.

12 years ago * man/su.1.xml: Document author to avoid warnings during
nekral-guest [Sun, 20 May 2012 17:40:23 +0000 (17:40 +0000)]
* 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.

12 years ago * src/su.c: non PAM enabled versions: do not fail if su is called
nekral-guest [Sun, 20 May 2012 16:15:14 +0000 (16:15 +0000)]
* 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.

12 years ago * src/useradd.c: Cleanup, return code 13 no more used.
nekral-guest [Sun, 20 May 2012 12:26:54 +0000 (12:26 +0000)]
* src/useradd.c: Cleanup, return code 13 no more used.
* man/useradd.8.xml: Document return code 14, and remove return
code 13.

12 years ago * NEWS, man/generate_mans.mak: Generate manpages in man1, man3,
nekral-guest [Sun, 20 May 2012 10:18:33 +0000 (10:18 +0000)]
* 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.

12 years ago * configure.in: Prepare for next point release 4.1.5.1.
nekral-guest [Sun, 20 May 2012 10:07:55 +0000 (10:07 +0000)]
* configure.in: Prepare for next point release 4.1.5.1.

12 years ago * configure.in: Remove deprecated AM_C_PROTOTYPES (no more
nekral-guest [Sat, 19 May 2012 08:27:42 +0000 (08:27 +0000)]
* configure.in: Remove deprecated AM_C_PROTOTYPES (no more
supported in automake 1.12).

12 years ago * src/useradd.c: Keep the default file as much as possible to
nekral-guest [Fri, 18 May 2012 20:28:16 +0000 (20:28 +0000)]
* src/useradd.c: Keep the default file as much as possible to
avoid issue in case of crash. Use link instead of rename.

12 years ago * lib/commonio.c: Fix labeling of /etc/{passwd,shadow,group,gshadow}.
nekral-guest [Fri, 18 May 2012 19:44:53 +0000 (19:44 +0000)]
* 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+}

12 years ago * src/pwunconv.c: Do not check spw_close() return value (file is
nekral-guest [Fri, 18 May 2012 19:32:32 +0000 (19:32 +0000)]
* 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).

12 years agoCleanup.
nekral-guest [Fri, 18 May 2012 19:27:02 +0000 (19:27 +0000)]
Cleanup.

12 years ago * NEWS, src/userdel.c: Fix segfault when userdel removes the
nekral-guest [Fri, 18 May 2012 18:56:24 +0000 (18:56 +0000)]
* NEWS, src/userdel.c: Fix segfault when userdel removes the
user's group.

12 years ago * NEWS, src/login.c: Log in utmp / utmpx / wtmp also when PAM is
nekral-guest [Fri, 18 May 2012 17:57:52 +0000 (17:57 +0000)]
* 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.

12 years agoFrench translation of manpages completed
bubulle [Thu, 17 May 2012 09:17:53 +0000 (09:17 +0000)]
French translation of manpages completed

12 years agoAdd Debian bug closure to avoid forgetting in debian/changelog when uploading a new...
bubulle [Thu, 17 May 2012 09:14:42 +0000 (09:14 +0000)]
Add Debian bug closure to avoid forgetting in debian/changelog when uploading a new upstream in Debian

12 years agoGerman translation of manpages updated
bubulle [Thu, 17 May 2012 09:13:09 +0000 (09:13 +0000)]
German translation of manpages updated

12 years agoComplete translation of logoutd(8) in Polish. Patch by Robert Luberda
bubulle [Sun, 15 Apr 2012 10:54:03 +0000 (10:54 +0000)]
Complete translation of logoutd(8) in Polish. Patch by Robert Luberda

12 years ago * NEWS: New placeholder for the next release (4.1.5.1 expected)
nekral-guest [Mon, 13 Feb 2012 20:33:28 +0000 (20:33 +0000)]
* NEWS: New placeholder for the next release (4.1.5.1 expected)

12 years ago2012-02-13 Mike Frysinger <vapier@gentoo.org>
nekral-guest [Mon, 13 Feb 2012 20:32:00 +0000 (20:32 +0000)]
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.

12 years ago2012-02-13 Mike Frysinger <vapier@gentoo.org>
nekral-guest [Mon, 13 Feb 2012 20:09:59 +0000 (20:09 +0000)]
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.

12 years ago2012-02-13 Mike Frysinger <vapier@gentoo.org>
nekral-guest [Mon, 13 Feb 2012 20:04:40 +0000 (20:04 +0000)]
2012-02-13  Mike Frysinger  <vapier@gentoo.org>
* man/.gitignore: Add generate_mans.deps

12 years ago2012-02-13 Mike Frysinger <vapier@gentoo.org>
nekral-guest [Mon, 13 Feb 2012 20:00:34 +0000 (20:00 +0000)]
2012-02-13  Mike Frysinger  <vapier@gentoo.org>
* man/grpck.8.xml: Relocate space.

12 years ago2012-02-13 Mike Frysinger <vapier@gentoo.org>
nekral-guest [Mon, 13 Feb 2012 19:16:29 +0000 (19:16 +0000)]
2012-02-13  Mike Frysinger  <vapier@gentoo.org>
* libmisc/copydir.c: Add missing #include <stdarg.h>

12 years ago * NEWS: Set release date.
nekral-guest [Sun, 12 Feb 2012 21:29:41 +0000 (21:29 +0000)]
* NEWS: Set release date.

12 years ago * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
nekral-guest [Sun, 12 Feb 2012 15:02:45 +0000 (15:02 +0000)]
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
* po/*.po, man/po/*.po: Updated PO files.

12 years agoIgnore generated files.
nekral-guest [Sat, 11 Feb 2012 18:30:42 +0000 (18:30 +0000)]
Ignore generated files.

12 years ago * man/it/Makefile.am: Activate all manpages.
nekral-guest [Sat, 11 Feb 2012 18:29:17 +0000 (18:29 +0000)]
* man/it/Makefile.am: Activate all manpages.

12 years ago * man/po/it.po: Updated after review.
nekral-guest [Sat, 11 Feb 2012 18:28:04 +0000 (18:28 +0000)]
* man/po/it.po: Updated after review.

12 years ago * man/po/it.po: Updated to 1173t.
nekral-guest [Sat, 11 Feb 2012 09:31:17 +0000 (09:31 +0000)]
* man/po/it.po: Updated to 1173t.

12 years ago * man/useradd.8.xml, man/su.1.xml, man/po/da.po, man/po/ru.po,
nekral-guest [Thu, 2 Feb 2012 19:05:34 +0000 (19:05 +0000)]
* man/useradd.8.xml, man/su.1.xml, man/po/da.po, man/po/ru.po,
man/po/fr.po, man/po/de.po, man/po/sv.po, man/po/pl.po,
man/po/it.po, man/po/shadow-man-pages.pot, man/po/zh_CN.po: Fix
two typos. Thanks to Giuseppe Sacco. Unfuzzy translations
* po/kk.po, po/nb.po, po/el.po, po/ca.po, po/ja.po: Re-generate.
* man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml:
Fix typo.

12 years ago2012-01-28 Innocent De Marchi <tangram.peces@gmail.com>
nekral-guest [Sat, 28 Jan 2012 19:13:08 +0000 (19:13 +0000)]
2012-01-28  Innocent De Marchi  <tangram.peces@gmail.com>
* po/ca.po: Updated to 557t.

12 years ago * NEWS, configure.in, man/da/Makefile.am, man/Makefile.am: Build
nekral-guest [Sat, 28 Jan 2012 16:53:23 +0000 (16:53 +0000)]
* NEWS, configure.in, man/da/Makefile.am, man/Makefile.am: Build
manpages with more than 50% translated messages.
* man/fr/Makefile.am: Add missing manpages: chgpasswd.8,
groupmems.8, nologin.8, sulogin.8.
* man/de/Makefile.am: Add missing manpages: chage.1, chgpasswd.8,
chpasswd.8, expiry.1, faillog.5, faillog.8, getspnam.3, gpasswd.1,
groupadd.8, groupdel.8, groupmems.8, groupmod.8, grpck.8,
grpconv.8, grpunconv.8, gshadow.5, lastlog.8, login.defs.5,
logoutd.8, newusers.8, nologin.8, pwck.8, pwconv.8, pwunconv.8,
sg.1, shadow.3, shadow.5, suauth.5, useradd.8, userdel.8,
usermod.8, limits.5, login.access.5, porttime.5, id.1, sulogin.8
* man/zh_CN/Makefile.am: Add missing manpages: chgpasswd.8,
groupmems.8, nologin.8, sulogin.8
* man/pl/Makefile.am, man/sv/Makefile.am, man/it/Makefile.am:
Translate only manpages with more than 50% translated messages.
* man/po/da.po: Do not translate names of manpages (newusers,
limits, groups)

12 years agoRussian manpages translation update
bubulle [Sat, 28 Jan 2012 13:29:13 +0000 (13:29 +0000)]
Russian manpages translation update

12 years agoFrench translation updates
bubulle [Fri, 27 Jan 2012 18:45:49 +0000 (18:45 +0000)]
French translation updates

12 years agoDanish translation added
bubulle [Thu, 26 Jan 2012 18:58:20 +0000 (18:58 +0000)]
Danish translation added

12 years agoDanish translation update
bubulle [Thu, 26 Jan 2012 18:54:44 +0000 (18:54 +0000)]
Danish translation update

12 years ago2012-01-23 Thomas Vasileiou <thomas-v@wildmail.com>
nekral-guest [Mon, 23 Jan 2012 22:29:33 +0000 (22:29 +0000)]
2012-01-23  Thomas Vasileiou  <thomas-v@wildmail.com>
* po/el.po: Updated to 553t.

12 years ago2012-01-22 Baurzhan Muftakhidinov <baurthefirst@gmail.com>
nekral-guest [Sun, 22 Jan 2012 17:32:49 +0000 (17:32 +0000)]
2012-01-22 Baurzhan Muftakhidinov  <baurthefirst@gmail.com>
* po/kk.po: Updated to 557t.

12 years agoPortuguese translation update
bubulle [Sat, 21 Jan 2012 07:17:05 +0000 (07:17 +0000)]
Portuguese translation update

12 years agoGerman translation update
bubulle [Thu, 19 Jan 2012 19:37:36 +0000 (19:37 +0000)]
German translation update

12 years ago2012-01-18 Bjørn Steensrud <bjornst@skogkatt.homelinux.org>
nekral-guest [Wed, 18 Jan 2012 21:08:28 +0000 (21:08 +0000)]
2012-01-18  Bjørn Steensrud  <bjornst@skogkatt.homelinux.org>
* po/nb.po: Updated to 557t. Thanks also to Hans Fredrik Nordhaug.

12 years ago2012-01-16 NAKANO Takeo <nakano@webmasters.gr.jp>
nekral-guest [Wed, 18 Jan 2012 21:01:50 +0000 (21:01 +0000)]
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.

12 years agoNew entry for vipw.
nekral-guest [Sun, 15 Jan 2012 21:26:56 +0000 (21:26 +0000)]
New entry for vipw.

12 years agoIndicate the CVE number.
nekral-guest [Sun, 15 Jan 2012 21:22:05 +0000 (21:22 +0000)]
Indicate the CVE number.

12 years agoDocument last translation updates.
nekral-guest [Sun, 15 Jan 2012 21:21:01 +0000 (21:21 +0000)]
Document last translation updates.

12 years agoSimplified Chinese translation update
bubulle [Sat, 14 Jan 2012 13:28:36 +0000 (13:28 +0000)]
Simplified Chinese translation update

12 years agoRussian translation update
bubulle [Mon, 9 Jan 2012 18:56:42 +0000 (18:56 +0000)]
Russian translation update

12 years ago * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
nekral-guest [Sun, 8 Jan 2012 23:36:18 +0000 (23:36 +0000)]
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
* po/*.po, man/po/*.po: Updated PO files.

12 years ago * lib/selinux.c, lib/semanage.c: prototypes.h was not included.
nekral-guest [Sun, 8 Jan 2012 16:06:57 +0000 (16:06 +0000)]
* lib/selinux.c, lib/semanage.c: prototypes.h was not included.

12 years ago * lib/prototypes.h: Cleanup.
nekral-guest [Sun, 8 Jan 2012 16:04:27 +0000 (16:04 +0000)]
* lib/prototypes.h: Cleanup.

13 years ago * lib/prototypes.h, lib/Makefile.am, po/POTFILES.in,
nekral-guest [Fri, 9 Dec 2011 22:13:02 +0000 (22:13 +0000)]
* 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.

13 years ago * src/vipw.c: Do not use a hardcoded program name in the usage
nekral-guest [Fri, 9 Dec 2011 21:35:57 +0000 (21:35 +0000)]
* src/vipw.c: Do not use a hardcoded program name in the usage
message.

13 years ago * po/ca.po, po/cs.po, po/da.po, po/de.po, po/es.po, po/eu.po,
nekral-guest [Fri, 9 Dec 2011 21:35:47 +0000 (21:35 +0000)]
* po/ca.po, po/cs.po, po/da.po, po/de.po, po/es.po, po/eu.po,
po/fr.po, po/ja.po, po/kk.po, po/pt.po, po/pt_BR.po, po/ru.po,
po/sk.po, po/sv.po, po/vi.po, po/zh_CN.po: Quick unfuzzy.

13 years ago * src/newusers.c, src/chpasswd.c, src/chgpasswd.c: Harmonize
nekral-guest [Fri, 9 Dec 2011 21:31:39 +0000 (21:31 +0000)]
* src/newusers.c, src/chpasswd.c, src/chgpasswd.c: Harmonize
usage messages.

13 years ago * lib/Makefile.am, lib/prototypes.h, lib/selinux.c,
nekral-guest [Fri, 9 Dec 2011 21:30:19 +0000 (21:30 +0000)]
* lib/Makefile.am, lib/prototypes.h, lib/selinux.c,
lib/semanage.c, po/POTFILES.in: Move lib/selinux.c to
lib/semanage.c.

13 years ago * src/usermod.c, man/usermod.8.xml: usermod -Z "" removes the
nekral-guest [Mon, 21 Nov 2011 22:02:15 +0000 (22:02 +0000)]
* 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.

13 years ago * libmisc/copydir.c: Ignore errors to copy ACLs if the operation
nekral-guest [Mon, 21 Nov 2011 19:34:22 +0000 (19:34 +0000)]
* libmisc/copydir.c: Ignore errors to copy ACLs if the operation
is not supported.

13 years ago * src/passwd.c: Add missing cast.
nekral-guest [Sat, 19 Nov 2011 22:00:00 +0000 (22:00 +0000)]
* 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.

13 years ago * src/chage.c: Cast 3rd date_to_str parameter to a time_t
nekral-guest [Sat, 19 Nov 2011 21:56:10 +0000 (21:56 +0000)]
* src/chage.c: Cast 3rd date_to_str parameter to a time_t

13 years ago * lib/selinux.c: vasprintf requires _GNU_SOURCE to be defined
nekral-guest [Sat, 19 Nov 2011 21:55:00 +0000 (21:55 +0000)]
* lib/selinux.c: vasprintf requires _GNU_SOURCE to be defined
before including stdio.h.

13 years ago * libmisc/root_flag.c, src/gpasswd.c, src/chsh.c: Add splint
nekral-guest [Sat, 19 Nov 2011 21:51:52 +0000 (21:51 +0000)]
* 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.

13 years ago * src/faillog.c: The fail_max field is a short, use a short also
nekral-guest [Sat, 19 Nov 2011 21:44:34 +0000 (21:44 +0000)]
* 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.

13 years ago * man/gpasswd.1.xml: Document the difference between the -r and -R
nekral-guest [Sat, 19 Nov 2011 14:34:59 +0000 (14:34 +0000)]
* man/gpasswd.1.xml: Document the difference between the -r and -R
options.

13 years ago * man/useradd.8.xml, man/groupadd.8.xml, man/usermod.8.xml,
nekral-guest [Sat, 19 Nov 2011 14:33:53 +0000 (14:33 +0000)]
* 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.

13 years agoIgnore the generated POTFILES file.
nekral-guest [Sat, 19 Nov 2011 14:29:20 +0000 (14:29 +0000)]
Ignore the generated POTFILES file.

13 years ago * src/gpasswd.c: Change of group password enforces gshadow
nekral-guest [Sat, 19 Nov 2011 14:27:48 +0000 (14:27 +0000)]
* src/gpasswd.c: Change of group password enforces gshadow
password. Set /etc/group password to "x".

13 years agoFix typos.
nekral-guest [Sat, 19 Nov 2011 14:20:52 +0000 (14:20 +0000)]
Fix typos.

13 years agoAdd missing NEWS documentation.
nekral-guest [Thu, 17 Nov 2011 21:52:49 +0000 (21:52 +0000)]
Add missing NEWS documentation.
* NEWS, README, src/useradd.c, src/usermod.c, src/userdel.c,
configure.in: Use libsemanage instead of semanage.

13 years ago * NEWS, src/userdel.c, man/userdel.8.xml: Add option -Z/--selinux-user.
nekral-guest [Thu, 17 Nov 2011 21:51:07 +0000 (21:51 +0000)]
* NEWS, src/userdel.c, man/userdel.8.xml: Add option -Z/--selinux-user.
* libmisc/system.c, lib/prototypes.h, libmisc/Makefile.am: Removed
safe_system().
* lib/selinux.c, po/POTFILES.in, lib/prototypes.h,
lib/Makefile.am: Added helper functions for semanage.
* README, src/useradd.c, src/usermod.c, src/userdel.c,
configure.in: Use libsemanage instead of semanage.

13 years agoRe-indent.
nekral-guest [Thu, 17 Nov 2011 21:32:26 +0000 (21:32 +0000)]
Re-indent.

13 years ago2011-11-16 Peter Vrabec <pvrabec@redhat.com>
nekral-guest [Wed, 16 Nov 2011 21:17:43 +0000 (21:17 +0000)]
2011-11-16  Peter Vrabec  <pvrabec@redhat.com>

* src/Makefile.am: useradd may need the LIBATTR library.

13 years ago2011-11-16 Peter Vrabec <pvrabec@redhat.com>
nekral-guest [Wed, 16 Nov 2011 21:00:43 +0000 (21:00 +0000)]
2011-11-16  Peter Vrabec  <pvrabec@redhat.com>

* libmisc/copydir.c: Ignore perm_copy_file() errors with errno set
to ENOTSUP.

13 years ago * libmisc/root_flag.c: Add missing #include <stdio.h>
nekral-guest [Wed, 16 Nov 2011 19:34:39 +0000 (19:34 +0000)]
* libmisc/root_flag.c: Add missing #include <stdio.h>