Chpass
lastmod 2026-11-10created 2020-08-262 edits
chpass is a command on BSD-family Unix systems that opens a user database entry in an editor for modification. It can change information such as the login shell, real name, home directory, and password expiration all at once, and chfn and chsh are the same program invoked under different names to change only specific fields. On Linux, similar functionality is split across chfn, chsh, and usermod.
chpass, chfn, chsh -- add or change user database information