Skip to content

Setting up a technical user

Add user

useradd <name>

Disable login shell

usermod -s /bin/false <name>

Info

Consider SSH Allow and Deny lists, as well as permitting only certificate-based logins.

Execute commands as user

sudo su -s <shell> <username>