How To Add and Delete Users on an Ubuntu 14.04 VPS
How To Add and Delete Users on an Ubuntu 14.04 VPS
If you have a VPS running Ubuntu 14.04, you may need to add or delete users from time to time. This tutorial will guide you through the process.
Adding a User
To add a new user, follow these steps:
- Log in to your VPS as the root user
- Use the following command to create a new user:
adduser newusername - Set a password for the new user by entering the following command:
passwd newusername - You can now log in as the new user using SSH.
Deleting a User
If you need to delete a user, follow these steps:
- Log in to your VPS as the root user
- Use the following command to delete the user and all of their files:
userdel -r username
That's it! You now know how to add and delete users on an Ubuntu 14.04 VPS.
Keywords: Ubuntu, 14.04, VPS, users, add, delete.
Комментарии
Отправить комментарий