[1152] in Athena Bugs
(RT/PC) Version 6.0C: su man page
daemon@ATHENA.MIT.EDU (jik@ATHENA.MIT.EDU)
Mon Oct 10 13:40:29 1988
From: <jik@ATHENA.MIT.EDU>
Date: Mon, 10 Oct 88 13:40:07 EDT
To: bugs@ATHENA.MIT.EDU
System type, version: (RT/PC) Version 6.0C
System name: snorkelwacker
What's wrong:
Su apparently allows as command-line arguments any arguments
which can be passed to the shell that su calls. In other words,
I can pass arguments to the csh which su starts up by specifying
those arguments on the su command line. To start up a fast csh
and execute a command, for example, I would do:
su -fc command
The problem is that the manual page for su only mentions the -f
option, which is actually a csh option, not an su option.
What should have happened:
The manual page should state that arguments to csh are passed to
the shell which csh invokes.