Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A0C6BE6.C3EDF488@redhat.com> Date: Fri, 10 Nov 2000 22:43:02 +0100 From: Corinna Vinschen Reply-To: "'cygwin'" X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-SMP i686) X-Accept-Language: de, en MIME-Version: 1.0 To: cygwin Subject: Re: NTSEC, passwd/group, and "544" References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Masterson, Dave" wrote: > > 544 is the admins group. > > Ok, I see that now from the documentation. However, what governs the > permissions on the file? Under NT? The permissions set on the parent directory. But this is really MS documentation. > > If ntsec is off, the ownership might be faked dependent of the > > contents of /etc/passwd. > > How? Does it simply assume that all files are owned by the current user > (ie. leave it to Windows to arbitrate access to the file)? Sorry, wrong description. On NTFS it always uses the RID then which is substituted by a name in `ls -l' output iff /etc/passwd has a corresponding user entry. On FAT it always assums the current user is the owner regardless of the ntsec setting. > > myadmingrp::544:513:,S-1-5-32-544::/bin/false > > I thought mkpasswd (without "-s") would do this by default (but "root" > instead of "myadmingrp"). > [...] > > > BTW, mkpasswd and mkgroup did not make the "root" account/group > > > Sure. They are not intended to do it by themselves. It's _your_ > > choice. > > By my choice, do you mean my choice for adding "-s" to the command line? Or > do you mean that mkpasswd doesn't add these accounts at all and its my > choice to add them by hand? mkpasswd didn't that up to Cygwin-1.1.5-4, it does from 1.1.5-6 on. But it _never_ uses another login name than the one which is given by the NT system (locale dependent). If you want that Cygwin sees admins as root, _you_ have to change the name like the aforementioned `myadmingrp' example. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT sources DOT redhat DOT com Red Hat, Inc. mailto:vinschen AT redhat DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com