delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/01/08:49:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 1 Aug 2003 08:48:23 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Hugo Bouckaert <Hugo DOT Bouckaert AT geoinformex DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Using usernames and permissions from Windows domain accounts
In-Reply-To: <E49B06EC5E20BD4597A55F52E5401D5C7B6F@geomail.geoinformex.com>
Message-ID: <Pine.GSO.4.44.0308010844590.28176-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Fri, 1 Aug 2003, Hugo Bouckaert wrote:

> Hi
>
> How can you set up cygwin so that Windows domain usernames are being
> used, rather than what I have now, which is, at the cygwin prompt:
>
> Administrator AT machine>
>
> Note that people are logging into the machine as a domain user, but as
> that domain user they are administrator on their local machine. This is
> (I think) why cygwin puts Administrator AT machine> at the prompt. However,
> I would like people to have a cygwin prompt which recognises their
> Windows domain username as well as the permissions, so that if they go
> into a directory with cygwin (for example a mapped Z drive), the windows
> permissions are taken into account when commands are given at the cygwin
> prompt.
>
> How can this be done?
>
> Any help will be greatly appreciated.
>
> Thanks
>
> Hugo

Make sure your /etc/passwd and /etc/group are up to date.  Look at the
output of "id".  If you see either "mkpasswd" or "mkgroup" in that output,
try updating both with domain information.  Also, make sure that ntsec is
on (i.e., your CYGWIN environment variable doesn't contain "nontsec").
Reading <http://cygwin.com/problems.html> would also be useful for general
guidelines on reporting problems with Cygwin (in particular, it's a good
idea to attach the output of "cygcheck -svr", which, BTW, also includes
the output of "id" and the ntsec information).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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