SysAdmin Blog, TechTips and Reviews

An (ex) System Administrator's Blog



Archives Posts

Disable / Turn Off Linux Password expiration / Aging

December 15th, 2011 by elizar

Yep, another personal reference and to think that I should know these stuff by heard. Well, most of the servers I am handling now are solaris and for particular example, it’s for Linux..

I guess there will be some similarities but for this post, we’ll take Redhat linux as an example:

The command is chage (looks like a misspelled ‘change’ right? It’s actually “Change” “Age”)

/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 rg49945
Minimum: 0
Maximum: 99999
Warning: 7
Inactive: -1
Last Change: Jun 07, 2011
Password Expires: Never
Password Inactive: Never
Account Expires: Never
#
# chage -l ct92623
Minimum: 0
Maximum: 99999
Warning: 7
Inactive: -1
Last Change: Jun 07, 2011
Password Expires: Never
Password Inactive: Never
Account Expires: Never
#
# passwd rg49945
Changing password for user rg49945.
New password:
Re-enter new password:
Password changed.
passwd: all authentication tokens updated successfully.
#
# passwd ct92623
Changing password for user ct92623.
New password:
Re-enter new password:
Password changed.
passwd: all authentication tokens updated successfully.

Filed under Uncategorized having No Comments »

Archives Posts

How To Grayscale and Image Using GIMP

December 14th, 2011 by elizar

Alright, here’s one of many tutorial you will find here at SysadmindayPH. This post is all about how to turn your colorful pictures and images into black and white, or grayscale using GIMP …Of course using GIMP! :)


For those who do not know what GIMP is, is short GNU Image Manipulation Program. What’s GNU? It’s GNU Not UNIX. What’s GNU? It’s GNU Not UNIX.. What’s.. you know.

Most of the tutorials I’ll mentioned here is based / borrowed /stolen from this link, so be sure to check it out and bookmark that one too

http://www.gimp.org/tutorials/Color2BW/


Archives Posts

How to Make your Computer Faster

December 11th, 2011 by elizar

No matter how you ask it, how to make your computer faster, or how to make computer faster, we all want the same thing.. to make more out of our computer.

A number of people are asking, specially those folks not so familiar with computer or with technology in general – “how do i make my computer run faster?”

Reasons a computer runs Slow

Here are a couple of reason why a computer run slow:

  1. Old model
  2. Not enough ram to accommodate application
  3. A computer virus

how do i make my computer run fasterFirst of all, if you bought a hand me down, second hand, used computer from a few years back, that is a pretty good chance that the applications that you installed or want to install in your PC will run slow as the computer hardware industry is very fast paced that the hardware of today will become obsolete in a year. With that said, if you have an old computer, there is no other way of making it faster but replacing it with a new one or upgrading the main components of it like the system board, memory or the central processing unit.

Second, there are many software application today that is very memory extensive that it eats up most of the RAM (Random access memory) of the computer which leaves nothing for the Operating System or for other application.

Third possible reason is that the unit is infected by a virus which also consumes a lot of your computer’s processing power. Viruses can come from an external drive or from online in the websites that you are visiting.

How to make a new computer run faster?

From the same reason given above, the same things can be done to make a computer run faster.

For the first and second point or item, like mentioned, there is no better way than to upgrade.

The third one is to have a antivirus scan and clean the computer up. But in my experience it is better or completely erase the computer (format the system) and reinstall the OS and application to make sure that the virus is completely removed. (Of course, you have to make backup of your important files)

You may definetly need to clean up your PC.
Here is instructions about how to clean your PC: http://www.wikihow.com/Clean-Your-Comput…
1. Download a nice PC cleaner from http://www.pc-registry-repair.cc
(System cleaner is a best choice)
2. Run the cleaner and clean up your PC.
3. Restart your PC

 

Filed under Hardware, Tips, tutorial having No Comments »

I was here...