Re: Username has a slash at the end

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Mon, Oct 27, 2014 at 6:02 PM, G. G. <gwartney@xxxxxxxxx> 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.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux