GNU su supports the -c option to specify a command to execute.
However, other flavours of su may have a different interpretation
of the '-c' flag (e.g. FreeBSD and OpenBSD).
The behaviour is correct when '-c' follows an explicit username.
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
---
See for example:
* OpenBSD manpage at
http://www.openbsd.org/cgi-bin/man.cgi?query=su
* FreeBSD manpage at
http://www.freebsd.org/cgi/man.cgi?query=su