Changing username capitalization?

Christofer C. Bell christofer.c.bell at gmail.com
Fri Jun 7 22:22:44 UTC 2013


On Fri, Jun 7, 2013 at 5:08 AM, Bo Berglund <bo.berglund at gmail.com> wrote:

> I need to have the same username on my linux machine as on Win7 for
> connectivity purposes.
> I installed linux with all lowercase letters in my username, which is
> what I also did on my Windows7 main machine.
> But the auth log for ssh access from Windows says that the user is
> nonexisting and when I look closer the supplied username starts with a
> capital letter!
> Obviously Microsoft decided to change the username on installation of
> Win7 by capitalizing what was really entered by me and now the
> connectivity is broken...
>
> Since I don't think I can safely change the username on Windows I need
> to do it in linux instead.
> Is there some way to capitalize my username in linux?
>
> Note:
> I have only this single account on linux and it is being used as a web
> development test machine where I want to use rsync via ssh to update
> the web files before testing.


>From the rsync man page:

       If you need to specify a different remote-shell user, keep in mind
that
       the  user@  prefix  in  front  of the host is specifying the
rsync-user
       value (for a module that  requires  user-based  authentication).
This
       means  that  you  must give the ’-l user’ option to ssh when
specifying
       the remote-shell, as in this example that uses the short version of
the
       --rsh option:

           rsync -av -e "ssh -l ssh-user" rsync-user at host::module /dest

       The  "ssh-user" will be used at the ssh level; the "rsync-user" will
be
       used to log-in to the "module".

Put the lowercase version of your name in place of "ssh-user" and
"rsync-user".

-- 
Chris

"If you wish to make an apple pie from scratch, you must first invent the
Universe." -- Carl Sagan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130607/a1eefb4a/attachment.html>


More information about the ubuntu-users mailing list