Skip to main content

Posts

Showing posts from April, 2011

A Message

A Message !! I remember an incident that happened couple of weeks back at home. All of a sudden Aman came and asked his mom “ will you marry acha ?”. I was really astonished to hear my 5 year old son asking this question to his mom with a mixture of emotion in his words. In order to get the real intention of his question, Sherin answered to him “NO. I will not marry Acha”. Suddenly we saw his eyes filled with tears and unpredictably he started punching her hard and all of a sudden he hugged her tightly with his emotional tears rolling over her shoulder. She pacified him and upon asking him the reason behind this question, he answered her “If you don’t marry acha he will die fast, so you should marry him”. It’s not always kids to learn from their parents, we (parents) should also learn from our kids. I believe this has a message to all of us.. Thanks & Regards Avinash Pillai URL : http://avinashpillai.blogspot.com/ Email: avinashp25[AT]gmail[DOT]com

Linux turn OFF password expiration / Aging

Linux turn OFF password expiration / Aging /etc/shadow stores actual password in encrypted format for user’s account with additional properties related to user password. The password expiration information for a user is contained in the last 6 fields. Password expiration for a select user can be disabled by editing the /etc/shadow file. However I recommend using chage command. The chage command 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/her password. To list current aging type chage command as follows: # chage -l avinash Output: Last password change : May 22, 2007 Password expires : never Password inactive : never Account expires : never Minimum number of days between password change : 0 Maximum number of days between password change : 99999 Number of days of warning before password expires : 7 To disable password aging / expiration for user foo, type comma