ksh: cannot execute su

Hi,

I created an account in Solaris 10 and it is a member of System Admin group, however, when I want to

su -

from that account, I encountered the following msg:

ksh: cannot execute su

I edited the PATH for that account to made it same as the other System Admin, but still can't solve the problem.

Please give me some hint, thanks a lot......

[396 byte] By [raulgh1203] at [2007-11-26 0:45:51]
# 1
If you type /usr/bin/su does that work?Also, if you do echo $PATH or env PATH does it show /usr/bin in the path?
ProdosProgrammer at 2007-7-5 19:41:12 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

Please make a "ls -l /usr/bin/su"

Is it executable for all ? This is the default.

If it is only executable for all, it has to be executable for the group, and the user, who want's to make the su, has to be a member of that group. Also make sure, that the "user or group set-ID" for the owner (root) has to be set: chmod u+s /usr/bin/su.

Did you changed the rights of su ?

bauerboehn at 2007-7-5 19:41:12 > top of Java-index,Solaris Operating System,Solaris 10 Features...