This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: User names with spaces
- From: "DePriest, Jason R." <jrdepriest at ftb dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 23 Jun 2003 10:30:36 -0500
- Subject: RE: User names with spaces
Yes.
Cygwin only really cares about the SSID.
Say my local administrator account is 'Administrator' with an SSID of
S-1-5-21-1111111111-1111111111-1111111111-500.
However, I want cygwin to call it 'root' and call it's home directory
'admin'.
So the line in /etc/passwd would look like this:
root::500:513:U-LOCALHOST\Administrator,S-1-5-21-1111111111-1111111111-1
111111111-500:/home/admin:/bin/bash
And everything works great.
When I open up cygwin, I get this:
root@LOCALHOST ~
$ pwd
/home/admin
root@LOCALHOST ~
$
> -----Original Message-----
> From: andrew brian clegg [mailto:a.clegg@mail.cryst.bbk.ac.uk]
> Sent: Monday, June 23, 2003 10:17 AM
> To: cygwin@cygwin.com
> Cc: Igor Pechtchanski
> Subject: Re: User names with spaces
>
>
>
>
> On Mon, 23 Jun 2003, Igor Pechtchanski wrote:
>
> > > However I'd like to just change the name of the old
> account using XP Pro's
> > > facilities for doing so, so I can keep all of my old
> settings etc., and
> > > just rename my cygwin home dir to match. Has anyone tried
> this? I don't
> > > want to mess everything up and end up having to reinstall
> lots of stuff.
> >
> > Andrew,
> >
> > Why not simply edit the /etc/passwd entry?
>
> Umm -- because I'm still slightly hazy and over-cautious about the
> interaction between Windows accounts and cygwin accounts? :)
>
> I take it then that if I (for example) just change the space to an
> underscore in my /etc/passwd entry and in "/home/Andrew
> Clegg/" it'll all
> work swimmingly when I log back in -- terrific.
>
> Cheers for the hint,
>
> Andrew.
>
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/