chpass
Verified for current stable LTS
Chpass Command: Set Login Shell Current User
Use for set login shell current user with Chpass. Exact CLI syntax to set login shell current user using Chpass.
When to use this: Use for set login shell current user with Chpass.
Command Syntax
doas chpass -s <path/to/shell> doas chpass -s <path/to/shell> Live Command Builder
Final Command
doas chpass -s <path/to/shell> Command Breakdown
-s- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to set login shell current user using Chpass.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Chpass Command: Add Change User Db Info Current User Osx
su -c chpass Chpass Command: Authenticate Directory Node Using Username Osx chpass -u <authname> -s <path/to/shell> <username> Chpass Command: Change Account Expire Time Freebsd su -c 'chpass -e <time> <username>' Chpass Command: Change User Info Interactively Freebsd su -c chpass Chpass Command: Change User Password Freebsd su -c 'chpass -p <encrypted_password> <username>'