1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 09:21:26 +03:00
The systemd System and Service Manager
Go to file
Chandradeep Dey 842067e675 homed: remove PAM_USER_UNKNOWN test in pam_sm_acct_mgmt
Why this change
---------------
Assumption - PAM's auth stack is properly configured.

Currently account pam_systemd_home.so returns PAM_SUCCESS for non
systemd-homed users, and a variety of return values (including
PAM_SUCCESS) for homed users.

account pam_unix returns PAM_AUTHINFO_UNAVAIL for systemd-homed
users, and a variety of return values (including PAM_AUTHINFO_UNAVAIL)
for normal users.

No possible combination in the pam stack can let us preserve the
various return values of the modules. For example, the configuration
mentioned in the manpage causes account pam_unix to never be reached
since pam_systemd_home just returns a success for ordinary users. Users
with expired passwords are allowed to log in because a check cannot be
made.

More configuration examples and why they don't work are mentioned
in #16906 and the downstream discussion linked there.

After this change
-----------------
account pam_unix will continue to return wrong value for homed users.
But we can skip the module conditionally using the return value from
account pam_systemd_home. We can already do this with the auth and
password modules.
2020-10-21 16:47:10 +02:00
.github github: ask for arch+kernel in bug report form 2020-10-02 12:38:28 +02:00
.lgtm/cpp-queries lgtm: complain about accept() [people should use accept4() instead, due to O_CLOEXEC] 2019-04-10 20:03:38 +02:00
.mkosi mkosi: include libfido2 binary package in mkosi manually for now 2020-09-19 18:06:45 +02:00
catalog tree-wide: update web link to logind description 2020-10-19 15:23:37 +02:00
coccinelle coccinelle: introduce drop-braces transformation 2020-10-09 15:02:20 +02:00
docs Merge pull request #17390 from keszybz/logind-notifications-and-links 2020-10-20 13:44:52 +09:00
factory/etc man: move 'files' module in NSS 'hosts:' line before myhostname 2020-08-17 18:55:59 +02:00
hwdb.d Merge pull request #17395 from keszybz/hwdb-drop-quotes 2020-10-21 11:34:39 +02:00
man cgtop: Display cpu time in microseonds with --raw 2020-10-21 14:29:48 +02:00
modprobe.d Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
network network: add TUN/TAP vt-* network rule for VMs 2020-04-17 19:15:00 +02:00
po tree-wide: update web link to logind description 2020-10-19 15:23:37 +02:00
presets preset: don't enable proc-sys-fs-binfmt_misc.mount 2020-10-19 12:33:39 +02:00
rules.d udev: merge rules for bluetooth device 2020-09-15 11:29:38 +09:00
semaphoreci semaphore: temporarily explicitly use the US image mirror 2020-10-20 12:39:25 +02:00
shell-completion shell-completion: add missing completions to meson.build 2020-10-05 08:05:41 +02:00
src homed: remove PAM_USER_UNKNOWN test in pam_sm_acct_mgmt 2020-10-21 16:47:10 +02:00
sysctl.d sysctl: set kernel.core_pipe_limit=16 2020-10-13 09:31:13 +02:00
sysusers.d systemd-oomd: service files 2020-10-07 17:12:24 -07:00
test tree-wide: update web link to logind description 2020-10-19 15:23:37 +02:00
tmpfiles.d tmpfiles: don't complain if we can't enable pstore in containers 2020-05-25 16:43:35 +02:00
tools hwdb: add trailing ":*" everywhere 2020-10-15 18:01:32 +02:00
travis-ci travis: compile with -O1 with clang 2020-07-21 02:00:04 +09:00
units Merge pull request #16939 from Rahix/robust-first-boot-machine-id 2020-10-20 14:01:41 +09:00
xorg scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.clang-format Remove FOREACH_WORD and friends 2020-09-09 09:34:55 +02:00
.ctags editors: Prevent ctags from following symlinks 2019-02-15 11:01:20 -08:00
.dir-locals.el scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.editorconfig editorconfig: add man configuration 2020-05-26 15:37:05 +02:00
.gitattributes git: indicate that tabs are never OK in the systemd tree 2013-10-30 02:25:38 +01:00
.gitignore mkosi: Keep mkosi.default out of the repository. 2020-07-16 21:44:02 +01:00
.lgtm.yml lgtm: drop the TMPDIR/meson workaround 2020-03-03 20:27:42 +01:00
.mailmap NEWS: update contributors list for v246-pre 2020-07-23 17:30:54 +02:00
.travis.yml coverity: switch back to Fedora 31 2020-07-12 22:00:16 +00:00
.vimrc scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.ycm_extra_conf.py ycm: add doc string for all the functions in configuration file 2017-11-29 13:21:49 -07:00
azure-pipelines.yml Free up some resources on Azure Pipelines 2019-07-17 13:28:38 +09:00
configure treewide: more portable bash shebangs 2020-03-05 17:27:07 +01:00
LICENSE.GPL2 relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
LICENSE.LGPL2.1 licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
Makefile build-sys: Fix Makefile wrapper for install target (#6548) 2017-08-07 11:29:20 +02:00
meson_options.txt meson: enable oomd by default in developer mode 2020-10-15 15:53:57 +02:00
meson.build Merge pull request #17297 from keszybz/tmpfiles-sysusers-disable-standalone-image 2020-10-20 23:07:16 +02:00
mkosi.build mkosi: Unify environment for unit tests 2020-04-22 10:35:12 +02:00
NEWS NEWS: fix typo 2020-10-19 02:46:07 -07:00
README meson: add min version for libfdisk 2020-08-19 10:18:33 +02:00
README.md README.md: update CentOS CI badges 2020-10-06 13:59:52 +02:00
TODO update TODO 2020-10-20 14:46:55 +02:00
zanata.xml po: add basic fedora.zanata.org configuration 2018-02-19 13:56:57 +01:00

Systemd

System and Service Manager

Count of open issues over time Count of open pull requests over time Semaphore CI Build Status
Coverity Scan Status
OSS-Fuzz Status
CIFuzz
CII Best Practices
Travis CI Build Status
Language Grade: C/C++
CentOS CI - CentOS 7
CentOS CI - Arch
CentOS CI - Arch (sanitizers)
Build Status
Fossies codespell report
Packaging status

Details

Most documentation is available on systemd's web site.

Assorted, older, general information about systemd can be found in the systemd Wiki.

Information about build requirements is provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the Hacking guide for information on how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list or join our IRC channel.

Stable branches with backported patches are available in the stable repo.