Change the delay time after a failed login attempt?

On Solaris, this can be changed in the /etc/default/login file. The default is 4 seconds. In case you want no delay at all, change it to 0.


On Linux, this can be configured in the /etc/login.defs file. The default on Linux is 3 seconds.


But be careful. By changing this setting, a […]

Sar Linux


Sar… Networking echo “Rcvd Bytes – Time”;\ (unset LANG; sar -n DEV) | grep eth0 | awk ‘{print ($5″ – “$1)}’ | sort -nr | head -n5;\ echo “Average: `sar -n DEV |grep eth0| tail -n1 | awk ‘{print ($5)}’`”


$ echo “Rcvd Bytes – Time”;\ (unset LANG; sar -n DEV) | grep […]

How to enable SAR (System Activity Reporter) on Solaris

Solaris 10 comes with a new feature called SMF (Solaris Management Facility), and to enable SAR, we need to update the SMF database with this information.

# svcadm enable svc:/system/sar:default

Now lets check if it is really enabled.

# svcs -x system/sar svc:/system/sar:default (system activity reporting package) State: online since Sun Nov 16 10:07:42 2008 […]

Solaris 10 Password Policy Enforcement

I was recently handed a baseline policy that was to implemented for all users on the Solaris 10 systems that I support.  After a small amount of research I was able to find the various pieces that needed to be altered.

Desired Policy

After discussion between the security officer and the other management level staff, […]

How to Create or Edit a crontab File

Before You Begin

If you are creating or editing a crontab file that belongs to root or another user you must become root.

You do not need to become root to edit your own crontab file.

Create a new crontab file, or edit an existing file. # crontab -e [username]

where username specifies the name […]

Solaris ssh restart

To check if the service is online or offline: # svcs -v ssh online – 12:23:17 115 svc:/network/ssh:default

To stop the service: #svcadm disable network/ssh

To start the service: #svcadm enable network/ssh

To restart the service: # svcadm restart network/ssh

To Restart the SSH Service

Login to the command-line terminal Run the command:

svcadm restart […]

Shrink root partition using LVM

While I installed my OS long back, I had partitioned more space in the root file system, because of which I was unable to use other file systems due to lack of disk space. So, incase if few are facing the same issues, here is the tutorial to decrease your space in root partition. Once […]

Logical Volume Snapshots

Environment: CentOS release 6.3 (32-bit). Descriptions: By LV snapshot you will be able to freeze your logical volumes. In other words, you can easily backup and rollback to a original logical volume state. This is almost similar to VMware where you can the snap shot of the VM and revert in-case if anything goes wrong. Concept of snapshot […]

VNC Server Configuration Redhat and Centos

2. Install package #yum install  –y  tigervnc-server.x86_64 0:1.0.90-0.15.20110314svn4359.el6 3. Edit vncservers file: # vim /etc/sysconfig/vncservers Uncomment the two lines below and edit it with your own username: VNCSERVERS=”2:myusername” VNCSERVERARGS[2]=”-geometry 800×600 -nolistentcp -nohttpd -localhost” Example: VNCSERVERS=”2:root” VNCSERVERARGS[2]=”-geometry 1024×768? 4. Configuring Desktop Environment if needed: # /root/.vnc/xstartup 5. Set the password for vncserver user: # vncpasswd Password: myvncpassword […]

Restarting servers in cluster

You can restart all the servers in a cluster through WAS Admin COnsole by selecting the server and clicking on ripple star


Yourr you can execute the following wasadmin command

AdminControl.invoke(‘WebSphere:name=<clustername>,process=dmgr,platform=common,node=dmgrCellManager01,version=,type=Cluster,mbeanIdentifier=cluster1,cell=dmgrCell01,spec=1.0’, ‘rippleStart’)

Page 1 of 3123