Browsing category

How To’s

How To Delete / Remove Users in Linux Using the userdel Command

As a Linux system administrator, one of the primary responsibility is to manage the users and groups on Linux systems. User management includes creating users, modifying existing users and deleting users. Deleting / Removing a user account is the most important task for an administrator when any user leaves from an organization. This post explains […]

How To Modify User Accounts in Linux Using usermod Command

Linux administrators often receive requests to create users in Linux unless the organization uses LDAP and also to modify or change existing user’s attributes. As a Linux administrator, you should be well versed with creating users, removing users, and modifying users in Linux. This post explains to you how to modify user accounts in Linux […]

How To Create a Sudo User On CentOS, Ubuntu & Debian

The sudo (substitute user do or superuser do) command is a program that allows users to run commands as another user, by default the superuser ie root. The sudo command is mostly used to perform administrative tasks by regular users executing commands as the root user. In this post, we see how to create a […]

How To Create Users in Linux Using useradd / adduser Command

If you are a Linux system admin who administers Linux servers, you are very frequently asked to create users in Linux unless the organization uses LDAP. As a Linux administrator, you should be well versed with creating and removing users, assigning users to different groups in Linux. This post explains to you how to create […]

BASH Functions – Shell Scripting

A BASH Function is a set of commands used to perform a specific task within a script. This function can be reused anywhere in your script to perform that particular task several times. The function saves our time by the need of writing the same code over and over again with write it once and […]