Skip to content

Users in Linux – how to create, delete, list them and grant sudo

Users in Linux on a VPS. How to create a user with the adduser and useradd commands, set a password, grant sudo rights, list users and groups, switch to another user and delete it. Tested on Debian 12.