How do I get the username in channel_input_port_open

MARC KURTZ mkurtz at dsdlabs.com
Tue Sep 26 07:18:49 EST 2000


hmm... I think that is what I need. Is there a universal get_username() type
of function to get that user's authenticated login name?


----- Original Message -----
From: "Markus Friedl" <markus.friedl at informatik.uni-erlangen.de>
To: "MARC KURTZ" <mkurtz at dsdlabs.com>
Cc: <openssh-unix-dev at mindrot.org>
Sent: Monday, September 25, 2000 3:43 PM
Subject: Re: How do I get the username in channel_input_port_open


> On Mon, Sep 25, 2000 at 10:37:31AM -0400, MARC KURTZ wrote:
> > Doesn't SSHD keep track of this sort of thing? Isn't there a data
structure
> > somewhere that stores the user name of that instance of sshd?
>
> of course, sshd knows the uid of the authenticated user, but not
> the uid of the process connecting to a forwarded socket.
>






More information about the openssh-unix-dev mailing list