<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Linux-for-Sys-Ads%2FC2%2FUser-Password-Management%2FEnglish-timed</id>
		<title>Linux-for-Sys-Ads/C2/User-Password-Management/English-timed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Linux-for-Sys-Ads%2FC2%2FUser-Password-Management%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux-for-Sys-Ads/C2/User-Password-Management/English-timed&amp;action=history"/>
		<updated>2026-04-26T15:18:40Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Linux-for-Sys-Ads/C2/User-Password-Management/English-timed&amp;diff=56034&amp;oldid=prev</id>
		<title>PoojaMoolya: Created page with &quot;{| border=1 |- || '''Time''' || '''Narration'''  |- || 00:01 || Hello and welcome to the spoken tutorial on '''User''' '''Password Management '''in''' Linux.'''  |- ||00:08 ||...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux-for-Sys-Ads/C2/User-Password-Management/English-timed&amp;diff=56034&amp;oldid=prev"/>
				<updated>2022-09-07T07:27:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| border=1 |- || &amp;#039;&amp;#039;&amp;#039;Time&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;&amp;#039;Narration&amp;#039;&amp;#039;&amp;#039;  |- || 00:01 || Hello and welcome to the spoken tutorial on &amp;#039;&amp;#039;&amp;#039;User&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;Password Management &amp;#039;&amp;#039;&amp;#039;in&amp;#039;&amp;#039;&amp;#039; Linux.&amp;#039;&amp;#039;&amp;#039;  |- ||00:08 ||...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| border=1&lt;br /&gt;
|-&lt;br /&gt;
|| '''Time'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:01&lt;br /&gt;
|| Hello and welcome to the spoken tutorial on '''User''' '''Password Management '''in''' Linux.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||00:08&lt;br /&gt;
|| In this tutorial we will learn about&lt;br /&gt;
&lt;br /&gt;
Changing''' user password'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:14&lt;br /&gt;
|| Locking and unlocking a '''password'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:17&lt;br /&gt;
||'''Password '''removal&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:20&lt;br /&gt;
|| Changing the '''password '''expiry information&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:24&lt;br /&gt;
|| We will do this through some examples.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:28&lt;br /&gt;
|| To record this tutorial, I am using '''Ubuntu Linux 16.04 OS'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:35&lt;br /&gt;
|| To practice this tutorial, you should have gone through earlier '''Linux System Administration '''tutorials''' '''on this website and&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:46&lt;br /&gt;
|| You must have '''root access''' to your computer.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:51&lt;br /&gt;
|| In this tutorial we will learn about '''passwd command'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:56&lt;br /&gt;
|| As the name suggests, '''passwd command''' is used to change the '''password''' of '''users'''.&lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
|| 01:04&lt;br /&gt;
|| Earlier in the series, we had created a '''user amit.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:09&lt;br /&gt;
|| Now suppose he forgot his '''password.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:13&lt;br /&gt;
|| So as a '''system administrator''', you have to reset his '''password'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:19&lt;br /&gt;
|| Let’s learn how to do this.&lt;br /&gt;
|-&lt;br /&gt;
|| 01:22&lt;br /&gt;
|| Open the '''Terminal '''by pressing '''Ctrl, Alt and T '''keys simultaneously on the keyboard.&lt;br /&gt;
|-&lt;br /&gt;
|| 01:31&lt;br /&gt;
|| First, we should login as the '''superuser '''or '''root user'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:37&lt;br /&gt;
|| To do so type: '''sudo space su '''&lt;br /&gt;
&lt;br /&gt;
And press '''Enter.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 01:45&lt;br /&gt;
|| Type our '''password '''and then press '''Enter'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 01:50&lt;br /&gt;
|| Notice, our '''login prompt '''has changed to''' '''a '''hash''' symbol.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:55&lt;br /&gt;
|| This indicates that we are in the '''root user '''mode.&lt;br /&gt;
|-&lt;br /&gt;
|| 02:00&lt;br /&gt;
|| Here onwards, please remember to press the '''Enter''' key after typing each '''command'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 02:07&lt;br /&gt;
|| On the '''terminal '''type '''passwd space amit '''&lt;br /&gt;
|-&lt;br /&gt;
|| 02:13&lt;br /&gt;
|| It will ask you to type a new '''password'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:17&lt;br /&gt;
|| Type the new '''password''',  say '''new_pass''' and press '''Enter.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:24&lt;br /&gt;
|| Retype the same '''password''' and press '''Enter '''again.&lt;br /&gt;
|-&lt;br /&gt;
|| 02:29&lt;br /&gt;
|| The '''password '''has now changed.&lt;br /&gt;
|-&lt;br /&gt;
|| 02:32&lt;br /&gt;
|| As a '''system admin''', you may need to change the '''password''' for the '''root account''' itself.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:38&lt;br /&gt;
|| To do so, you should type '''passwd '''and press '''Enter.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:43&lt;br /&gt;
|| When prompted, you should type your new '''password''' and press '''Enter.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 02:49&lt;br /&gt;
|| It will prompt you to type the '''password''' once again. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:53&lt;br /&gt;
|| So retype the same '''password '''and press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:58&lt;br /&gt;
|| You will get a message that the '''password '''has been updated successfully.&lt;br /&gt;
|-&lt;br /&gt;
|| 03:04&lt;br /&gt;
|| '''Password status '''information related to a '''user account''' can be displayed, as well.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:11&lt;br /&gt;
|| This is done by using''' hyphen capital S''' with the '''passwd command.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 03:18&lt;br /&gt;
|| Switch to the '''terminal.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 03:21&lt;br /&gt;
|| Type '''passwd space hyphen '''capital '''S space amit'''&lt;br /&gt;
|-&lt;br /&gt;
|| 03:28&lt;br /&gt;
|| The output shows seven space separated '''fields'''. &lt;br /&gt;
&lt;br /&gt;
Let us understand them one by one.&lt;br /&gt;
|-&lt;br /&gt;
|| 03:36&lt;br /&gt;
|| Suppose, your output shows this.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:40&lt;br /&gt;
|| The first '''field''' is the '''username'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:44&lt;br /&gt;
|| The second '''field''' indicates whether the '''user account''':&lt;br /&gt;
&lt;br /&gt;
has a '''locked password (L), '''  has no '''password (NP), ''' or has a usable '''password (P)'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:58&lt;br /&gt;
|| The third '''field '''gives the date of the last''' password change'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:04&lt;br /&gt;
|| Fourth to seventh '''fields''' indicate '''password''' expiry information.&lt;br /&gt;
|-&lt;br /&gt;
|| 04:10&lt;br /&gt;
|| The '''fields''' are '''minimum age, maximum age, warning period, '''and''' inactivity period''' for the '''password'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:22&lt;br /&gt;
|| These '''ages''' are expressed in days.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:26&lt;br /&gt;
|| We will discuss these in a couple of minutes.&lt;br /&gt;
|-&lt;br /&gt;
|| 04:30&lt;br /&gt;
|| Notice '''user amit''' now has a '''usable password'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:35&lt;br /&gt;
|| We have changed our '''password''' just now.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:39&lt;br /&gt;
|| So, the third '''field''' is showing today’s date 16th Jan 2019.&lt;br /&gt;
&lt;br /&gt;
It may be different in your case.&lt;br /&gt;
|-&lt;br /&gt;
|| 04:50&lt;br /&gt;
|| As a '''system admin''', you may need to check the '''password status '''of all the '''user accounts'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:57&lt;br /&gt;
|| For this, we will use the option '''small a''' along with '''capital S'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:04&lt;br /&gt;
|| Type '''passwd space hyphen small a capital S'''&lt;br /&gt;
|-&lt;br /&gt;
|| 05:12&lt;br /&gt;
|| Notice, the '''password status '''of the '''user accounts '''are shown here.&lt;br /&gt;
|-&lt;br /&gt;
|| 05:18&lt;br /&gt;
|| Now, as a '''system admin '''you may need to lock a '''user’s password '''for some reason.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:25&lt;br /&gt;
|| To lock the '''password''' for '''user amit,'''  type '''passwd space hyphen l space amit'''&lt;br /&gt;
|-&lt;br /&gt;
|| 05:36&lt;br /&gt;
|| Press the '''up arrow key''' thrice to get back the command for showing '''password status '''of user''' amit.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:44&lt;br /&gt;
|| Notice, the '''status '''is now '''L'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:48&lt;br /&gt;
|| This means the '''password '''is locked now.&lt;br /&gt;
|-&lt;br /&gt;
|| 05:52&lt;br /&gt;
|| We also know about '''/etc/shadow file'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:58&lt;br /&gt;
|| It stores the '''encrypted''' values of all '''users’ passwords.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:03&lt;br /&gt;
|| Type '''cat space /etc/shadow'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:12&lt;br /&gt;
|| Notice, you have an '''exclamation mark''' added before the '''encrypted password''' for the '''user amit.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:20&lt;br /&gt;
|| Now, this '''password field''' cannot be matched by any possible '''encrypted''' value.&lt;br /&gt;
|-&lt;br /&gt;
|| 06:27&lt;br /&gt;
||  Note that, this will not disable the '''user account.'''  It will simply lock the '''password'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 06:34&lt;br /&gt;
||  So now the '''user''' cannot use this '''password''' to '''login''' to the '''system.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:40&lt;br /&gt;
||  The '''user '''cannot change the '''password'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||06:44&lt;br /&gt;
|| But, the '''user '''can''' '''still '''login '''to the '''user account '''by any other mechanism.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:51&lt;br /&gt;
||  It is possible to do so by other ways, which do not refer to the '''passwd file'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:58&lt;br /&gt;
||  For example: '''ssh key authentication'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:03&lt;br /&gt;
|| '''Login '''through '''ssh key authentication''' will be covered in subsequent tutorials.&lt;br /&gt;
|-&lt;br /&gt;
|| 07:09&lt;br /&gt;
|| Now, to unlock the '''password''', type: '''passwd space hyphen u space amit'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:19&lt;br /&gt;
|| This will restore the '''password''' to its original value. &lt;br /&gt;
|-&lt;br /&gt;
|| 07:24&lt;br /&gt;
|| Recall the '''command '''for showing the '''password status '''for the user '''amit'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||07:30&lt;br /&gt;
|| Notice, the '''Status '''is now '''P'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:34&lt;br /&gt;
|| Which means that the '''password '''is usable now.&lt;br /&gt;
|-&lt;br /&gt;
|| 07:38&lt;br /&gt;
|| Recall the '''command '''to display '''/etc/shadow file.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:45&lt;br /&gt;
|| Notice that the''' exclamation mark''' is removed now for the '''user amit'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:51&lt;br /&gt;
|| It means the '''password '''is not locked anymore.&lt;br /&gt;
|-&lt;br /&gt;
|| 07:56&lt;br /&gt;
|| As system admin, you can delete a '''user’s password '''also.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:02&lt;br /&gt;
|| To delete the '''password '''for '''user amit''', type&lt;br /&gt;
&lt;br /&gt;
'''passwd space -d space amit'''&lt;br /&gt;
|-&lt;br /&gt;
|| 08:12&lt;br /&gt;
|| So, the '''password '''for the '''user amit '''has been removed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:17&lt;br /&gt;
|| It is a quick way to disable a '''user’s password.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 08:21&lt;br /&gt;
|| Recall the '''command '''for showing the '''password status '''for the user '''amit'''&lt;br /&gt;
|-&lt;br /&gt;
|| 08:27&lt;br /&gt;
|| Notice that the '''password status '''is now '''NP'''. &lt;br /&gt;
&lt;br /&gt;
So, '''password '''is not set for '''user amit.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 08:37&lt;br /&gt;
|| Next, let’s look at '''password '''expiry information.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:42&lt;br /&gt;
||  To display the '''user’s password '''expiry information, we had used '''passwd hyphen capital S '''option&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:52&lt;br /&gt;
||  We can also use''' chage command '''with the option '''small L'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:59&lt;br /&gt;
||  This gives the output in a more user-friendly format.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:04&lt;br /&gt;
|| To view the information about''' user amit, '''switch to the '''terminal''' and type:&lt;br /&gt;
&lt;br /&gt;
'''chage space hyphen l space amit'''&lt;br /&gt;
|-&lt;br /&gt;
|| 09:17&lt;br /&gt;
|| Notice that we have a lot of information in the output.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:22&lt;br /&gt;
|| Let us look at them one by one.&lt;br /&gt;
|-&lt;br /&gt;
|| 09:25&lt;br /&gt;
|| See, it is showing the minimum number of days between '''password change''' as 0&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:32&lt;br /&gt;
|| A value of 0 indicates that the '''user''' is allowed to change his or her '''password '''anytime.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:40&lt;br /&gt;
|| The system admin can set minimum number of days between '''password changes '''using '''passwd '''with '''-n''' option. &lt;br /&gt;
|-&lt;br /&gt;
|| 09:50&lt;br /&gt;
|| Let us set this, so that the '''user amit '''can change his '''password '''only after 30 days from the previous one. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:59&lt;br /&gt;
|| To do that, type  '''passwd space -n space 30 space amit'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:09&lt;br /&gt;
|| Recall the '''chage command '''for the user '''amit'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:13&lt;br /&gt;
|| So now, '''amit''' is allowed to change his '''password''' only after 30 days.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:20&lt;br /&gt;
|| Notice, maximum number of days between '''password change''' is shown as 99999 days.&lt;br /&gt;
&lt;br /&gt;
It is a very long time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:32&lt;br /&gt;
|| It practically means that the '''password''' will never expire.&lt;br /&gt;
|-&lt;br /&gt;
|| 10:37&lt;br /&gt;
|| To customize the maximum number of days for which the '''user password''' remains valid, use '''-x option'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:45&lt;br /&gt;
|| So let us change the setting such that '''user amit'''’s '''password '''is set to a maximum of 180 days.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:55&lt;br /&gt;
|| Type: '''passwd space hyphen x space 180 space amit'''&lt;br /&gt;
|-&lt;br /&gt;
|| 11:04&lt;br /&gt;
|| Recall the '''chage command '''for the user '''amit'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 11:08&lt;br /&gt;
|| This message indicates that '''amit’s password '''will be valid for 180 days only.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 11:15&lt;br /&gt;
|| After 180 days, '''user amit '''will have to change his '''password'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 11:21&lt;br /&gt;
|| Notice, for now, the '''user '''will get a warning message 7 days before the '''password '''expires. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 11:29&lt;br /&gt;
|| You can also set specific number of days for the warning message before the '''password''' expires.&lt;br /&gt;
&lt;br /&gt;
Let me set it as 10 days.&lt;br /&gt;
|-&lt;br /&gt;
|| 11:40&lt;br /&gt;
|| Type '''passwd space hyphen w space 10 space amit '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 11:49&lt;br /&gt;
|| Let’s recall the '''chage command '''for the user '''amit'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 11:54&lt;br /&gt;
|| So, this will give warning message to the '''user '''10 days before '''password '''expiry. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 12:01&lt;br /&gt;
|| The message will state that his or her '''password '''is going to expire.&lt;br /&gt;
|-&lt;br /&gt;
|| 12:07&lt;br /&gt;
||  How can we force the '''user''' to change their '''password '''during their next '''login'''?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 12:13&lt;br /&gt;
|| For that we have to use '''passwd command '''with '''-e option.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 12:20&lt;br /&gt;
|| Type '''passwd space -e space amit'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 12:26&lt;br /&gt;
|| It will expire the '''user’s password '''immediately.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 12:31&lt;br /&gt;
|| So, the '''user '''will be forced to change their '''password '''at their next '''login '''attempt.&lt;br /&gt;
|-&lt;br /&gt;
|| 12:38&lt;br /&gt;
|| Notice, it says '''password '''expiry information has changed.&lt;br /&gt;
|-&lt;br /&gt;
|| 12:44&lt;br /&gt;
|| Recall the '''chage command '''for the user '''amit'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 12:49&lt;br /&gt;
|| So, '''password''' must be changed. &lt;br /&gt;
|-&lt;br /&gt;
|| 12:53&lt;br /&gt;
||  Now suppose the '''user’s password '''has already expired.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 12:58&lt;br /&gt;
||  After '''password '''expiry, you can give the '''user '''a''' grace period'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 13:04&lt;br /&gt;
||  The '''user '''will be able to change the '''login password '''within that '''grace period'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 13:10&lt;br /&gt;
|| Otherwise, the '''user account '''will be disabled permanently.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 13:15&lt;br /&gt;
||  That '''grace period '''is called '''period of inactivity'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 13:20&lt;br /&gt;
||  You can set this '''inactivity period '''with the help of '''hyphen i option'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 13:26&lt;br /&gt;
|| Let us set the '''grace period '''as 20 days for '''user amit.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 13:32&lt;br /&gt;
|| Type '''passwd space hyphen i space 20 space amit'''&lt;br /&gt;
|-&lt;br /&gt;
|| 13:40&lt;br /&gt;
|| Notice, the '''user password '''information has now changed.&lt;br /&gt;
|-&lt;br /&gt;
|| 13:45&lt;br /&gt;
|| Till now, we have executed '''passwd command '''with only one option at a time. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 13:52&lt;br /&gt;
|| Please note, you can also combine multiple '''options '''in a single '''command'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 13:58&lt;br /&gt;
|| For example: &lt;br /&gt;
&lt;br /&gt;
This '''command '''sets the minimum and maximum days between '''password change '''as 10 and 20 respectively.&lt;br /&gt;
|-&lt;br /&gt;
|| 14:10&lt;br /&gt;
|| To exit from the '''root user access''', &lt;br /&gt;
&lt;br /&gt;
Type '''exit''' &lt;br /&gt;
|-&lt;br /&gt;
|| 14:15&lt;br /&gt;
|| This brings us to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
Let us summarize.&lt;br /&gt;
|-&lt;br /&gt;
|| 14:22&lt;br /&gt;
|| In this tutorial we learnt about-&lt;br /&gt;
&lt;br /&gt;
Changing''' password'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 14:27&lt;br /&gt;
||  Locking and unlocking '''password'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 14:30&lt;br /&gt;
||  '''Password '''removal&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 14:32&lt;br /&gt;
||  Changing''' password '''expiry information &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 14:36&lt;br /&gt;
|| As an assignment-&lt;br /&gt;
&lt;br /&gt;
Change '''password''' expiry information of the '''user amit '''as follows&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 14:44&lt;br /&gt;
||  Minimum number of days between '''password''' change: 20 days&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 14:49&lt;br /&gt;
||  Maximum number of days between '''password''' change: 100 days&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 14:54&lt;br /&gt;
||  '''Period of inactivity''': 5 days&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 14:58&lt;br /&gt;
||  Use a single '''command''' to execute all of the above&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 15:03&lt;br /&gt;
||  Check the '''password '''expiry information by using '''chage command'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 15:09&lt;br /&gt;
||  Check '''password status '''by using the '''passwd command '''with the required '''option'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 15:16&lt;br /&gt;
|| The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
Please download and watch it.&lt;br /&gt;
|-&lt;br /&gt;
||15:25&lt;br /&gt;
|| The '''Spoken Tutorial Project''' team conducts workshops and gives certificates.&lt;br /&gt;
&lt;br /&gt;
For more details, please write to us.&lt;br /&gt;
|-&lt;br /&gt;
|| 15:35&lt;br /&gt;
|| Please post your timed queries in this forum.&lt;br /&gt;
|-&lt;br /&gt;
|| 15:39&lt;br /&gt;
|| Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 15:45&lt;br /&gt;
|| The script has been contributed by Antara and this is Praveen from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>PoojaMoolya</name></author>	</entry>

	</feed>