Operating System - Linux
1829225 Members
2145 Online
109987 Solutions
New Discussion

Re: redhat 7.2 and 9.0 on same hard disk + SSH

 
Maaz
Valued Contributor

redhat 7.2 and 9.0 on same hard disk + SSH

please dont mind when find mistakes in my writings ... i undrstand but cant write english well -- sory in advance

help me in three followin matters.

1) i have linux 7.2 installed, and want to installed 9.0 on the same harddrive ... no no i dont want my 7.2 to upgrade to 9.0 ... but i want to keep both versions(7.2 and 9.0) on my same harddrive... possible ??? how ???

2) i forget my password of root and also forget the grub password -- How can i recover my root password, any trick any tecnique ?

3) If SSH is a better replacement or substitiute of telnet, then SSH must also be a protocol like telnet ... am i right??? does SSH is also a member protocol of TCP/IP suite of protocol(like telnet, which is an applications layer protocol, of tcp/ip) ??? Does SSH also have any relation with SSL?

sorry for any mistakes and inconvenience

love n peace
5 REPLIES 5
Martin P.J. Zinser
Honored Contributor

Re: redhat 7.2 and 9.0 on same hard disk + SSH

Hello Maaz,

if you want to totally separate RH 7.2 and 9.0 you do have to do essantially the same as when installing Windows and Linux on the same disk.
Make sure you have enough space and create new partitions for the 9.0 installation. Make sure not to mount the old partitions in 9.0 (likely problems with mount point clashes). If you do want to share user directories you have to make sure that these are in a totally separate partition from the rest of the system.

As for SSH, yes OpenSSH uses OpenSSL for the encryption work. Check http://www.openssh.org for details

Greetings, Martin
Steven E. Protter
Exalted Contributor

Re: redhat 7.2 and 9.0 on same hard disk + SSH

I know of no way to recover a forgotten grub password.

If the partitions are separate, and you use grub, you should have no problem building a dual boot system assuming the disk is big enough.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Maaz
Valued Contributor

Re: redhat 7.2 and 9.0 on same hard disk + SSH

Ok, SEP and All other Gurus, i dont care abt grub password, but any help to recover root password ??? is it possible to recover root password or not ??? if it is possible, please share ur knowledge with me

Thanks billions
Maaz
Alexander Chuzhoy
Honored Contributor

Re: redhat 7.2 and 9.0 on same hard disk + SSH

you should login to init 1
and then issue a "passwd" command.It won't ask you for the current password,but only for new...
from within grub you press "e" to edit the line of boot entry.Then highlight the line of kernel and append 1 to it's end.
Then press enter and "b" to boot....

Kind regards...
Shaikh Imran
Honored Contributor

Re: redhat 7.2 and 9.0 on same hard disk + SSH

1) Yes and as Martin says
2) You can boot from your available media.
Select to rescue the system.
Mount the root partition on any directory
e.g. if u use ide hard disk it will be /dev/hd.. or for scsi it will be /dev/sd..
Now change the directory to your mounted one
#cd etc
#vi passwd
delete the password info for the root
save the file unmount the filesystem reboot and now you can change the root password.

3) Yes every new thing is advanced and useful so is SSH.

Regards,

I'll sleep when i am dead.