[Bug 3477] Support environment variable or %u token for User

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Feb 28 21:07:34 AEDT 2025


https://bugzilla.mindrot.org/show_bug.cgi?id=3477

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
   Attachment #3864|                            |ok?(djm at mindrot.org)
              Flags|                            |

--- Comment #6 from Darren Tucker <dtucker at dtucker.net> ---
Created attachment 3864
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3864&action=edit
Expand %-tokens and ${VAR} environment variables in User

It was a bit more involved than I thought, since %r expands to User,
and %C expands to a hash containing User so those are self-referential.

I worked around that by simply disallowing %r and %C in User
expansions.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list