Subject: How to use su
To: None <current-users@netbsd.org>
From: None <apr@spade.apc.aip.de>
List: current-users
Date: 08/28/1999 20:10:44
Hi,

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.

or

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

Any ideas?

Andreas