Skip to main content

Users and Groups in Linux - 5

shadow

The shadow file is mainly used for store Linux User's login passwords as encrypted. It located in /etc/shadow. It's encrypted passwords. So we can't use this passwords straightly for login. The root user only can access this file anything view are edit. Other user don't have permission to view this file.

Location : /etc/shadow

Fields : 
shadow


1 - UserName : It is name of user which we created or superuser or system user.

2 - Encrypted Password : It is current hash of the user's encrypted password.

3 - Last Password Change : It is date of last password changed from 1 Jan 1970. It is UNIX time format (Epoch). You can know more about it here. The encrypted password consists of 13 to 24 characters from the 64 characters alphabet a thru z, A thru Z, 0 thru 9, \. and /. Optionally it can start with a "$" character. This means the encrypted password was generated using another (not DES) algorithm. For example if it starts with "$1$" it means the MD5-based algorithm was used. If in encrypted password edited with ! or *, the user will not be able to use a unix password to log in.

4 - Days until Password change allowed: Till this date the user can change their password.

5 - Days before password change required : After this date the user is forced to change password.

6 - Days warning for password change : How many days want to warn user before the password expire.

7 - Days before account inactive : How many number of days the user can active after password expire .

8 - Days since account expires : The correct day when the login disabled from Jan 1 1970.

9 - Reserved : This is reserved for future use.


* Use man pages for more help.

Comments

Popular posts from this blog

Install and Uninstall VMware .bundle in Redhat - RHEL 6

Here the steps for Install and Uninstall VMware .bundle in Redhat and also Linux. I have checked with RHEL 6.

For install :
Login in as root user, Type following command

~]# sh VMware-***.bundle

Here *** will be your software and it's version.

This command will display normal GUI installation. Choose option as your wish.

For Uninstall :
Login in as root user, Type following command


~]# vmware-installer -l

This will display your product name and product version installed by VMware.

Ex:
*
*
*
Product Name         Product Version    
========== ==============
vmware-player        4.0.1.528992   

Note Name and Version, Use following command to uninstall

~]# vmware-installer -u {product-name} {product-version}

Ex:
~]# vmware-installer -u vmware-workstation 8.0.1.528992

Now you can uninstall with GUI.

* This is common for all VMware .bundle installation files. Ex: VMware-Workstation, VMware-Player etc.

Play NFS (Need For Speed) or other Games on Full Screen in Laptop with Windows 7

Now a days most of people playing NFS serious (NFS Most Wanted , NFS Carbon etc.) in Laptop.

We are facing the problem that NFS game does not play in full screen mode. It have some black bar at both right and left side.

We can fix it with simple steps, For this your video driver should be installed with it's "Graphics & Media Control Panel" application.

Here i have explained it with screen shot. It'll be mostly same for Intel boards. Settings for other video drivers may differ. You may need to search for it in their graphics control panel.


Step 1 :

Click aero button at right bottom corner for show available notifications and running process. There is Graphics & Media Control Panel Icon.
If it is not avaliable there, you can get it from "Windows Control Panel". It'll open your "Graphics & Media Control Panel".


Step 2 :

Click Graphics & Media Control Panel icon and choose Graphics Properties...


Step 3:

Under Intel Graphics and …