Click to See Complete Forum and Search --> : "segmentation fault" trying to su or login not root


solarbaby
07-24-2001, 04:58 PM
Installed 7.1
Seemed to go okay. Never logged in not as root.
I can't su to any users...get a "segmentation fault" message.
Can't login from login as anyone except root. It accepts the username and asks for the password. It flashes a message including "fork", but it is so fast that the screen refreshes back to login.
My passwd file is world readable. I am using Shadow, but I let the cd install it, I haven't gotten inside it at all. I emailed Red Hat because I have a support option and they've been no help. I ran a strace, but I have no idea what the output means or even how to capture the output. :confused:

scott_R
07-24-2001, 08:17 PM
I know this is a really dumb question, but have you set up user accounts, and at least logged into them once in a standard (not su) way? There may be problems with other programs that run on the first login (to set up each account.) Should they try to install programs in the su'ed/root directory, they will fail, and they may segfault, or even fault normally, but the error handling code may segfault in this situation.

BTW, this might be a nice way to test programs, to see if they funtion normally as an su'ed root.

jim beam
07-24-2001, 11:32 PM
are u using an xterm? try rebooting to console mode and see if its different

solarbaby
07-25-2001, 08:58 AM
I haven't logged into any accounts except root ever. I didn't know I had this problem until I tried to su to postgres user and couldn't. Then I logged all the way out and tried to login at the console and couldn't do that either.
I get the same problem in Kde or just plain old bash.
I can log in with root anywhere.

[ 25 July 2001: Message edited by: solarbaby ]