Username has a slash at the end
G. G.
gwartney at gmail.com
Wed Oct 29 00:53:03 EST 2014
The operating system is a modified version of debian so there probably are
modifications in sshd. Thank you for your responses; I just wanted to make
sure I wasn't loosing it. :)
On Mon, Oct 27, 2014 at 10:42 PM, Darren Tucker <dtucker at zip.com.au> wrote:
> On Mon, Oct 27, 2014 at 6:02 PM, G. G. <gwartney at gmail.com> wrote:
>
>> One of my unfortunate users decided to put a slash at the end of his
>> username "username/". Is there any way to use ssh to specify that the
>> slash
>> is part of the username? I've tried every combination of escape characters
>> that I can think of but sshd always removes the slash.
>
>
> I just built stock openssh-5.5p1's on a recent Fedora, and sshd actually
> accepts it if you manually edit /etc/{passwd,shadow}, both with and without
> PAM enabled.
>
> $ ssh -p 2022 -l "testuser/" localhost
> Password:
> [...]
> USER=testuser/
> LOGNAME=testuser/
>
> Sorry, but whatever the problem is, it's not in the stock sshd. There may
> be some modification in the sshd, or it could be some other problem.
>
> --
> Darren Tucker (dtucker at zip.com.au)
> GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
> Good judgement comes with experience. Unfortunately, the experience
> usually comes from bad judgement.
>
More information about the openssh-unix-dev
mailing list