Ubuntu Articles

How to secure user accounts in Ubuntu

In this script, we will look at ways to make user profiles more secure. Follow these steps to secure the user account: Set a strong password policy with the following steps: Open the /etc/pam.d/common-password file with GNU nano: $ sudo nano...

Creating and removing users in Ubuntu Linux

Creating users in Ubuntu can be done with one of two commands: adduser and useradd. This can be a little confusing at first, because both of these commands do the same thing (in different ways) and are named very similarly. I’ll go over the useradd command first 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...