chsh: remove sudo where not needed (#13746)
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
|
||||
- Set a specific login shell for the current user interactively:
|
||||
|
||||
`sudo chsh`
|
||||
`chsh`
|
||||
|
||||
- Set a specific login [s]hell for the current user:
|
||||
|
||||
`sudo chsh --shell {{path/to/shell}}`
|
||||
`chsh --shell {{path/to/shell}}`
|
||||
|
||||
- Set a login [s]hell for a specific user:
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
|
||||
- [l]ist available shells:
|
||||
|
||||
`sudo chsh --list-shells`
|
||||
`chsh --list-shells`
|
||||
|
Reference in New Issue
Block a user