Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <383AC7E0.9055CC2A@vinschen.de> Date: Tue, 23 Nov 1999 17:59:13 +0100 From: Corinna Vinschen X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: Keith Starsmeare CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: mkpasswd -d error References: <19991123162157 DOT 88580 DOT qmail AT hotmail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Keith Starsmeare wrote: > > I've only recently become a domain user and it's giving me a few problems. > > Firstly, I'm recognised only as Administrator - I have been added to the > local administrator group, I guess there's no way to get it to recognise my > username? (My current hack, so that I can use rsh, has been to replace > Administrator with my username in /etc/passwd.) What you see is standard NT behaviour: If you are member of the admin group, the owner of any object that you create is the admin group. Since Cygwin 1.0 you can use the option CYGWIN=ntsec (besides others). It allows to have real uid/gid settings in the ntfs security settings. If you create a file, you are the owner regardless of your group memberships. In order to use `ntsec' you have to create well formed /etc/passwd and /etc/group files with mkpasswd and mkgroup. > Also, when I try "mkpasswd -d $USERDOMAIN" I get the error "Cannot get PDC, > code = 2453". Yet "mkpasswd -d" gives some information, but it doesn't > include all the users in the domain. It's an error in mkpasswd. Try the Cygwin 1.0 version or newer snapshots. > If I take myself out of the Administrator group will I have a useful UID? Yes, but `ntsec' will solve this problem, too. > Is it possible to set up cygwin to work recognise domain users as well as it > recognised local users? That's ok so far as the login names of the local and the domain users differ each other. Otherwise you will run into problems. Corinna -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com