Sticky Bit Permissions with Linux

This is a special kind of permission in Linux think of a situation where you need a conman shared folder where all users can create files but these users can only modify the files which are owned / created by them. It is actually possible. This can be achieved by setting Sticky Bit on that…

Managing file and Directory Permissions in Linux

Permission are crucial part of every system. After creating files and directories you need to set the proper permissions on file and directories so that they can be accessed by required users/groups. In Linux permissions are managed by chmod and chown commands. Permission in Linux In Linux there are Following three basic Permissions: ReadWriteExecute While…

Best Practical examples of using “usermod” Command

In Linux creating new user accounts is one thing managing and modifying them overtime according to needs is another, this is when usermod command comes in picture, usermod command can be used to modify all kind of properties of a user account including changing home directory, shell, making account active or inactive etc.   In…

Best Practical examples of using “useradd” Command

User management is one of the most important part of Linux administration. Its everyday job for Linux administrator to create, delete, activate, deactivate and perform other modification operations on users accounts. adduser / useradd are the commands that are used to manage user accounts. adduser command is more interactive it will as you for the…

Users and Groups Management in Linux

User and group management is one of the most basic and crucial part of Linux administration. It covers things like creating, altering. enabling and disabling users, adding or moving users into different groups, creating groups, defining the permissions for users and groups. This article is about how you can manage users and groups in Linux.As…

How to disable password prompt for “sudo” users

The passwords are for security but sometimes they become annoying to you may want to disable password prompt for sudo user because you have already setup key based authentication or you don’t want system to ask for password once you successfully login to it. Following is how you can disable sudo password prompt. Edit the…

How to Setup password less Login on Linux

Password less or Key based authentication is when you don’t need to provide the password to login to another system, instead password you provide the private key. In passwordless authentication you don’t need to worry about remembering / managing your password but still you need to keep you private key safe. Following are the steps…