Non interactive ,without typing password do ssh to Server : By sshpass
| |

Non interactive ,without typing password do ssh to Server : By sshpass

Non interactive ,without typing password do ssh to Server : By sshpass Most of the time I found that there is always a question How to do ssh to Server without typing the passwd. I have one posted on bash scripting method with using expect command and there is one more method of passing RSA-DSA…

How to Install awstat in Redhat and CentOS

How to Install awstat in Redhat and CentOS

Awstat is free log analizer tool which generates advanced web, streaming, ftp or mail server statistics, graphically. This post explains how to install awstat in Redhat and CentOS. Install and setup awstat Follow the steps to install and configure the awstat in your Red Hat based system. Step 1: Download the awstats. wget http://sourceforge.net/projects/awstats/files/AWStats/7.0/awstats-7.0-1.noarch.rpm Note:…

GNU Screen
|

GNU Screen

GNU Screen: It is a terminal multiplexer.By using GNU Screen, we can run many number of applications,interactive command shells, text editors, etc. within a single terminal. Inside  the terminal user can open many windows terminal and sub-terminal. Installation: It can be installed in many flavours of Unix System.(I checked in all linux distro,AIX,Sun Solaris –…

Saving every command and its output in log in Unix

Saving every command and its output in log in Unix

In this post we will learn about saving every linux/unix command and its output in log file. The command called script will be use to save the command output in log. Run script command to save command output in file/log script  filename.log Example: [root@server1 ~]# [root@server1 ~]# script my.log Script started, file is my.log Welcome…

How to increase Password Expire date without resetting the password
| |

How to increase Password Expire date without resetting the password

How to increase Password Expire date without resetting the password It is commonly used that when we have to increase the password expire date of any user we simply reset the password of that user . But we can increase the Password Expire date of user without resetting the password. Here is the below scenario…

In ESX , passwd: authentication information cannot be recovered

In ESX , passwd: authentication information cannot be recovered

In ESX , passwd: authentication information cannot be recovered The ESX box has AD authentication. I was getting error when I am trying to reset user password by using command “passwd user_name” Whenever U get this error “passwd: authentication information cannot be recovered”,it means something is wrong in ur some /etc/pam.d files. In my case…

df command not showing correct free space in linux
|

df command not showing correct free space in linux

df not showing correct free space in linux In this post,I am sharing the troubleshooting. When we find the disk is full,we generally remove the files from that partition.Sometimes it is also observed that after removing files from the partiton. The df -h command,still shows partition is full. For this problem,follow the given below steps…