Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memory fault

Status
Not open for further replies.

ogniemi

Technical User
Nov 7, 2003
1,041
PL

$ type su
su is /usr/bin/su
$ alias|grep -w ^su
$ su -
root's Password:
Memory fault
$ su - root
#

# ls -al /usr/bin/su
-r-sr-xr-x 1 root security 31994 Jul 16 2007 /usr/bin/su
# oslevel -s
5300-06-02-0727


Anyone has an idea why "su -" returns "Memory fault" and "su - root" works properly.

The problem exists only for one user and only for his remote connetions (ssh or telnet).

Problem does not exist when I do:

su - affected_user

and then in that session "su -" works fine.

There are many other users in the same system group and are not affected.

I also moved old home directory and created new/empty one with the same .profile as in old but the problem still exists.


any idea?
 
Have you tried running it with truss

truss su -




Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top