I am no longer able to use su to another user to run scripts.
[tt]su - oracle -c dbshut[/tt] fails with "ksh: ls: 0403-006 Execute permission denied."
[tt]su - [any_user] -c [any program][/tt] all fail with that same error.
I'm at a loss as to what's causing this, does anyone else have any ideas?
I had to rework part of oracle's .profile to handle non-interactive logins, but it also fails with the same error if I remove oracle's .profile, and it also fails for any user, any command.
[tt]su - oracle -c dbshut[/tt] fails with "ksh: ls: 0403-006 Execute permission denied."
[tt]su - [any_user] -c [any program][/tt] all fail with that same error.
I'm at a loss as to what's causing this, does anyone else have any ideas?
I had to rework part of oracle's .profile to handle non-interactive logins, but it also fails with the same error if I remove oracle's .profile, and it also fails for any user, any command.