1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 10:51:20 +03:00
systemd/docs
Andreas Henriksson 33eb44fe4a sulogin-shell: Use force if SYSTEMD_SULOGIN_FORCE set
When the root account is locked sulogin will either inform you of
this and not allow you in or if --force is used it will hand
you passwordless root (if using a recent enough version of util-linux).

Not being allowed a shell is ofcourse inconvenient, but at the same
time handing out passwordless root unconditionally is probably not
a good idea everywhere.

This patch thus allows to control which behaviour you want by
setting the SYSTEMD_SULOGIN_FORCE environment variable to true
or false to control the behaviour, eg. via adding this to
'systemctl edit rescue.service' (or emergency.service):

[Service]
Environment=SYSTEMD_SULOGIN_FORCE=1

Distributions who used locked root accounts and want the passwordless
behaviour could thus simply drop in the override file in
/etc/systemd/system/rescue.service.d/override.conf

Fixes: #7115
Addresses: https://bugs.debian.org/802211
2018-10-17 20:30:10 +02:00
..
sysvinit docs: move doc/ to docs/ 2018-09-08 13:39:03 -07:00
var-log docs: move doc/ to docs/ 2018-09-08 13:39:03 -07:00
_config.yml Set theme jekyll-theme-primer 2018-10-16 17:43:54 +02:00
BOOT_LOADER_SPECIFICATION.md docs: move doc/ to docs/ 2018-09-08 13:39:03 -07:00
CGROUP_DELEGATION.md docs: clarify controller mount logic in hybrid cgroups mode 2018-09-25 11:00:57 +02:00
CNAME Create CNAME 2018-10-12 13:48:34 +02:00
CODE_OF_CONDUCT.md Docs: Update CoC with email alias for David Strauss 2018-10-02 09:22:45 -07:00
CODE_QUALITY.md docs: move doc/ to docs/ 2018-09-08 13:39:03 -07:00
CODING_STYLE docs: move doc/ to docs/ 2018-09-08 13:39:03 -07:00
CONTRIBUTING.md docs: move markdown docs from .github/ to docs/ 2018-09-08 13:39:03 -07:00
DISTRO_PORTING.md docs: convert DISTRO_PORTING to Markdown 2018-09-08 13:39:03 -07:00
ENVIRONMENT.md sulogin-shell: Use force if SYSTEMD_SULOGIN_FORCE set 2018-10-17 20:30:10 +02:00
HACKING docs: fix CONTRIBUTING path (#10160) 2018-09-25 06:25:48 +09:00
index.md docs: add a simple, auto-generated index.md 2018-10-02 10:43:54 +02:00
PORTABLE_SERVICES.md man,docs: document the new unit file directory for attached images 2018-10-08 18:49:45 +02:00
RELEASE.md docs: move markdown docs from .github/ to docs/ 2018-09-08 13:39:03 -07:00
TRANSIENT-SETTINGS.md Make Watchdog Signal Configurable 2018-09-26 16:14:29 +02:00
TRANSLATORS.md docs: convert TRANSLATORS to Markdown 2018-09-08 13:40:19 -07:00
UIDS-GIDS.md docs: move doc/ to docs/ 2018-09-08 13:39:03 -07:00