mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
Remove allowed shell check from swayrun
Because swayrun should be run from a safe environment, validating the user's shell against /etc/shells seems unnecessary.
This commit is contained in:
parent
f1d64f811d
commit
eb22dee79c
3 changed files with 5 additions and 44 deletions
|
|
@ -11,16 +11,11 @@ _swayrun_ [options...] [command]
|
|||
# DESCRIPTION
|
||||
|
||||
Attempts to run *sway*(1) via the user's login shell. This allows environment
|
||||
configuration and other login actions, for example when run via a login manager.
|
||||
configuration and other login actions, for example when run via a display manager.
|
||||
|
||||
All arguments to swayrun will be passed through unaltered to sway.
|
||||
|
||||
If a valid login shell cannot be determined, sway will be executed normally.
|
||||
|
||||
# CONFIGURATION
|
||||
|
||||
swayrun will consult */etc/shells* if it exists for a list of valid login
|
||||
shells. In addition, *false* and *nologin* will be considered invalid shells.
|
||||
If a login shell cannot be determined, sway will be executed normally.
|
||||
|
||||
# ENVIRONMENT
|
||||
|
||||
|
|
@ -31,4 +26,4 @@ _SHELL_
|
|||
|
||||
# SEE
|
||||
|
||||
*sway*(1) *shells*(5)
|
||||
*sway*(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue