Re: OpenSSH environment passing
From: Richard E. Silverman (res_at_qoxp.net)
Date: 11/24/05
- Next message: simon_l_evans_at_yahoo.co.uk: "Re: OpenSSH environment passing"
- Previous message: Roy: "SSH with no home directory"
- In reply to: simon_l_evans_at_yahoo.co.uk: "OpenSSH environment passing"
- Next in thread: simon_l_evans_at_yahoo.co.uk: "Re: OpenSSH environment passing"
- Reply: simon_l_evans_at_yahoo.co.uk: "Re: OpenSSH environment passing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 23 Nov 2005 23:28:39 -0500
>>>>> "SLE" == simon l evans <simon_l_evans@yahoo.co.uk> writes:
SLE> I am using OpenSSH_4.0p1, OpenSSL 0.9.7c 30 Sep 2003 on a Solaris
SLE> machine. I have seen the use of the
SLE> environment="LOGNAME=mylogon" in the authorized_keys file and
SLE> have implemented this. But... I log in and authenticate fine
SLE> against this key but cannot see where LOGNAME has been
SLE> changed. In debug mode (server and client) shows LOGNAME as the
SLE> original and not the overridden value. Not sure if I am
SLE> understanding the process correctly? Any help appreciated.
Perhaps:
$ man sshd_config
...
PermitUserEnvironment
Specifies whether ~/.ssh/environment and environment= options in
~/.ssh/authorized_keys are processed by sshd. The default is
``no''. Enabling environment processing may enable users to
bypass access restrictions in some configurations using mecha-
nisms such as LD_PRELOAD.
...
-- Richard Silverman res@qoxp.net
- Next message: simon_l_evans_at_yahoo.co.uk: "Re: OpenSSH environment passing"
- Previous message: Roy: "SSH with no home directory"
- In reply to: simon_l_evans_at_yahoo.co.uk: "OpenSSH environment passing"
- Next in thread: simon_l_evans_at_yahoo.co.uk: "Re: OpenSSH environment passing"
- Reply: simon_l_evans_at_yahoo.co.uk: "Re: OpenSSH environment passing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]