Re: Username hassles

2009-07-16 Thread Paul Mead
"Larry Hall (Cygwin)" writes: > > 'setup.exe' installs files with the user name of the user that invoked > 'setup.exe' so depending on who you update your Cygwin installation as, > you may need to do this again. Obviously, it would be preferable to do > the updates as the same user as you want t

Re: Username hassles

2009-07-16 Thread Larry Hall (Cygwin)
Paul Mead wrote: "Larry Hall (Cygwin)" writes: And the problem is that you want the files installed by Cygwin's "setup.exe" to use "paul" instead of "MEAD8998". Yeah, that will happen because "setup.exe" is a Windows program and is going to use the Windows SID of the user installing it. If y

Re: Username hassles

2009-07-16 Thread Paul Mead
"Larry Hall (Cygwin)" writes: > > And the problem is that you want the files installed by Cygwin's "setup.exe" > to use "paul" instead of "MEAD8998". Yeah, that will happen because > "setup.exe" is a Windows program and is going to use the Windows SID of > the user installing it. If you prefer

Re: Username hassles

2009-07-13 Thread Larry Hall (Cygwin)
Mark J. Reed wrote: On Mon, Jul 13, 2009 at 6:07 PM, Larry Hall wrote: If you prefer "paul" to be used, you need to do one of two things: 1. Remove the "MEAD8998" user from your '/etc/passwd'. It's presumably before the "paul" user in the file and has the same SID. 2. "chmod -R paul /

Re: Username hassles

2009-07-13 Thread Mark J. Reed
On Mon, Jul 13, 2009 at 6:07 PM, Larry Hall wrote: >  If you prefer "paul" to be used, you need to do > one of two things: > >  1. Remove the "MEAD8998" user from your '/etc/passwd'.  It's presumably >     before the "paul" user in the file and has the same SID. > >  2. "chmod -R paul / /usr/bin /u

Re: Username hassles

2009-07-13 Thread Larry Hall (Cygwin)
Paul Mead wrote: "Larry Hall (Cygwin)" writes: . Thanks. Ownerships won't change. You're only telling Cygwin that the name to display for your user is "MEAD8998" rather than "paul".

Re: Username hassles

2009-07-13 Thread Paul Mead
"Larry Hall (Cygwin)" writes: > > Ownerships won't change. You're only telling Cygwin that the name > to display for your user is "MEAD8998" rather than "paul". The user > id (or SID in Windows) will not change (and you shouldn't change it > in '/etc/passwd'). This is all "details" but since yo

Re: Username hassles

2009-07-13 Thread Larry Hall (Cygwin)
Paul Mead wrote: Corinna Vinschen writes: http://cygwin.com/1.7/cygwin-ug-net/ntsec.html Corinna OK, so if I'm reading this right, I need to edit /etc/passwd to translate my 'paul' cygwin login to my XP 'MEAD8998' username. Then ownership of file owned by 'MEAD8998' will no longer be a probl

Re: Username hassles

2009-07-13 Thread Paul Mead
Corinna Vinschen writes: > http://cygwin.com/1.7/cygwin-ug-net/ntsec.html > > > Corinna OK, so if I'm reading this right, I need to edit /etc/passwd to translate my 'paul' cygwin login to my XP 'MEAD8998' username. Then ownership of file owned by 'MEAD8998' will no longer be a problem. Is that ab

Re: Username hassles

2009-07-13 Thread Paul Mead
Corinna Vinschen writes: > On Jul 13 15:29, Paul Mead wrote: >> Thorsten Kampe writes: >> >> > >> > Untested: /etc/passwd? >> What should that do, I ran it but I'm none the wiser! > > You *ran* /etc/passwd? It's not a script. Maybe this helps: > http://cygwin.com/1.7/cygwin-ug-net/ntsec.html

Re: Username hassles

2009-07-13 Thread Corinna Vinschen
On Jul 13 15:29, Paul Mead wrote: > Thorsten Kampe writes: > > > > > Untested: /etc/passwd? > What should that do, I ran it but I'm none the wiser! You *ran* /etc/passwd? It's not a script. Maybe this helps: http://cygwin.com/1.7/cygwin-ug-net/ntsec.html Corinna -- Corinna Vinschen

Re: Username hassles

2009-07-13 Thread Paul Mead
Thorsten Kampe writes: > > Untested: /etc/passwd? What should that do, I ran it but I'm none the wiser! -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin

Re: Username hassles

2009-07-13 Thread Thorsten Kampe
* Paul Mead (Mon, 13 Jul 2009 12:38:39 + (UTC)) > Hi, I've got cygwin running on a work machine with a weird username allocated by > IS dept. Somehow I managed to make the user name on cygwin to be 'paul' but > all > the files loaded by cygwin setup are owned by 'MEAD8998'. > > Is there any

Username hassles

2009-07-13 Thread Paul Mead
Hi, I've got cygwin running on a work machine with a weird username allocated by IS dept. Somehow I managed to make the user name on cygwin to be 'paul' but all the files loaded by cygwin setup are owned by 'MEAD8998'. Is there any way (short of complete reinstallation) of changing cygwin so that