ManthanHD

Findings, thoughts and observations from the eye of a Software Engineer.

  • Findings
  • Agile
  • Thoughts
  • Educational
  • Skills
  • Random

Month: May 2013

Here’s to 100 years of IBM!

15th May 2013 / Leave a Comment

Did you find this post useful? Spread the word!

  • Facebook
  • Twitter
  • LinkedIn
  • Reddit
  • WhatsApp
  • More
  • Email
  • Skype

Like this:

Like Loading...
Posted in: Findings Tagged: ibm

Managing password expiry for a user account (Unix/Linux)

11th May 2013 / Leave a Comment

I find this very useful on several occasions so here we go. Login as root and execute the following:
passwd -x -1

So if you want to remove password expiry from bob’s account, type:
passwd -x -1 bob

Notice that -1 parameter after -x represents number of days before the password expires. Since we do not want the password to expire, we have set it to -1. However, you can set it to any value you want. So, if you want your password to expire after 90 days (i.e. 3 months) for bob’s account, type:
passwd -x 90 bob

Did you find this post useful? Spread the word!

  • Facebook
  • Twitter
  • LinkedIn
  • Reddit
  • WhatsApp
  • More
  • Email
  • Skype

Like this:

Like Loading...
Posted in: Findings Tagged: linux, shell, unix

Checking memory (RAM) size on Solaris

7th May 2013 / Leave a Comment

If you want to check how much RAM your Solaris machine has, here’s how:
/usr/sbin/prtdiag -v | grep -i memory

You can also try:
/usr/sbin/prtconf | grep -i memory

Did you find this post useful? Spread the word!

  • Facebook
  • Twitter
  • LinkedIn
  • Reddit
  • WhatsApp
  • More
  • Email
  • Skype

Like this:

Like Loading...
Posted in: Findings Tagged: solaris, unix

Writing Code – Building a chat application in Java – Session 1

3rd May 2013 / Leave a Comment


Hey Guys! In this series, we will be building a chat application in java. I think this will be a great chance for you all guys out there wanting to do something hands on in Java.

Did you find this post useful? Spread the word!

  • Facebook
  • Twitter
  • LinkedIn
  • Reddit
  • WhatsApp
  • More
  • Email
  • Skype

Like this:

Like Loading...
Posted in: Educational Tagged: java, tutorial

Removing password expiry from your Linux/Unix machine

2nd May 2013 / Leave a Comment

Here’s a quick one. If you have a server and you do not want the password for a user to expire (as it can screw some things up while its active), you need to execute the following commands as root:
passwd -x -1

where is the username whose password expiry you wish to remove. For instance, in my case, if username is dm014, I executed:
passwd -x -1 dm014

I have tested this and it works flawlessly on most Linux and Solaris operating systems.

Did you find this post useful? Spread the word!

  • Facebook
  • Twitter
  • LinkedIn
  • Reddit
  • WhatsApp
  • More
  • Email
  • Skype

Like this:

Like Loading...
Posted in: Findings Tagged: linux.solaris, shell, unix
1 2 Next »

Subscribe to Blog via Email

Join 283 other subscribers.
  • RSS – Posts
  • RSS – Comments

Archives

  • June 2021
  • October 2020
  • September 2020
  • August 2020
  • May 2020
  • August 2018
  • June 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • September 2014
  • December 2013
  • October 2013
  • September 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • January 2013
  • December 2012
  • August 2012
  • April 2012
  • February 2012
  • January 2012

Copyright © 2023 ManthanHD.

Me WordPress Theme by themehall.com

%d bloggers like this: