mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
21 lines
638 B
Markdown
21 lines
638 B
Markdown
# chpass
|
|
|
|
> Gebruikersdatabase informatie toevoegen of wijzigen, inclusief login shell en wachtwoord.
|
|
> Bekijk ook: `passwd`.
|
|
> Meer informatie: <https://man.openbsd.org/chpass>.
|
|
|
|
- Stel interactief een specifieke login shell in voor de huidige gebruiker:
|
|
|
|
`doas chpass`
|
|
|
|
- Stel een specifieke login [s]hell in voor de huidige gebruiker:
|
|
|
|
`doas chpass -s {{pad/naar/shell}}`
|
|
|
|
- Stel een login [s]hell in voor een specifieke gebruiker:
|
|
|
|
`doas chpass -s {{pad/naar/shell}} {{gebruikersnaam}}`
|
|
|
|
- Specificeer een gebruikersdatabase entry in het `passwd` bestandsformaat:
|
|
|
|
`doas chpass -a {{gebruikersnaam:gecodeerd_wachtwoord:uid:gid:...}}`
|