]> git.ipfire.org Git - thirdparty/shadow.git/log
thirdparty/shadow.git
11 years agouserns: add argument sanity checking userns.2
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>
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

13 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

13 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)

13 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.

13 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.

13 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

13 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.

13 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>

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

13 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.

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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)

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

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

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

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

13 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.

13 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.

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

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

13 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.

13 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.

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

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

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

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

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

13 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.

13 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.

13 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>

13 years ago * src/useradd.c: Compil fix when SHADOWGRP is not enabled.
nekral-guest [Wed, 16 Nov 2011 19:33:51 +0000 (19:33 +0000)] 
* src/useradd.c: Compil fix when SHADOWGRP is not enabled.

13 years agoUnfuzzy.
nekral-guest [Mon, 14 Nov 2011 23:37:31 +0000 (23:37 +0000)] 
Unfuzzy.

13 years ago * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
nekral-guest [Sun, 13 Nov 2011 18:21:43 +0000 (18:21 +0000)] 
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
* po/*.po, man/po/*.po: Updated PO files.

13 years agoIgnore generated file generate_mans.deps
nekral-guest [Sun, 13 Nov 2011 17:42:05 +0000 (17:42 +0000)] 
Ignore generated file generate_mans.deps

13 years ago * src/chage.c, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
nekral-guest [Sun, 13 Nov 2011 16:24:57 +0000 (16:24 +0000)] 
* src/chage.c, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
src/chsh.c, src/groupadd.c, src/groupdel.c, src/groupmems.c,
src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c,
src/usermod.c: Provide the PAM error
message instead of our own, and log error to syslog.
* src/groupmems.c: Exit with exit rather than fail_exit in usage().
* src/newusers.c: Check the number of arguments.
* src/newusers.c: Do not create the home directory when it is not
changed.
* src/useradd.c: Set the group password to "!" rather "x" if there
are no gshadow file.

13 years agoFix cut&paste issue from yesterday.
nekral-guest [Sun, 13 Nov 2011 16:24:49 +0000 (16:24 +0000)] 
Fix cut&paste issue from yesterday.