Can't loging because .basrc file messed up


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Can't loging because .basrc file messed up
# 1  
Old 03-21-2009
Can't loging because .basrc file messed up

Dear Friends,

I have messed up with my .bashrc file (something I have deleted) and now i can't login back to system..
any Idea..
I can do login with other login and password.. but I dont have root password because of security reason...
If I ask root then It will take about 4 -5 days to go through formal company rules...
any help.....please
# 2  
Old 03-21-2009
One option I can think of is to investigate using a coworker's account to su into your account without running .bashrc. Depending on your security, this may not be possible.

Different OS's su commands allow for different options. I'd suggest specifying an option that allows you to specify a DIFFERENT shell from bash, if one is available.

Then rename your .bashrc to something else and provide an empty .bashrc. Then you should be able to log in to your account normally.

That's about all I can think of.

HTH
# 3  
Old 03-21-2009
Quote:
Originally Posted by umeshjaviya
Dear Friends,

I have messed up with my .bashrc file (something I have deleted) and now i can't login back to system..
any Idea..
[...]
And what's the exact error?
# 4  
Old 03-21-2009
The 'su' command is not working....

it doesnt say anything...
just stops and not let me in
# 5  
Old 03-21-2009
So you can login and only after that the su command appears not to be working?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Ignite-UX INDEX file messed up, how to recreate?

OK, so I just messed myself up. Thinking the /var/opt/ignite/data/INDEX files was static, I manually edited the file and added 2 more OS's to it. During an Install it only showed the first OS (started with 11.31, 3 versions then added a 11.23, and a 11.11 stanza's). The 11.23 and 11.11 never... (2 Replies)
Discussion started by: mrmurdock
2 Replies

2. UNIX for Dummies Questions & Answers

txt file gets messed up during transfer from my Desktop

Hi, I am working off of a MacBook Pro OSx 10.5.8. I have a tab deliminted text file on my desktop that I created in excel. It has 4 columns and 20,000 rows. When I scroll down it in excel, everything lines up perfectly, and is where it is supposed to be. After copying it into my terminal... (6 Replies)
Discussion started by: lrae
6 Replies

3. Shell Programming and Scripting

Username password asked during loging

Hi, Whenever I open my unix box,after providing username and password I get the following message. Are you authorised to use this computer as detailed above? (Y)es/(N)o : y Export: Release 10.2.0.2.0 - Production on Mon May 16 16:00:15 2011 Copyright (c) 1982, 2005, Oracle. All rights... (5 Replies)
Discussion started by: emilybose
5 Replies

4. UNIX for Advanced & Expert Users

problem loging in

Hello all, We recently got one brand new Sun SPARC T5120 server. This server was powered on remotely by someone and i am trying to log in to this server through Console Management Server to build this box. For some reason I get a login prompt asking login name and password provided that this is a... (3 Replies)
Discussion started by: solaix14
3 Replies

5. Solaris

loging data on a solaris server

Dear all I would like to know that is there any way to find out that any client of solaris server, is fetching data from a server, in that situationng server can log what data which is flowing in the form of packet, client is fetching from the server through any application or any utility. ... (3 Replies)
Discussion started by: girish.batra
3 Replies

6. Forum Support Area for Unregistered Users & Account Problems

Loging On

Followed Link To Activate And Couldn't (0 Replies)
Discussion started by: jamal7
0 Replies

7. Shell Programming and Scripting

I think I have messed up with crontab

Hi Guy, In my system there were some cronjob were already scheduled. and somehow I want to enter one new cronjob with crontab. So I isssue crontab temp.txt. it scheduled that job but now it's showing me only this job with crontab -l. but I can not see the old cronjob list that already set up.... (2 Replies)
Discussion started by: vishalpatel03
2 Replies

8. UNIX for Advanced & Expert Users

CDE loging window resize?

I was asked to display a banner on the CDE login window and I have successfully accomplished that task. This is what I did: 1) made the directory /etc/dt/config/C 2) cp /usr/dt/config/C/Xresources /etc/dt/config/C 3) I edited /etc/dt/config/C/Xresources and ensured the following lines were... (0 Replies)
Discussion started by: rtoba
0 Replies

9. Solaris

CDE loging window resize?

I was asked to display a banner on the CDE login window and I have successfully accomplished that task. This is what I did: 1) made the directory /etc/dt/config/C 2) cp /usr/dt/config/C/Xresources /etc/dt/config/C 3) I edited /etc/dt/config/C/Xresources and ensured the following lines were... (0 Replies)
Discussion started by: rtoba
0 Replies

10. Linux

last loging message

hi when any user in redhat linux 7.3 (root and normal users) get loging to the system the last login message is displaied while in redhat 9.0 only root get that message so... how can i disable normal users in 7.3 from getting this message and enable them in 9.0 to get it regards... (1 Reply)
Discussion started by: a_elhoseeny
1 Replies
Login or Register to Ask a Question