]> granicus.if.org Git - shadow/log
shadow
11 years agoFix removal of ranges.
Nicolas François [Mon, 12 Aug 2013 21:57:32 +0000 (23:57 +0200)]
Fix removal of ranges.

* lib/subordinateio.c: Fix removal of ranges. The database needs
to be marked as changed or commonio_close will discard any change.

11 years agoManpages improvement for subordinate IDs.
Nicolas François [Sun, 11 Aug 2013 14:05:26 +0000 (16:05 +0200)]
Manpages improvement for subordinate IDs.

* man/newusers.8.xml: Include documentation of SUB_GID_MIN,
SUB_GID_MAX, SUB_GID_COUNT, SUB_UID_MIN, SUB_UID_MAX,
SUB_UID_COUNT.
* man/useradd.8.xml: Likewise.
* man/usermod.8.xml: Likewise.
* man/newusers.8.xml: Document usage of /etc/subgid /etc/subuid.
* man/useradd.8.xml: Likewise.
* man/userdel.8.xml: Likewise.
* man/usermod.8.xml: Likewise.
* man/newusers.8.xml: Add references to subgid(5) and subuid(5).
* man/useradd.8.xml: Likewise.
* man/userdel.8.xml: Likewise.
* man/subgid.5.xml: Sort references alphabetically.
* man/subuid.5.xml: Likewise.
* man/subgid.5.xml: Add references to newusers(8), useradd(8),
userdel(8), usermod(8), user_namespaces(7).
* man/subuid.5.xml: Likewise.

11 years agoSort references alphabetically.
Nicolas François [Sun, 11 Aug 2013 13:48:57 +0000 (15:48 +0200)]
Sort references alphabetically.

* man/newgidmap.1.xml: Sort references alphabetically.
* man/newuidmap.1.xml: Likewise.

11 years agoAllow disabling of subordinate IDs.
Nicolas François [Sun, 11 Aug 2013 12:54:22 +0000 (14:54 +0200)]
Allow disabling of subordinate IDs.

* configure.in: Add configure options --enable-subordinate-ids /
--disable-subordinate-ids. Enabled by default.
* lib/prototypes.h: Include <config.h> before using its macros.
* lib/commonio.h, lib/commonio.c: Define commonio_append only when
ENABLE_SUBIDS is defined.
* lib/prototypes.h, libmisc/find_new_sub_gids.c,
libmisc/find_new_sub_uids.c: Likewise.
* lib/subordinateio.h, lib/subordinateio.c: Likewise.
* libmisc/user_busy.c: Only check if subordinate IDs are in use if
ENABLE_SUBIDS is defined.
* src/Makefile.am: Create newgidmap and newuidmap only if
ENABLE_SUBIDS is defined.
* src/newusers.c: Check for ENABLE_SUBIDS to enable support for
subordinate IDs.
* src/useradd.c: Likewise.
* src/userdel.c: Likewise.
* src/usermod.c: Likewise.
* man/Makefile.am: Install man1/newgidmap.1, man1/newuidmap.1,
man5/subgid.5, and man5/subuid.5 only if ENABLE_SUBIDS is defined.
* man/fr/Makefile.am: Install man1/newgidmap.1, man1/newuidmap.1,
man5/subgid.5, and man5/subuid.5 (not translated yet).
* man/generate_mans.mak: Add xsltproc conditionals
subids/no_subids.
* man/login.defs.d/SUB_GID_COUNT.xml: Add dependency on subids
condition.
* man/login.defs.d/SUB_UID_COUNT.xml: Likewise.
* man/usermod.8.xml: Document options for subordinate IDs and
reference subgid(5) / subuid(5) depending on the subids condition.

11 years agoIgnore generated newgidmap and newuidmap
Nicolas François [Sun, 11 Aug 2013 12:48:39 +0000 (14:48 +0200)]
Ignore generated newgidmap and newuidmap

11 years agoFix typo.
Nicolas François [Sat, 10 Aug 2013 22:53:50 +0000 (00:53 +0200)]
Fix typo.

11 years agoRemove unused variable.
Nicolas François [Fri, 9 Aug 2013 12:12:01 +0000 (14:12 +0200)]
Remove unused variable.

* libmisc/salt.c: Remove unused variable.

11 years agoFix for Alioth#314271 (musl libc)
Nicolas François [Wed, 7 Aug 2013 00:17:52 +0000 (02:17 +0200)]
Fix for Alioth#314271 (musl libc)

* libmisc/utmp.c: Add include files needed for getaddrinfo().
See Alioth#314271

11 years agocheck for ruserok existence
Mike Frysinger [Tue, 6 Aug 2013 23:44:24 +0000 (01:44 +0200)]
check for ruserok existence

rlogin support is old school code, so newer C libraries drop support for
ruserok (like uClibc, optionally).  But shadow doesn't build with that,
so have it check for ruserok to optionally enable rlogin.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years agoEditorial changes to usermod(8)
Nicolas François [Tue, 6 Aug 2013 23:32:56 +0000 (01:32 +0200)]
Editorial changes to usermod(8)

* man/usermod.8.xml: Fix typos and wording.
* man/usermod.8.xml: Add references to subgid(5) and subuid(5).

11 years agoFix wording: secondary -> subordinate.
Nicolas François [Tue, 6 Aug 2013 23:01:33 +0000 (01:01 +0200)]
Fix wording: secondary -> subordinate.

* libmisc/find_new_sub_gids.c: Fix wording: secondary ->
subordinate.
* libmisc/find_new_sub_uids.c: Likewise.

11 years agoRemove duplicate check.
Nicolas François [Tue, 6 Aug 2013 21:59:09 +0000 (23:59 +0200)]
Remove duplicate check.

* libmisc/find_new_sub_gids.c: Remove duplicate check (duplicate
at least in its intent).

11 years agoFix typos.
Nicolas François [Tue, 6 Aug 2013 20:29:40 +0000 (22:29 +0200)]
Fix typos.

* src/usermod.c: Fix typos.

11 years agoI find it clearer with the words in that order.
Nicolas François [Tue, 6 Aug 2013 20:25:08 +0000 (22:25 +0200)]
I find it clearer with the words in that order.

* man/subgid.5.xml: Reorder words.
* man/subuid.5.xml: Likewise.

11 years agoFix typos.
Nicolas François [Tue, 6 Aug 2013 20:11:41 +0000 (22:11 +0200)]
Fix typos.

* man/subgid.5.xml: Fix typos.
* man/subuid.5.xml: Likewise.
* man/subgid.5.xml: Fix copy-paste errors from subuid.5.xml.

11 years agoRemove copy-pasted NOTE.
Nicolas François [Tue, 6 Aug 2013 19:01:53 +0000 (21:01 +0200)]
Remove copy-pasted NOTE.

* man/newgidmap.1.xml: Remove copy-pasted NOTE.
* man/newuidmap.1.xml: Likewise.

11 years agoRemove unused variables.
Nicolas François [Tue, 6 Aug 2013 18:59:52 +0000 (20:59 +0200)]
Remove unused variables.

* lib/subordinateio.c: Remove unused variables.

11 years agoFix typos.
Nicolas François [Tue, 6 Aug 2013 18:32:59 +0000 (20:32 +0200)]
Fix typos.

* man/login.defs.d/SUB_GID_COUNT.xml: Fix typo.
* man/login.defs.d/SUB_UID_COUNT.xml: Likewise.
* man/login.defs.d/SUB_UID_COUNT.xml: Fix copy-paste issue from
SUB_GID_COUNT.
* man/newgidmap.1.xml: Fix Typo.
* src/useradd.c: Fix typos.
* lib/subordinateio.c: Fix typos.

11 years agoFix Debian bug #675824
Nicolas François [Tue, 6 Aug 2013 14:30:38 +0000 (16:30 +0200)]
Fix Debian bug #675824

* lib/groupmem.c (__gr_dup): Support libc which define other
fields in struct group.
* lib/pwmem.c: Likewise for struct passwd.
* lib/shadowmem.c: Likewise for struct spwd.
* lib/sgroupio.c: Apply same logic, even if this structure is
defined internally.

11 years agoRevert b10cba0e0af5b1e3e8cda0201d5563f085aab2a4
Nicolas François [Mon, 5 Aug 2013 21:16:00 +0000 (23:16 +0200)]
Revert b10cba0e0af5b1e3e8cda0201d5563f085aab2a4

The length of the concatenated 2 lines was correct.

11 years agouserns: add argument sanity checking
Serge Hallyn [Fri, 21 Jun 2013 16:47:36 +0000 (11:47 -0500)]
userns: add argument sanity checking

In find_new_sub_{u,g}ids, check for min, count and max values.

In idmapping.c:get_map_ranges(), make sure that the value passed
in for ranges did not overflow.  Couldn't happen with the current
code, but this is a sanity check for any future potential mis-uses.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
11 years agonewuidmap,newgidmap: New suid helpers for using subordinate uids and gids
Eric W. Biederman [Tue, 22 Jan 2013 09:20:07 +0000 (01:20 -0800)]
newuidmap,newgidmap: New suid helpers for using subordinate uids and gids

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
11 years agofix typo in subxid.5
Serge Hallyn [Thu, 6 Jun 2013 15:44:23 +0000 (17:44 +0200)]
fix typo in subxid.5

login.defs, not logindefs.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
11 years agousermod: add v:w:V:W: to getopt
Serge Hallyn [Thu, 6 Jun 2013 15:43:29 +0000 (17:43 +0200)]
usermod: add v:w:V:W: to getopt

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
11 years agosubordinateio: Fix subordinate_parse to have an internal static buffer
Serge Hallyn [Thu, 6 Jun 2013 15:42:36 +0000 (17:42 +0200)]
subordinateio: Fix subordinate_parse to have an internal static buffer

subordinate_parse is supposed to return a static structure that
represents one line in /etc/subuid or /etc/subgid.  I goofed and
failed to make the variable rangebuf that holds the username of
in the returned structure static.

Add this missing static specification.

Author: <Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
11 years agoAdd LIBSELINUX to newuidmap and newgidmap LDADD
Serge Hallyn [Thu, 6 Jun 2013 15:41:58 +0000 (17:41 +0200)]
Add LIBSELINUX to newuidmap and newgidmap LDADD

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
11 years agonewusers: Add support for assiging subordinate uids and gids.
Eric W. Biederman [Tue, 22 Jan 2013 09:19:28 +0000 (01:19 -0800)]
newusers: Add support for assiging subordinate uids and gids.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
11 years agousermod: Add support for subordinate uids and gids.
Eric W. Biederman [Tue, 22 Jan 2013 09:18:24 +0000 (01:18 -0800)]
usermod: Add support for subordinate uids and gids.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
11 years agoAdd support for detecting busy subordinate user ids
Eric W. Biederman [Tue, 22 Jan 2013 09:17:50 +0000 (01:17 -0800)]
Add support for detecting busy subordinate user ids

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
11 years agouseradd: Add support for subordinate user identifiers
Eric W. Biederman [Tue, 22 Jan 2013 09:17:30 +0000 (01:17 -0800)]
useradd: Add support for subordinate user identifiers

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
11 years agouserdel: Add support for removing subordinate user and group ids.
Eric W. Biederman [Tue, 22 Jan 2013 09:16:51 +0000 (01:16 -0800)]
userdel: Add support for removing subordinate user and group ids.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
11 years agoImplement find_new_sub_uids find_new_sub_gids
Eric W. Biederman [Tue, 22 Jan 2013 09:15:05 +0000 (01:15 -0800)]
Implement find_new_sub_uids find_new_sub_gids

Functions for finding new subordinate uid and gids ranges for use
with useradd.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
11 years agoAdd backend support for suboridnate uids and gids
Eric W. Biederman [Tue, 22 Jan 2013 09:14:35 +0000 (01:14 -0800)]
Add backend support for suboridnate uids and gids

These files list the set of subordinate uids and gids that users are allowed
to use.   The expect use case is with the user namespace but other uses are
allowed.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
11 years agoImplement commonio_append.
Eric W. Biederman [Tue, 22 Jan 2013 09:13:26 +0000 (01:13 -0800)]
Implement commonio_append.

To support files that do not have a simple unique key implement
commonio_append to allow new entries to be added.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
11 years agologin.defs.5: Document the new variables in login.defs
Eric W. Biederman [Tue, 22 Jan 2013 09:12:58 +0000 (01:12 -0800)]
login.defs.5: Document the new variables in login.defs

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
11 years agoDocumentation for /etc/subuid and /etc/subgid
Eric W. Biederman [Tue, 22 Jan 2013 09:12:23 +0000 (01:12 -0800)]
Documentation for /etc/subuid and /etc/subgid

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
11 years agoDebian bug 677275 - random() max value
Nicolas François [Mon, 5 Aug 2013 12:19:23 +0000 (14:19 +0200)]
Debian bug 677275 - random() max value

* libmisc/salt.c: random() max value is 2^31-1 (same as RAND_MAX
on GNU). As it is not clear whether on some systems the max value
can exceed this number and whether some systems have max values
which would be lower, we take this into account when defining the
salt size and number of rounds for SHA encrypted passwords. Higher
values are favored.

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