Re: Man gets to be su?
No, it asked you what man page you wanted and returned a shell prompt
(it is NOT waiting for further input). Then you typed su, which bash
correctly interprets as a command without an argument. If you want the
man page for su, type 'man su'.
On Sun, Feb 20, 2000 at 03:37:33PM +0100, Fredrik Liljegren wrote:
> I had an interresting experience today. When requesting a manpage, it asked
> me for my password! Well, the man-command thought it was su! Heres what
> eof@burrken:~$ man
> What manual page do you want?
> eof@burrken:~$ su
> burrken:/home/eof# man
> su: option requires an argument -- c
> Usage: su [OPTS] [-] [username [ARGS]]
> - make this a login shell
> -c, --commmand=<command>
> pass command to the invoked shell using its -c
> -m, -p, --preserve-environment
> do not reset environment variables, and keep the
> same shell
> -s, --shell=<shell>
> use shell instead of the default in /etc/passwd
> Well, as a user "man" was just "man", but after my su "man" became "su"!! A
> "which man" returns "/usr/bin/man", and typing the command with full path is
> the same.
> I am logged on thru ssh.. I haven't noticed anything else this strange...
> I don't even know where to send a bug-report!
> Regards, EOF
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com
Bob Nielsen, N7XY (RN2) firstname.lastname@example.org
Tucson, AZ DM42nh QRP-L #1985 SOC #77 http://www.primenet.com/~nielsen