BELATED WISH U VERY HAPPY DIWALI.<= BR>
MY QUESTION
&n= bsp; I M USER OF LINUX OS BUT AFTER VERY LONG TI= ME RIGHT NOW I WANT TO OPEN MY ACCOUNT BUT I HAVE FORGETED MY PASSWOR= D AND I AM NOT ABLE TO OPEN MY ACCOUNT PLEASE TELL ME WHAT TO DO?
&nb= sp; REGARD
= DEEPA
[1] [adstrea=]
References
On Wed, Nov 05, 2003 at 09:59:12AM -0000, dipali panjabrao gaikwad wrote:
&n= bsp; I M USER OF LINUX OS BUT AFTER VERY LONG TI= ME RIGHT NOW I WANT TO OPEN MY ACCOUNT BUT I HAVE FORGETED MY PASSWOR= D AND I AM NOT ABLE TO OPEN MY ACCOUNT PLEASE TELL ME WHAT TO DO?
I assume the account is on a machine that you have access to reboot, and that you don't remember your root password as well. Also I assume its running Red Hat or some such distribution, which allows you to directly reboot into a root environment. If that is true, do the following - reboot the system, and the LILO prompt where you say "linux" (or some similar name) say "linux single" instead. This will boot the system in a "single user mode", with a root login without asking for the root password. Now you do can change the password for your account using "passwd".
Sameer.
» -----Original Message----- » From: linuxers-bounces@mm.ilug-bom.org.in » On Behalf Of dipali panjabrao gaikwad » RIGHT NOW I WANT TO OPEN MY ACCOUNT BUT I HAVE FORGETED MY PASSWOR= » AND I AM NOT ABLE TO OPEN MY ACCOUNT PLEASE TELL ME WHAT TO DO?
Hi, There is one method I know...You need to have your installation CDs or boot disk And this works for RedHat, others I dont know.. Boot with the first CD. when the linux prompt comes, choose/type "linux rescue" and press enter you will get rescue prompt. give these commands cd /mnt/sysimage chroot /mnt/sysimage vi /etc/passwd
you can locate the line where "root" is present. you cannot see the password there as its a encrypted string. just remove that string and make that field blank. save the file and exit vi type reboot/exit to come reboot.
now remove dc and you should be able to log in as root without password. dont forget to change it now...
Hope this helps..
Thanks and Regards, Kiran Ghag Software Engineer @ Patni Computers, India Web Page: http://kiran7.freeservers.com _____
Wishing without work is like fishing without bait. -- Frank Tyger
» RIGHT NOW I WANT TO OPEN MY ACCOUNT BUT I HAVE FORGETED MY PASSWOR= » AND I AM NOT ABLE TO OPEN MY ACCOUNT PLEASE TELL ME WHAT TO DO?
hii, this one was interesting , but cant someone use this information for hacking into a linux system then ?? and hey deepali you dont intend to hack anyone else's machine haan ?? ... dont mind just thought of a possibility
Nikhil Bhaskaran
Nikhil bhaskaran writes:
hii, this one was interesting , but cant someone use this information for hacking into a linux system then ?? and hey deepali you dont intend to hack anyone else's machine haan ?? ... dont mind just thought of a possibility
Nikhil Bhaskaran
I think u probably mean crack. Just guessing :)
Vinayak Hegde
Hello,
Why not try to boot into single mode if it is a redhat linux box. then change the password of the user account.
-regs harshul
-----Original Message----- From: linuxers-bounces@mm.ilug-bom.org.in [mailto:linuxers-bounces@mm.ilug-bom.org.in]On Behalf Of Nikhil bhaskaran Sent: Thursday, November 06, 2003 2:03 AM To: GNU/Linux Users Group, Mumbai, India Subject: Re: [ILUG-BOM] - just curious
Next LUG meet: 9 Nov 2003 around 4 pm - VJTI --------------------------------------------
» RIGHT NOW I WANT TO OPEN MY ACCOUNT BUT I HAVE FORGETED MY PASSWOR= » AND I AM NOT ABLE TO OPEN MY ACCOUNT PLEASE TELL ME WHAT TO DO?
hii, this one was interesting , but cant someone use this information for hacking into a linux system then ?? and hey deepali you dont intend to hack anyone else's machine haan ?? ... dont mind just thought of a possibility
Nikhil Bhaskaran