Mail Archives: cygwin/2005/12/02/10:25:37
On Fri, 2 Dec 2005, Ludovic Drolez wrote:
> Corinna Vinschen wrote:
> > On Dec 2 12:50, Ludovic Drolez wrote:
> >
> > > Hello,
> > >
> > > Since I do not want to update '/etc/passwd' each time the SID changes
> > > (sysprep deployment for example), I wanted to know if I can modify my
> > > /etc/passwd like this:
> > >
> > > Administrator:unused_by_nt/2000/xp:544:544:U-Administrator,S-1-5-32-544:/home/Administrator:/bin/bash
> > >
> > > Or assign any other well know SID to the user ? S-1-5-18 ?
> > >
> > > Sshd seems to work well, but does it have any side effects on cygwin and
> > > windows?
> >
> >
> > You can hurt your /etc/passwd as you like as long as it works. It
> > won't affect native Windows apps usually, unless you make some bad
>
> So having the same SID for the user and unix group won't make cygwin (and
> windows) go crazy ?
AFAIK, Windows groups are actually compound users. As long as the SID you
use in both /etc/passwd and /etc/group belongs to a Windows group, you
should be ok. I don't know what will happen with a user's SID (this
actually is a question to Corinna, since ACL and group ownership mapping
happens within Cygwin).
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
--
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/
- Raw text -