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.
