Problem solved. Long story short is that I was given a gun and bullets. I put the bullets in the gun and while pointing it at my foot, I pulled the trigger. I did this by creating a /etc/profile.local file with, of all things, an "exit" as the last statement. What was I thinking? REXX maybe?
The real goofy thing was that since I login with csh, it doesn't execute the profile.local so my logins weren't affected. I had eliminated the shells as being the problem by comparing their CRCs with other shell files on other systems. Then I ran a strace of bash and saw that it was failing during the execution of the profile.local file. ------------------- Judson West Teradata Corporation -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of John Summerfield Sent: Wednesday, September 09, 2009 9:10 PM To: [email protected] Subject: Re: Cannot Login to Server Judson West wrote: > Based on the responses I decided to look into the various installed shells. > My login uses /bin/csh. Root and his root buddies use /bin/bash. People > having trouble logging in to this server are using /bin/ksh. I can login, > but root and his root buddies cannot, nor can those using /bin/ksh. > > After I login I decided to do a little shell game: > > {jw121...@sdmsue810:113} bash > {jw121...@sdmsue810:114} echo $SHELL > /bin/csh > {jw121...@sdmsue810:115} ksh > > {jw121...@sdmsue810:116} echo $SHELL > /bin/csh > {jw121...@sdmsue810:117} tcsh > {jw121...@sdmsue810:101} echo $SHELL > /bin/csh > {jw121...@sdmsue810:102} exit > exit > {jw121...@sdmsue810:118} > > It appears that I have some bad shells and obviously in order to fix this, I > have to have root access. Since root cannot login using the default shell of > /bin/bash, is there some way to login with another shell? What shells exist? I can't imagine you could easily install without bash. Maybe, if your create a new user, toor maybe, with uid=0 and shell=/bin/csh on the NIS server, that you will be in like Flynn. I would expect that the command su -s /bin/ksh - would work. > > ------------------------------- > Judson West > Teradata Corporation > > > -----Original Message----- > From: Linux on 390 Port [mailto:[email protected]] On Behalf Of David > Boyes > Sent: Wednesday, September 09, 2009 10:53 AM > To: [email protected] > Subject: Re: Cannot Login to Server > > How is this system finding the NIS server, by broadcast? If so, fix that. > Is automounter configured and/or are their home directories available? Do > any of these users have a non-standard shell that may not be installed on > that server (eg, /bin/ksh)? > > Does ypcat work from the NIS server when they have problems? > > > >> Any thoughts on where to go from here? -- Cheers John -- spambait [email protected] [email protected] -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
