Mike Frysinger
84f0ae00d2
configure: avoid deprecated AC_INIT/AM_INIT_AUTOMAKE invocation
...
The autoconf/automake guys want AC_INIT to be passed the details of the
package directly rather than going through AM_INIT_AUTOMAKE. Update them
both to use the newer style.
This also allows us to pass in contact details for the project.
We set the minimum autoconf version to 2.64 as that's the first one to
support passing the homepage URL in to AC_INIT. That's a pretty old
release by now, so it shouldn't be a problem.
2016-12-05 15:43:20 -05:00
Serge Hallyn
e3f213305b
update Changelog
2016-12-02 16:15:28 -06:00
Serge Hallyn
d886cf40ef
Merge pull request #48 from t8m/fedora
...
Four simple patches from the Fedora package to merge
2016-12-02 16:14:24 -06:00
Serge Hallyn
d572e3b1f9
update changelog, finally
2016-12-02 13:41:49 -06:00
Serge Hallyn
816bd48c83
Merge pull request #50 from m4sk1n/master
...
update Polish translation
2016-11-25 11:58:14 -06:00
m4sk1n
05563a7832
Merge pull request #1 from m4sk1n/pl-translation-update
...
Add files via upload
2016-11-24 09:16:48 +01:00
m4sk1n
93e3044c6d
Add files via upload
...
81% completed
2016-11-24 09:07:41 +01:00
Serge Hallyn
6825e6c90a
Merge pull request #43 from Blub/suidbins-rule-fixup
...
buildsys: fix suidubins assignments
2016-11-18 20:13:48 -06:00
Tomas Mraz
6401c5b4ee
snprintf() always terminates output with \0
2016-11-15 16:05:44 +01:00
Tomas Mraz
4471e5419d
Keep the permissions of the original file when creating a backup.
2016-11-15 16:04:24 +01:00
Tomas Mraz
2b820c534d
Audit the home directory ownership change.
2016-11-15 16:03:40 +01:00
Tomas Mraz
765993846d
Print error message if SELinux file context manipulation fails.
2016-11-15 16:00:51 +01:00
Serge Hallyn
d9073bb033
Merge pull request #44 from evgeni/man-subuid-spelling
...
man: fix --{add,del}-sub{g,u}ids spelling
2016-11-09 17:05:33 -06:00
Evgeni Golov
efbff6a3d9
man: fix --{add,del}-sub{g,u}ids spelling
...
docs wrongly had a hyphen between sub and uids/gids
2016-11-09 22:23:18 +01:00
Wolfgang Bumiller
61abb4645c
buildsys: fix suidubins assignments
...
These assignments were pasted as is into the Makefile and
ended up as part of a rule. (Usually the .PRECIOUS rule
which is why the build system never attempted to execute it
as commands, hiding the problem.)
Signed-off-by: Wolfgang Bumiller <wry.git@bumiller.com>
Reported-by: Rahel A <ra00177@surrey.ac.uk>
2016-11-05 16:09:07 +01:00
Serge Hallyn
11d1b661db
Merge pull request #42 from jubalh/maint
...
Update README with current maintainer
2016-11-04 09:01:16 -05:00
Michael Vetter
b95b766bc0
Update README with current maintainer
2016-11-02 09:30:05 +01:00
Serge Hallyn
4094dc0c96
Merge pull request #41 from selkfoster/master
...
Remove non-POSIX option in chmod(1) used for src/Makefile.am
2016-10-19 19:29:43 -05:00
Matias A. Fonzo
b7fffe8f7e
Remove non-POSIX option in chmod(1) used for src/Makefile.am
2016-10-18 15:46:27 -03:00
Trần Ngọc Quân
a87e2bcdf1
Update Vietnamese translations
2016-10-06 12:16:21 -05:00
Serge Hallyn
6564241674
Merge pull request #33 from t8m/master
...
Fix regression in useradd not loading defaults properly.
2016-09-21 09:12:15 -05:00
Serge Hallyn
dc5b2a2ec0
Merge pull request #36 from atsampson/master
...
Add missing size args to snprintf calls.
2016-09-20 08:14:28 -05:00
Adam Sampson
924cc34647
Use sizeof rather than hardcoding snprintf's size argument.
2016-09-20 08:04:14 +01:00
Serge Hallyn
68061f2059
release 4.4
2016-09-18 21:38:10 -05:00
Serge Hallyn
67d2bb6e0a
su.c: fix missing length argument to snprintf
2016-09-18 21:31:18 -05:00
Serge Hallyn
99b5feadd9
update translations
2016-09-18 18:23:49 -05:00
Tomas Mraz
507f96cdeb
Fix regression in useradd not loading defaults properly.
...
The get_defaults() has to be called before processing the flags.
Signed-off-by: Tomáš Mráz <tmraz@fedoraproject.org>
2016-08-25 11:20:34 +02:00
Serge Hallyn
6fbc11ce21
configure.ac: release 4.3.1
...
Signed-off-by: Serge Hallyn <serge@hallyn.com>
2016-08-14 23:00:59 -05:00
Serge Hallyn
ff2baed5db
idmapping: add more checks for overflow
...
At this point they are redundant but should be safe. Thanks to
Sebastian Krahmer for the first check.
2016-08-14 21:48:50 -05:00
Serge Hallyn
94da3dc5c8
also check upper for wrap
2016-08-14 21:48:45 -05:00
Serge Hallyn
9df58a7545
Merge pull request #30 from jwilk/spelling
...
man: Fix typos
2016-08-05 11:59:45 -05:00
Serge Hallyn
5b017af90d
Merge pull request #29 from hemio-ev/lower-su-syslog-priority
...
Reduces syslog priority of common usage events
2016-08-05 11:59:15 -05:00
Jakub Wilk
a7a7a1fdea
man: Fix typos
2016-08-05 18:50:51 +02:00
Serge Hallyn
ca0ccaba27
Merge pull request #24 from stoeckmann/typos
...
Fixed typos in new{g,u}idmap tools.
2016-08-04 23:39:25 -05:00
Serge Hallyn
8f1836bad9
Merge pull request #25 from stoeckmann/sigrace
...
Fixed signal races in shadow tools.
2016-08-04 23:38:24 -05:00
Michael Herold
61fc90b268
Reduces syslog priority of common usage events
...
- Log INFO instead of ERR on `su missing-user`
- Log NOTICE/WARN instead of ERR on pam_authenticate failure (wrong password for example)
2016-08-04 22:17:31 +02:00
Sebastian Krahmer
1d5a926cc2
Simplify getulong
...
Use strtoul to read an unsigned long, rather than reading
a signed long long and casting it.
https://bugzilla.suse.com/show_bug.cgi?id=979282
2016-08-03 11:51:07 -05:00
Serge Hallyn
7f5a14817d
get_map_ranges: check for overflow
...
The kernel accepts u32 values, so make sure that userspace
is not passing large values.
Signed-off-by: Serge Hallyn <serge@hallyn.com>
2016-07-31 12:56:48 -05:00
Serge Hallyn
9bf01bf010
Merge pull request #26 from jubalh/master
...
Fix sentence in usermod manual
2016-07-19 08:02:31 -05:00
Michael Vetter
358bd9b359
Fix sentence in usermod manual
...
Should have been: '[...] but only checkS [...]'.
So there was a missing 's'. Architectures isn't the right word either.
I decided to write the whole sentence new.
2016-07-18 15:21:08 +02:00
Tobias Stoeckmann
dd50014055
Fixed signal races in shadow tools.
...
Some of the supplied tools use functions which are not signal-safe.
Most of the times it's exit() vs. _exit().
In other times it's how the standard output or standard error is
handled. FILE-related functions shall be avoided, therefore I replaced
them with write().
Also there is no need to call closelog(). At worst, it allows to
trigger a deadlock by issuing different signal types at bad timings.
But as these fixes are about race conditions, expect bad timings in
general for these bugs to be triggered. :)
2016-07-02 18:11:09 +02:00
Tobias Stoeckmann
a84b0cafdd
Fixed typos in new{g,u}idmap tools.
...
Fixed small typos in manual pages and code comments.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2016-07-02 16:39:18 +02:00
Serge Hallyn
a4dee3d1ad
Merge pull request #16 from sebras/master
...
man: Fix a number of typos for various commands.
2016-05-20 14:05:56 -05:00
Serge Hallyn
340729bbe8
Merge pull request #19 from brauner/manfix
...
add long option --no-create-home to -M
2016-05-05 16:18:15 -05:00
Christian Brauner
4518826376
add long option --no-create-home to -M
...
Let's get rid of all the downstream fixes floating around.
Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>
2016-05-05 12:00:07 +02:00
Sebastian Rasmussen
aa38e0da9a
man: Fix a number of typos for various commands.
2016-04-28 15:56:28 +02:00
Serge Hallyn
ef45bb2496
configure.ac: release 4.3
...
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
2016-03-16 17:11:36 -07:00
Serge Hallyn
edec2d057d
Merge pull request #13 from t8m/master
...
Add ability to clear or set lastlog record for user via lastlog command
2016-03-05 00:07:24 -08:00
Tomas Mraz
66897b6f6d
Add ability to clear or set lastlog record for user via lastlog command
...
This functionality is useful because there is now a feature
of Linux-PAM's pam_lastlog module to block expired users (users
which did not login recently enough) from login. This commit
complements it so the sysadmin is able to unblock such expired user.
Signed-off-by: Tomáš Mráz <tmraz@fedoraproject.org>
2016-03-03 15:37:01 +01:00
Serge Hallyn
af064545bf
useradd: respect -r flag when allocating subuids
...
We intend to not create subuids for system users. However we are
checking for command line flags after we check whether -r flag
was set, so it was never found to be true. Fix that.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
2016-02-18 09:20:43 -08:00