Mail Archives: cygwin-developers/2001/04/12/12:56:34
Corinna,
I noticed duplicate ids in the passwd file generated by
`mkpasswd -l -d'. For example, the entries for Administrator
each of a localhost and a domain has the same uid.
Administrator::500:513:,S-1-5-21-1830945627-1768298809-2076119496-500:/home/Administrator:/bin/sh
Administrator::500:513:,S-1-5-21-2025429265-1343024091-682003330-500:/home/Administrator:/bin/sh
A chmod will change the owner of a file from domain's Administrator
into localhost's Administrator because of these entries.
The group file generated by `mkgroup -l -d' has the same
problem. The gid of None conflicts the gid of Domain Users.
None:S-1-5-21-2025429265-1343024091-682003330-513:513:
Domain Users:S-1-5-21-1830945627-1768298809-2076119496-513:513:
I guess mkpasswd and mkgroup should add a large number to the
ids for a domain, and it would be fine that an user can specify
the number with an option.
For example, if mkgroup -l -d -b 10000 generated the following
entries, the problem would be solved.
None:S-1-5-21-2025429265-1343024091-682003330-513:513:
Domain Users:S-1-5-21-1830945627-1768298809-2076119496-513:10513:
How about this idea?
____
| AIST Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology
- Raw text -