chsh: remove sudo where not needed (#13746)
This commit is contained in:
@@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
- Stel een specifieke login shell interactief in voor de huidige gebruiker:
|
- Stel een specifieke login shell interactief in voor de huidige gebruiker:
|
||||||
|
|
||||||
`sudo chsh`
|
`chsh`
|
||||||
|
|
||||||
- Stel een specifieke login[s]hell in voor de huidige gebruiker:
|
- Stel een specifieke login[s]hell in voor de huidige gebruiker:
|
||||||
|
|
||||||
`sudo chsh --shell {{pad/naar/shell}}`
|
`chsh --shell {{pad/naar/shell}}`
|
||||||
|
|
||||||
- Stel een login[s]hell in voor een specifieke gebruiker:
|
- Stel een login[s]hell in voor een specifieke gebruiker:
|
||||||
|
|
||||||
@@ -18,4 +18,4 @@
|
|||||||
|
|
||||||
- Toon ([l]) beschikbare shells:
|
- Toon ([l]) beschikbare shells:
|
||||||
|
|
||||||
`sudo chsh --list-shells`
|
`chsh --list-shells`
|
||||||
|
@@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
- Set a specific login shell for the current user interactively:
|
- Set a specific login shell for the current user interactively:
|
||||||
|
|
||||||
`sudo chsh`
|
`chsh`
|
||||||
|
|
||||||
- Set a specific login [s]hell for the current user:
|
- 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:
|
- Set a login [s]hell for a specific user:
|
||||||
|
|
||||||
@@ -18,4 +18,4 @@
|
|||||||
|
|
||||||
- [l]ist available shells:
|
- [l]ist available shells:
|
||||||
|
|
||||||
`sudo chsh --list-shells`
|
`chsh --list-shells`
|
||||||
|
Reference in New Issue
Block a user