Mail Archives: cygwin/2010/01/23/03:42:54
Larry Hall (Cygwin) wrote:
> On 01/22/2010 04:21 AM, Gary . wrote:
...
> > =A0 =A0I added a new user "svn" and a new group "subversion-user", basi=
cally
> > =A0 =A0following http://www.cygwin.com/ml/cygwin/2005-07/msg00933.html =
with
> > =A0 =A0the addition of also doing mkgroup -l -g subversion-user>>
> > =A0 =A0/etc/group.
...
> > =A0 =A0I also want to be able to work on another machine in a similar m=
anner,
> > =A0 =A0so did the same things on that machine regarding user and group =
as I
> > =A0 =A0did on the first. My suspicion is that I shouldn't have, I shoul=
d have
> > =A0 =A0done something else instead, because I see
> > =A0 =A0gary AT mimosa ~
> > =A0 =A0$ ls -l /svn/db
> > =A0 =A0total 14
> > =A0 =A0-rw-r--r--+ 1 gary =A0 =A0 =A0 =A0 =A0 =A0Kein =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 2 2010-01-22 09:34 current
> > =A0 =A0-r--r--r-- =A01 svn =A0 =A0 =A0 =A0 =A0 =A0 subversion-user =A0 =
22 2010-01-22 08:22 format
> > =A0 =A0-rw-r--r-- =A01 svn =A0 =A0 =A0 =A0 =A0 =A0 subversion-user =A0 =
=A05 2010-01-22 08:22 fs-type
> > =A0 =A0-rw-r--r-- =A01 svn =A0 =A0 =A0 =A0 =A0 =A0 subversion-user 1920=
2010-01-22 08:22 fsfs.conf
> > =A0 =A0(etc.)
> > =A0 =A0from the first machine...
> > =A0 =A0...but see
> > =A0 =A0gary AT sunflower ~
> > =A0 =A0$ ls -l /svn/db
> > =A0 =A0total 14
> > =A0 =A0-rw-r--r--+ 1 ???????? =A0 =A0 =A0 ???????? =A0 =A02 2010-01-22 =
09:34 current
> > =A0 =A0-r--r--r-- =A01 ???????? =A0 =A0 =A0 ???????? =A0 22 2010-01-22 =
08:22 format
> > =A0 =A0-rw-r--r-- =A01 ???????? =A0 =A0 =A0 ???????? =A0 =A05 2010-01-2=
2 08:22 fs-type
> > =A0 =A0-rw-r--r-- =A01 ???????? =A0 =A0 =A0 ???????? 1920 2010-01-22 08=
:22 fsfs.conf
> > =A0 =A0(etc.)
> > =A0 =A0from the second.
> The ???????? means that Cygwin on the second machine doesn't know the own=
er
> of these files. This means the user and group IDs are missing from the '/=
etc/passwd'
> and '/etc/group' files.
Yeah, that's what I thought, but:
gary AT mimosa ~
$ mkgroup -l -g subversion-user
subversion-user:S-1-5-21-1715567821-220523388-682003330-1016:1016:
gary AT mimosa ~
$ mkpasswd -l -u svn
svn:unused:1015:513:U-MIMOSA\svn,S-1-5-21-1715567821-220523388-682003330-10=
15:/home/svn:/bin/bash
gary AT sunflower ~
$ mkgroup -l -g subversion-user
subversion-user:S-1-5-21-1004336348-492894223-1060284298-1007:1007:
gary AT sunflower ~
$ mkpasswd -l -u svn
svn:unused:1006:513:U-SUNFLOWER\svn,S-1-5-21-1004336348-492894223-106028429=
8-1006:/home/svn:/bin/bash
Clearly, they're different, which is what I mean when I say
"I shouldn't have, I should have done something else instead".
How can I add the user and group to sunflower (the second
machine) and ensure they are identical to those on mimosa,
at least as far as the areas Cygwin is concerned about,
given that they are first added using the Windows util?
> Add them and this problem should go away. See the
> discussion of security in the Cygwin Users Guide for more details.
I will look. Thanks.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -