nologin
Verified for current stable LTS
Nologin Command: Set User Login Shell To Nologin
Use for set user login shell to nologin with Nologin. Exact CLI syntax to set user login shell to nologin using Nologin.
When to use this: Use for set user login shell to nologin with Nologin.
Command Syntax
chsh -s <user> nologin chsh -s <user> nologin Live Command Builder
Final Command
chsh -s <user> nologin Command Breakdown
-s- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to set user login shell to nologin using Nologin.
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
Nologin Command: Customize Nologin Message
echo "<declined_login_message>" > /etc/nologin.txt Ed Command: Start Interactive Editor Quiet Script ed -q -s Git Symbolic Ref Command: Hide Errors And Simplify Output git symbolic-ref -q --short refs/<name> Ed Command: Start Interactive Editor Loose Exit Status ed -l 7zr Command: Extract An Archive To Stdout 7zr x <path/to/archive.7z> -so