Posts

Showing posts with the label password

Change the forgotten root password.

Image
Reset forgot root password in CentOS 6.1/6.2/6.3/6.4/6.5 To reset forgot root password in CentOS 6.0/6.1/6.2/6.3/6.4/6.5  and Fedora 16/17/18/19/20  follow the given below steps: Step1: Boot your CentOS linux system and press esc key when you see the message “ Press any key to enter the menu ” Message on system booting Step 2: Now, select your operating system if it is dual/multiple boot and  pres ‘ a ‘ to modify kernel argument . If you cancel press ‘ ESC ‘ key. Boot menu [ [ ads ] Step 3 :  In kernel configuration, we have 2 methods to change to single mode . 1 we can use a number “ 1 ″, 2 we can use character “ S ”. Enter after done. Opened 1 at the GRUB Step 4 :  After reboot type ‘ passwd ‘ command without username and press ‘ Enter ‘ key in command prompt. Change root password Step 5 : Reboot your system and login using the new password . Reference: http://wiki.centos.org/TipsAndTricks/ResetRootPass...

Sshkey install update.

Wrote a script a while back to put your ssh key on a remote system so you do not have to type in the password all the time. Found a few shortcomings with it and now have updated it. You will have to type in your password to login and complete the script process. installkey.sh # invoke with ./Installkey.sh servername # set up the .ssh dir if it does not exist DIRECTORY=",ssh" ssh $1 'if [ ! -d "$DIRECTORY" ];  then  mkdir $DIRECTORY ;chmod 700 $DIRECTORY ; fi' # copy the key scp $DIRECTORY/id_dsa.pub $1:~/. # install the key ssh $1 'cat id_dsa.pub >> $DIRECTORY/authorized_keys' ssh $1 'chmod 600 $DIRECTORY/authorized_keys ' # remove the public key you just copied ssh $1 'rm ~/id_dsa.pub'

Change your password.

Image
Years ago before the internet, all communication was done over phone lines. You had to have a device that would allow your computing equipment to talk to each other such as a modem. Say a finance company employee would dial up the credit bureau computer, wait for a modem tone and then place the headset into what was known as an acoustic coupler (early version of a dumb modem aka modulator/demodulator unit).  Once connected the employee could type characters on a teletype device that was connected to the phone line for a name and password. Then to eventually get information about potential customers (i.e pull a credit bureau). The teletype machine had many fancy looking character keys on the keyboard. So that typing in the user name and password would seem very complicated. Computers only deal with ones and zeros. So the teletype machine had to translate when a key was pressed into a number that could be sent over the modem. At the time there was sort of a standard known as ASCII ...