1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.nl/openbsd/chpass.md
Alexandre ZANNI 4c02fad4a2
chpass: fix non-existent sub-command and use of aliases (#16225)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-04-25 23:50:27 +05:30

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:...}}`