Re: Man gets to be su?
- To: Fredrik Liljegren <fredrik.liljegren@configura.com>
- Cc: "Debian-Devel E-mail\"" <debian-devel@lists.debian.org>
- Subject: Re: Man gets to be su?
- From: Bob Nielsen <nielsen@primenet.com>
- Date: Sun, 20 Feb 2000 12:14:49 -0700
- Message-id: <20000220121449.B28209@bob.localnet>
- In-reply-to: <B519D0EAC5FFD211AD0D00902759B1032EFCBC@RAGNAROK>; from fredrik.liljegren@configura.com on Sun, Feb 20, 2000 at 03:37:33PM +0100
- References: <B519D0EAC5FFD211AD0D00902759B1032EFCBC@RAGNAROK>
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
> is:
> ----------------------
> eof@burrken:~$ man
> What manual page do you want?
> eof@burrken:~$ su
> Password:
> 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
> option
> -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
> burrken:/home/eof#
> -----------------------
> 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 debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
Bob Nielsen, N7XY (RN2) nielsen@primenet.com
Tucson, AZ DM42nh QRP-L #1985 SOC #77 http://www.primenet.com/~nielsen
Reply to: