Mail Archives: cygwin-developers/1999/06/08/16:43:26
Corinna Vinschen wrote:
> [...]
> You can't get gid, because gid is only meaningful, if it's read from
> /etc/passwd. Remember: Outside of domains, no primary group exists.
> You only get name and uid but it should be possible, to use the
> administrators group (gid 544) as primary group in any case.
Umm, I thought about it once more. This may also work with ntsec.
Would you please try it, Egor?
It then would be better, to insert /bin/sh as shell again in this entry,
because this would be compatible to the standard behaviour.
This also would be a good choice for the default /etc/group entry.
Instead of using the dummy group `Everyone' which doesn't refer
to any meaningful group, I suggest using the `Administrators'
group (gid 544). We would get the groups native name with the call
`LookupAccountSid (NULL, get_admin_sid (), ...)'!
After Egor's test, I would then implement an according change to `grp.cc'.
Regards,
Corinna
--
new mail address:
mailto:corinna AT vinschen DOT de
- Raw text -