Subject: How to use su
To: None <>
From: None <>
List: current-users
Date: 08/28/1999 20:10:44

first: YES I have read the man page!

The question is how can i achieve the same as "su - USER -c 'COMMAND'"
on Solaris with the NetBSD su.
I tried su USER /bin/sh COMMAND but this reads my .cshrc!!! - definitely,
and I have NO .profile!
I also tried several combinations of options (-m -f etc), but never
got the desired result.

Some results include:

# su apr /bin/csh w
\340\231^C\340\377\275: Event not found.


# su -fm apr /bin/sh w
M-`M^Y^CM-`M^?M-=: Event not found.

Any ideas?