Ops Development & AI Practice
Apr 28, 2024 · Operations
How to Run Commands as Non‑Login Users with su – No Shell Required
Learn how to use the Linux su command with the -s option to execute a single command as a non‑login user whose shell is set to /sbin/nologin or /bin/false, while preserving security and avoiding a full interactive shell session.
LinuxSecuritySystem Administration
0 likes · 4 min read
