useradd & user ids

Steve Kelem skelem@elementcxi.com
Fri Apr 21 01:45:00 GMT 2006


Igor Peshansky said the following on 4/20/2006 12:24 PM:
> On Thu, 20 Apr 2006, Steve Kelem wrote:
>
>   
>> How do I set my user & group id to a specific value?  I would like it to
>> match the uid & gid assigned by Linux on our main server.
>> If my local settings match the main server's, then ssh works more
>> smoothly.
>>     
>
> Do you mean the name or the numeric value?  In either case, just edit
> /etc/passwd and /etc/group on Cygwin -- the SID is the only value that
> really matters as far as Windows is concerned.  All the rest is up to you.
> HTH,
> 	Igor
Actually, I meant "how do I do it so that I don't have to edit 
/etc/{passwd,group} manually
each time I add a user to XP?"  Is there a way to specify the mapping to 
uid/gid numbers so that I get the
same passwd file automatically?
If not, I guess I could write a script.

Thanks,
Steve

--
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/



More information about the Cygwin mailing list