LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannt login as root . made changes to .bash_profile (https://www.linuxquestions.org/questions/linux-newbie-8/cannt-login-as-root-made-changes-to-bash_profile-409901/)

hotbacteria 01-31-2006 02:19 AM

Cannt login as root . made changes to .bash_profile
 
Hi all

I am in a fix. I edited the PATH of the Root user's .bash_profile . So i am unable to login as root now. I can login as a user but than I cann't access the important data which is lying under Root Authentication and execute it as i don't have permissions.

Can some one help me how can i fix it ?
Is there any way out by which i can change permissions to the user so that i can access ,write and execute that root data from my user account ?
or better if there any way i can correct the .bash_profile of my root account while staying in user account ?

Please Let me know at hotbacteria @ rediffmail com

Regards
Tarun

pljvaldez 01-31-2006 02:42 AM

Can you still su to root, i.e. type su at the command line and it should prompt you for root's password. Then you can go restore your backup copy of .bash_profile that you made before altering the file.

Wim Sturkenboom 01-31-2006 04:19 AM

Please don't crosspost in different forums.
http://www.linuxquestions.org/questi...d.php?t=409898

Tinkster 01-31-2006 10:03 PM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Here's the original:
http://www.linuxquestions.org/questi...d.php?t=409895

and its "other siblings":
http://www.linuxquestions.org/questi...d.php?t=409900
http://www.linuxquestions.org/questi...d.php?t=409898


All times are GMT -5. The time now is 05:26 AM.