View previous topic :: View next topic |
Author |
Message |
cantao Apprentice
Joined: 07 Jan 2004 Posts: 166
|
Posted: Thu Apr 20, 2006 3:28 pm Post subject: bash 3.1 and ssh troubles [SOLVED] |
|
|
Hi Friends!
Well, that's very weird. We have a lan with several machines authenticating through LDAP and with /home mounted using NFS. Users can ssh from one machine to another.
But, since I've upgraded all machines to bash 3.1, one of the machines is causing me some headaches. It goes to 100% cpu usage whenever someone tries to login using ssh, except me! I can ssh to the troubled machine with no problems. Guess who is consuming all this power? Bash!
I've picked up another user to help me and we tried, with no success:
1. Erase .bashrc and .bash_profile, although they work ok to ssh to other machines
2. Use the /etc/skel files as a fresh start for the same files. Nothing.
3. Revert to a previous bash version. No luck.
If we press CTRL-C, we get a -bash-3.1# prompt. Nothing else. It is possible to work, but very annoying!
Everything is updated, revdep-ed, etc-updated... Don't know where to look anymore...
Thanks a lot, Cantão!
EDIT: when I try to su to another user, bash hangs also.
Last edited by cantao on Thu Apr 20, 2006 5:41 pm; edited 1 time in total |
|
Back to top |
|
|
cantao Apprentice
Joined: 07 Jan 2004 Posts: 166
|
Posted: Thu Apr 20, 2006 5:41 pm Post subject: |
|
|
Well, very dumb thing, as usual
Some very old users had a line sourcing /etc/profile (probably from old Mandrake days). But /etc/profile sources... ~/.bashrc! So, we have an infinite loop!
Cheers, Cantão! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|