This is the mail archive of the cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: Patch, Version 2: UNIX-like permissions on objects
- To: Corinna Vinschen <corinna.vinschen@cityweb.de>
- Subject: Re: Patch, Version 2: UNIX-like permissions on objects
- From: Geoffrey Noer <noer@cygnus.com>
- Date: Fri, 5 Mar 1999 14:35:23 -0800
- Cc: Sergey Okhapkin <sos@prospect.com.ru>, "cygwin32-developers@cygnus.com" <cygwin32-developers@cygnus.com>
- Delivered-To: listarch-cygwin-developers@sourceware.cygnus.com
- Delivered-To: mailing list cygwin-developers@sourceware.cygnus.com
- In-Reply-To: <36B346C5.4EE92C15@cityweb.de>; from Corinna Vinschen on Sat, Jan 30, 1999 at 06:52:05PM +0100
- Mailing-List: contact cygwin-developers-help@sourceware.cygnus.com; run by ezmlm
- References: <01BE46C2.29B35190@sos> <36B346C5.4EE92C15@cityweb.de>
- Sender: cygwin-developers-owner@sourceware.cygnus.com
> Important hints:
> - The /etc/passwd and /etc/group files _must_ be ok!
> - The /etc/group file should contain the local groups on stand-alone
> workstations!
> - The gids in /etc/passwd should contain the correct membership to
> the groups,
> never gid 513 (nobody)! You should take special care especially on stand-alone
> workstations!
> Correct example files on a stand-alone workstation (names are only translations from
> german NT4, I don't know the english names by own experience):
> /etc/passwd:
> everyone:*:0:0:::/usr/bin/date
> system:*:18:18:::/usr/bin/date
> administrator::500:544::/home/admin:/bin/csh
> guest:*:501:546:::/usr/bin/date
> administrators:*:544:544::/home/admin:/usr/bin/date
> corinna::1000:547:Corinna Vinschen:/home/corinna:/bin/tcsh
> ftp:*:1002:545::/home/pub:/usr/bin/date
> /etc/group:
> everyone::0:
> system::18:
> nobody::513:
> administrators::544:
> users::545:
> guests::546:
> powerusers::547:
> replication-operator::552:0:::
> backup-operators::551:0:::
This means that our mkgroup program needs to generate these other
entries, right?
Overall, I still think we need to get rid of /etc/passwd and
/etc/group in favor of getting the information from NT itself.
Cygwin would handle accesses to /etc/passswd and /etc/group
specially, like /dev/null now.
What do you think?
--
Geoffrey Noer Email: noer@cygnus.com
Cygnus Solutions