delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/23/12:00:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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 <corinna AT vinschen DOT de>
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: Keith Starsmeare <kxs AT bigfoot DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: mkpasswd -d error
References: <19991123162157 DOT 88580 DOT qmail AT hotmail DOT com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019