mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 10:51:20 +03:00
33eb44fe4a
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 |
||
---|---|---|
.. | ||
sysvinit | ||
var-log | ||
_config.yml | ||
BOOT_LOADER_SPECIFICATION.md | ||
CGROUP_DELEGATION.md | ||
CNAME | ||
CODE_OF_CONDUCT.md | ||
CODE_QUALITY.md | ||
CODING_STYLE | ||
CONTRIBUTING.md | ||
DISTRO_PORTING.md | ||
ENVIRONMENT.md | ||
HACKING | ||
index.md | ||
PORTABLE_SERVICES.md | ||
RELEASE.md | ||
TRANSIENT-SETTINGS.md | ||
TRANSLATORS.md | ||
UIDS-GIDS.md |