How to Lock user account in Linux/ how to Unlock user account in Linux

Locking and Unlocking user in linux

In this post we will learn about how to lock and unlock user account in linux. With the help of two commands you can lock and unlock the user account in linux. We will also know, how to find the user account has lock and unlock status.

How to set expiry date for user in Linux

How to set expiry date for user in linux

In Previous tutorial we learn about how to add a new  user and how to set passwd to user in linux now we will learn about changing the password parameters in linux.

For changing of the password parameters and set expiry date you need to use the chage command. It will display password expiry information as well as changes the number of days between password changes and the date of the last password change. This information is used by the system to determine when a user must change his or her password.

How to use VI or VIM in Linux/Unix ?


VIM EDITOR                            

·                                      VI -- Visual display editor
·                                      VIM -- Visual Display Editor Improved

Description

Vim is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing programs.
This is command mode editor for files. Other editor in Linux are emacs, gedit.
Vi editor is most popular editor in Linux/Unix.