Serge Hallyn
2cc7da6058
configure.ac: release 4.8.1
...
This is mainly to revert the --sbindir/--bindir commit which broke some
distros
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
2020-01-23 14:56:43 -06:00
Serge Hallyn
142d788c81
update changelog
...
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
2020-01-23 14:37:42 -06:00
Serge Hallyn
d7add53f06
add changelog entry about account-tools-setuid
...
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
2019-12-20 00:14:13 -06:00
Serge Hallyn
81de782d1e
Release 4.8
...
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
2019-12-01 11:36:13 -06:00
Serge Hallyn
2bb99b8fe6
release 4.7
...
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
2019-06-13 11:38:49 -05:00
Serge Hallyn
f50603a5fc
release 4.6
...
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
2018-04-29 11:41:41 -05:00
Serge Hallyn
78d4265f65
Import new Dutch translations.
...
Thanks to Frans Spiesschaert.
Signed-off-by: Serge Hallyn <serge@hallyn.com>
2017-07-16 16:46:21 -05:00
Serge Hallyn
c2aed5345e
update changelog for last commit
2017-07-10 21:52:02 -05:00
Ed Morley
c43681a068
Correct wrong year in ChangeLog dates
...
The recently added entries were actually for 2017.
2017-06-15 14:34:46 +01:00
Serge Hallyn
15be89f89d
release 4.5
2017-05-17 14:33:02 -05:00
Serge Hallyn
d2902c8d3b
update Changelog
2017-05-17 14:27:48 -05:00
Serge Hallyn
db57db52cf
changelog for last commit
2017-02-23 13:44:27 -06:00
Serge Hallyn
3f9af9deb9
Update changelog
2017-02-11 09:03:56 -06:00
Serge Hallyn
f84a88a824
Update changelog
2017-01-29 14:49:03 -06:00
Serge Hallyn
f288c4fcef
Changelog for last commit
2017-01-29 14:38:44 -06:00
Serge Hallyn
36bc770ed4
Update changelog
2016-12-21 12:58:05 -06:00
Serge Hallyn
e3f213305b
update Changelog
2016-12-02 16:15:28 -06:00
Serge Hallyn
d572e3b1f9
update changelog, finally
2016-12-02 13:41:49 -06:00
Nicolas François
5e87ff0615
Improve vipw error report when editor fails
...
* src/vipw.c: After waitpid(), use errno only if waitpid returned
-1. Debian#688260
* src/vipw.c: Likewise for system().
2013-08-25 16:27:58 +02:00
victory
ba527c728e
Updated Japanese translation to 558t
...
* po/ja.po: Updated to 558t
2013-08-23 22:31:00 +02:00
Nicolas François
90ac3a3207
Update translation files.
...
* man/po/shadow-man-pages.pot: Regenerated.
* man/po/*.po: Updated PO files.
2013-08-23 20:29:43 +02:00
Nicolas François
684de2abff
Fix encoding.
...
* man/newgrp.1.xml: Fix encoding.
* man/sg.1.xml: Likewise.
2013-08-23 20:29:42 +02:00
Nicolas François
44faa3b796
Unfuzzy according to previous change.
...
* man/po/da.po: Unfuzzy according to previous change.
* man/po/de.po: Likewise.
* man/po/fr.po: Likewise.
* man/po/it.po: Likewise.
* man/po/pl.po: Likewise.
* man/po/ru.po: Likewise.
* man/po/sv.po: Likewise.
* man/po/zh_CN.po: Likewise.
2013-08-23 20:29:41 +02:00
Nicolas François
138682fd30
Avoid spaces between <option> and <replaceable>
...
* man/chage.1.xml: Add a non breaking space between options and
their parameter because xml2po removes those spaces. Alioth#314401
* man/chfn.1.xml: Likewise.
* man/chgpasswd.8.xml: Likewise.
* man/chpasswd.8.xml: Likewise.
* man/chsh.1.xml: Likewise.
* man/faillog.8.xml: Likewise.
* man/gpasswd.1.xml: Likewise.
* man/groupadd.8.xml: Likewise.
* man/groupdel.8.xml: Likewise.
* man/groupmems.8.xml: Likewise.
* man/groupmod.8.xml: Likewise.
* man/grpck.8.xml: Likewise.
* man/lastlog.8.xml: Likewise.
* man/newusers.8.xml: Likewise.
* man/passwd.1.xml: Likewise.
* man/pwck.8.xml: Likewise.
* man/pwconv.8.xml: Likewise.
* man/su.1.xml: Likewise.
* man/useradd.8.xml: Likewise.
* man/userdel.8.xml: Likewise.
* man/usermod.8.xml: Likewise.
* man/vipw.8.xml: Likewise.
2013-08-23 20:29:40 +02:00
Nicolas François
373dd2dc3d
Create baseline for changing manpage options.
...
* man/po/shadow-man-pages.pot: Regenerated.
* man/po/*.po: Updated PO files.
2013-08-23 20:29:39 +02:00
Nicolas François
3ea09ae998
Fix encoding.
...
* man/po/de.po: Fix encoding.
2013-08-23 20:29:33 +02:00
Nicolas François
115aeef1c4
Fix subordinate_next() return value.
...
* lib/subordinateio.c (subordinate_next): Fix return value.
2013-08-19 21:32:27 +02:00
Nicolas François
2883ff6ad5
Include <stdio.h>
...
* libmisc/idmapping.c: Include <stdio.h> needed for fprintf() and
stderr.
2013-08-16 01:13:20 +02:00
Nicolas François
eceedf43cf
Improve documentation.
...
* man/login.defs.d/SUB_GID_COUNT.xml: Document newusers behavior
when the user already have subordinate group IDs.
* man/login.defs.d/SUB_UID_COUNT.xml: Likewise.
* man/login.defs.d/SUB_GID_COUNT.xml: Fix typo (MAX<->MIN).
* man/login.defs.d/SUB_UID_COUNT.xml: Likewise.
2013-08-15 17:30:20 +02:00
Nicolas François
6f8dd000f6
Improve diagnostic.
...
* src/usermod.c: Check early if /etc/subuid (/etc/subgid) exists
when option -v/-V (-w/-W) are provided.
2013-08-15 17:30:19 +02:00
Nicolas François
2e46882a9b
Fix parse of ranges.
...
* src/usermod.c: Fix parse of ranges. The hyphen might be followed
by a negative integer.
2013-08-15 17:30:19 +02:00
Nicolas François
5917347c6f
Fix boundary conditions.
...
* lib/subordinateio.c (find_free_range): max is allowed for new
ranges.
2013-08-15 17:30:19 +02:00
Nicolas François
7d5732cb49
Remove dead code.
...
* libmisc/find_new_sub_gids.c: Remove dead code.
find_new_sub_gids() is always called with *range_count set to 0.
It's more difficult to keep the subordinate GIDs and UIDs
synchronized, than for the user's UID/GId because the count of
subordinate IDs may differ.
* libmisc/find_new_sub_uids.c: Likewise.
* lib/subordinateio.h, lib/subordinateio.c: Remove APIs that are
no more needed: is_sub_uid_range_free(), is_sub_gid_range_free(),
is_range_free().
2013-08-15 17:30:19 +02:00
Nicolas François
1a8d386288
Subordinate IDs require 32bit uid_t/gid_t
...
* configure.in: Check if sizeof uid_t and gid_t is larger than 32
bit to support subordinate IDs.
2013-08-14 20:22:15 +02:00
Nicolas François
0f26591422
Align coding style.
...
* lib/subordinateio.c: Avoid implicit conversion of pointers and
integers to booleans.
* lib/subordinateio.c: Added brackets.
2013-08-14 00:19:19 +02:00
Nicolas François
cd1bd8bf4c
Add schematics with ranges to help reviews.
...
* lib/subordinateio.c: Add schematics with ranges to help reviews.
2013-08-14 00:19:19 +02:00
Nicolas François
b84b918464
Avoid dead branches.
...
* lib/subordinateio.c: Avoid dead branches.
Note: code is equivalent.
2013-08-14 00:19:19 +02:00
Nicolas François
9951b1f569
Fail in case arguments are provided after options.
...
* src/vipw.c: Fail in case arguments are provided after options.
Debian#677812
2013-08-13 23:13:09 +02:00
Nicolas François
0094abea6e
Fix count for ranges truncated in remove_range().
...
* lib/subordinateio.c: Fix count for ranges truncated in
remove_range().
2013-08-13 22:29:16 +02:00
Nicolas François
8781aff637
Terminate the child before closing the PAM session.
...
* src/su.c: Terminate the child (if needed) before closing the PAM
session. This is probably more correct, and avoid reporting
termination from signals possibly sent by PAM modules (e.g. former
versions of pam_systemd). Debian#670132
2013-08-13 19:48:53 +02:00
Nicolas François
a5e3dbb0e3
Reset caught variable when signal is handled by su.
...
* src/su.c: When a SIGTSTP is caught, reset caught to 0. There is
no need to kill the child in such case after su is resumed. This
remove the "Session terminated, terminating shell...
...terminated." messages in such case.
2013-08-13 19:42:50 +02:00
Nicolas François
29bd7e1929
Document checks performed by newgidmap/newuidmap
...
* man/newgidmap.1.xml: Document the checks performed before
setting the mapping in /proc.
* man/newuidmap.1.xml: Likewise.
2013-08-13 19:38:41 +02:00
Nicolas François
e1a4b6e57b
Document the semantic of ranges.
...
* libmisc/idmapping.h: Document what the upper and lower fields
are in struct map_range.
* man/newgidmap.1.xml: Document when the gid, gidlower and count
argument are.
* man/newuidmap.1.xml: Likewise for uid, uidlower and count.
2013-08-13 19:28:07 +02:00
Nicolas François
5884ba907c
(shadow_random): Use long instead of size_t.
...
* libmisc/salt.c (shadow_random): Use long instead of size_t.
Compatibility with size_t is easier to check since it's used for
smaller numbers (salt size).
2013-08-13 19:16:24 +02:00
Nicolas François
64fe2f7db6
Add splint annotations.
...
* lib/groupmem.c: Add splint annotations. The added memset makes
splint think data was allocated.
* lib/pwmem.c: Likewise.
* lib/sgroupio.c: Likewise.
* lib/shadowmem.c: Likewise.
2013-08-13 19:13:45 +02:00
Nicolas François
3bdf723bab
Improve documentation.
...
* man/login.defs.d/SUB_GID_COUNT.xml: Document that the behavior
of useradd and newusers depends on the existence of /etc/subgid.
* man/login.defs.d/SUB_UID_COUNT.xml: Likewise for /etc/subuid.
2013-08-13 00:21:02 +02:00
Nicolas François
9126425a21
Improve error reporting.
...
* src/useradd.c: Change message in case of find_new_sub_uids /
find_new_sub_gids failure. This complements the messages already
provided by these APIs.
2013-08-13 00:13:12 +02:00
Nicolas François
bfbd83239e
Fix handling of boundaries.
...
* lib/subordinateio.c: Fix handling of boundaries.
* libmisc/find_new_sub_uids.c: Likewise.
* libmisc/find_new_sub_gids.c: Likewise.
2013-08-13 00:11:24 +02:00
Nicolas François
d9d1bb4acb
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.
2013-08-12 23:57:32 +02:00
Nicolas François
5d3a785c55
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.
2013-08-11 16:09:59 +02:00