Configuring root privileges for users with sudo

The Ubuntu Desktop or Server is installed with default root user; even on a cloud, you will get preinstalled Ubuntu server with an inbuilt root user. This account has full administrative access to perform administrative tasks. But sometimes, you need a different user...

Managing file permissions in Linux Operating System

We have created users and groups. In this recipe, you will work with default file permissions for users and groups, as well as see how to modify those permissions. Getting ready Create two users, user1 and user2. Create new group editor and...

Delete a user account from Ubuntu Desktop or Server

If you no longer need a user account, it is good idea to delete that account. Getting ready You will need super user or root privileges to delete a group from the Ubuntu server. How to do it… Follow these steps to delete the user account: Enter the following command...