Operating System - Linux
1753338 Members
4954 Online
108792 Solutions
New Discussion

Segmentation fault when su

 
Dhananjaya Amarakoon
Regular Advisor

Segmentation fault when su

Hi Friends,
I am working on SUSE Linux Enterprise Server 11 SP1  and I have getting Segmentation fault when do the su to the on specific user set.
otcrel3@x4600-icap:/x03/otcrel3>su - otc6
Segmentation fault
otcrel3@x4600-icap:/x03/otcrel3>

============
But this is working fine in users in /x04 mount point. 
I have getting following error message in /var/log/message for users in x03 mount point.

Jun 29 12:10:11 x4600-icap kernel: [5836714.769438] su[26191]: segfault at 7fffa05a6924 ip 00007fd7db83b2b0 sp 00007fffa05a67f0 error 6 in pam_unix2.so[7fd7db835000+b000]

Do you have any  idea regarding this issue to rectify,

Thanks
Dhananjaya

1 REPLY 1
Ken Grabowski
Respected Contributor

Re: Segmentation fault when su

What shell does otc6 execute and what's in it's login execution scripts?  What is the status of the x03 file system? Is it usable? Have you run fsck on it?

 

pam_unix2.so is the file throwing the exception. It's part of the security authentication pam modules used at login.  Are any of your login configuration files pointing to invalid paths/information?