096dad6305
Add "NONEXISTENT.xml" to "man/Makefile.am"
2020-05-11 09:27:00 -04:00
4772689d27
Name "NONEXISTENT" in the man page for "pwck"
2020-05-11 09:27:00 -04:00
1566921dd8
Add detailed documentation for "NONEXISTENT"
2020-05-11 09:26:45 -04:00
04062cda11
Add "NONEXISTENT" to the "login.defs" man page
2020-05-11 09:26:43 -04:00
c040058fe3
Check for "NONEXISTENT" in "src/pwck.c"
2020-05-11 09:26:43 -04:00
c56fe7117b
Add "NONEXISTENT" to def_table
2020-05-11 09:26:42 -04:00
e2f74c347b
Add "NONEXISTENT" to "etc/login.defs"
2020-05-11 09:26:04 -04:00
f929bfd90b
Merge pull request #237 from ikerexxe/usermod_fails
...
Check only local groups when adding new supplementary groups to a user
2020-05-01 22:26:41 -05:00
c889ebc2c9
Merge pull request #249 from brauner/coverity
...
travis: reorder sections and add regenerated coverity token
2020-04-25 12:32:13 -05:00
a3a1cf6536
travis: reorder sections and add regenerated coverity token
...
Also remove the openssl section since both lxc and lxcfs don't need it
either.
Signed-off-by: Christian Brauner <christian@brauner.io >
2020-04-25 18:45:24 +02:00
7e0e931519
Merge pull request #248 from brauner/coverity
...
travis: add more architectures + enable Coverity
2020-04-25 11:32:23 -05:00
97a76bd9e6
travis: add more architectures and Coverity support
...
Now that travis supports more architectures let's make sure we test on
all of them and that we enable Coverity too.
Signed-off-by: Christian Brauner <christian@brauner.io >
2020-04-25 12:59:25 +02:00
69332884b1
Merge pull request #247 from jubalh/unusedcpp
...
Remove unused variables
2020-04-25 12:34:49 +02:00
992c1723af
Remove unused 'buf' in shadow.c
2020-04-25 12:23:10 +02:00
8eee5d03fd
Remove unused variable 'cpp'
2020-04-25 12:10:39 +02:00
77be9c35c7
Merge pull request #244 from sthibaul/master
...
Fix hurd build
2020-04-23 10:56:48 -05:00
f7ae4d48f4
Merge pull request #246 from blueskycs2c/stderr-pr
...
check_uid_range : warnings go to stderr
2020-04-20 10:01:27 +02:00
1d8487d851
check_uid_range : warnings go to stderr
2020-04-20 10:16:19 +08:00
52aba825af
Merge pull request #245 from hallyn/2020-04-17/libmisc
...
remove unused and misleading 'owner' argument from find_new_sub*
2020-04-18 12:32:38 +02:00
25b1a8d591
remove unused and misleading 'owner' argument from find_new_sub*
...
Signed-off-by: Serge Hallyn <shallyn@cisco.com >
2020-04-17 16:32:44 -05:00
5de28353d4
Fix hurd build
...
Do not include <sys/prctl.h> we don't have <sys/capability.h>, we don't
need prctl in that case anyway.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org >
2020-04-17 21:50:48 +02:00
7b36b160f7
Merge pull request #243 from blueskycs2c/uid-pr
...
print a warning from useradd if -u is used with uid number outside ra…
2020-04-16 11:48:21 -05:00
00e629c0ba
print a warning from useradd if -u is used with uid number outside range.
2020-04-11 22:45:54 +08:00
942f1945bb
Merge pull request #242 from topimiettinen/login-defs-modernize
...
login.defs: warn about weak choices
2020-04-10 16:58:29 +02:00
69301dfa24
login.defs: warn about weak choices
...
According to crypt(5), MD5 and DES should not be used for new
hashes. Also the default number of SHA rounds chosen by libc is orders
of magnitude too low for modern hardware. Let's warn the users about
weak choices.
Signed-off-by: Topi Miettinen <toiwoton@gmail.com >
2020-04-10 14:09:55 +03:00
8762f465d4
useradd: check only local groups with -G option
...
Check only local groups when adding new supplementary groups to a user
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1727236
2020-03-30 13:08:30 +02:00
140510de9d
usermod: check only local groups with -G option
...
Check only local groups when adding new supplementary groups to a user
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1727236
2020-03-30 13:07:32 +02:00
125a5dc309
Merge pull request #236 from jsoref/with-an
...
spelling: with-an
2020-03-20 22:30:16 -05:00
e78be3df43
Merge pull request #232 from eagleoflqj/master
...
fix typo 登陆->登录
2020-03-20 22:29:55 -05:00
d60b59b156
Merge pull request #226 from ikerexxe/dev1
...
useradd: clarify the useradd -d parameter behavior in man page
2020-03-20 17:45:37 -05:00
6543c600d8
useradd: clarify the useradd -d parameter behavior in man page
...
Explanation: clarify the useradd -d parameter as it does create directory HOME_DIR if it doesn't exit.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1677005
Changelog: [serge] minor tweak to the text
2020-03-20 17:45:01 -05:00
5070132ee6
spelling: with-an
2020-03-17 17:09:26 -04:00
143b97193d
fix typo 登陆->登录
2020-03-11 18:51:02 -04:00
2a991a3ce9
Removed hard-coded default mail spool in useradd
...
The useradd program should be consistent with userdel and usermod and use the
MAIL_SPOOL_DIR variable as the default spool, if it is defined. Otherwise,
don't create a new mailbox, because it won't be cleaned up by userdel when run
with the -r flag.
2020-03-11 20:00:09 +00:00
3f2bbcfa91
Merge pull request #229 from edneville/130_segfaults_on_strftime
...
Fix segfault on strftime
2020-03-09 13:17:11 -05:00
8a2e3d500c
Replacing exit with return
2020-03-09 18:01:32 +00:00
c48011d19c
Merge pull request #228 from blueskycs2c/br1
...
fix #223comment at #endif does not match condition of #if
2020-03-09 11:05:27 -05:00
ebe6def4b7
Merge pull request #230 from Frans-Spiesschaert/new_dutch_po_branch
...
updated Dutch translation
2020-03-09 11:00:45 -05:00
a8533719ed
updated Dutch translation
2020-03-07 21:55:53 +01:00
c667083c81
Fix segfault when time is unreadable
...
Adding myself to contributors
Closes #130
2020-03-07 17:08:19 +00:00
e5bb71b2fd
modify #endif does not match condition of #if in passwd.c
2020-03-05 10:51:39 +08:00
b2753b146a
man/Makefile.am: add HOME_MODE.xml
...
Closes #217
Signed-off-by: Serge Hallyn <shallyn@cisco.com >
2020-02-26 19:57:17 -06:00
724442c3af
Merge pull request #219 from infinnovation-dev/master
...
libmisc: Accept --root=path and --prefix=path option syntax
2020-02-26 19:34:13 -06:00
b6aaaba35e
Merge pull request #215 from imba-tjd/patch-1
...
man(zh_CN): fix typo 现实 -> 显示
2020-02-26 18:13:54 -06:00
fa6c58a773
Merge pull request #216 from ikerexxe/master
...
useradd: doesn't generate /var/spool/mail/$USER with the proper SELinux user identity
2020-02-23 18:00:23 -06:00
8a1e92aff1
useradd: generate /var/spool/mail/$USER with the proper SELinux user identity
...
Explanation: use set_selinux_file_context() and reset_selinux_file_context() for create_mail() just as is done for create_home()
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1690527
2020-02-19 15:28:41 +01:00
12ce42be44
libmisc: Accept --root=path and --prefix=path option syntax
...
Recognise --root=path in addition to --root path (and similarly for
--prefix) to match the syntax accepted by getopt_long.
Fixes #218
2020-02-07 21:57:12 +00:00
915cc6bb9c
man(zh_CN): fix typo 现实 -> 显示
2020-02-03 22:02:16 +08:00
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
142d788c81
update changelog
...
Signed-off-by: Serge Hallyn <shallyn@cisco.com >
2020-01-23 14:37:42 -06:00