logging on without executing bashprofile
hello,
greetings all ye people out there the probelm i'm facing is that i have written a shell program in .bash_profile(located in my home directory) in which i have written an 'exit' statement. now, whenever i login the system shell immediately exits-because .bash_profile gets executed first- and comes back to the login prompt. I've tried logging in in graphical mode and in failsafe session but NOTHING works . I can't do anything! I am not the root . Now, can u suggest any solution which solves my problem (without me approaching the sys admn ,of course)? |
Hi,
You need another account to access your 'broken' account. If you do have another account you can do the following. Login to the other account and then do: su - <org_user> --noprofile Edit the .bash_profile, exit both accounts and you should be OK again. If you do not have access to a second account you do need to ask the sysadmin to solve this. Hope this helps. |
thanks a million!!
THANKS A MILLION, FRIEND !!
IT WORKED!! HURRAY FOR DRUUNA !HURRAY FOR LINUXQUESTIONS!! bye, aru_04 |
All times are GMT -5. The time now is 03:40 AM. |