delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/09/17:52:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <007801c00254$7f018b90$28a6003e@mellow>
From: "Tom Alsberg" <alsbergt AT netvision DOT net DOT il>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: The su command in Cygwin under Windows NT
Date: Thu, 10 Aug 2000 00:52:28 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

  Hi there... I've got some problem with Cygwin's su command under Windows
NT. Generally, the problem is that if I try to su to any user (except of the
same user I'm logged on to), from any user (including Administrator), I get
the following error message:

su: cannot set user id: Not owner

  I set the /etc/passwd file up, by entering:

mkpasswd -l > /etc/passwd

  and added all the permissions it could need to the Administrators group
under User Manager:

  Act as part of the operating system
  Increase Quotas
  Replace a process level token
  Restore files and directories

  (These were taken from the Windows NT Resource Kit SU documentation, but I
thought they might be required for Cygwin's 'su' to work)

  I've also set up the CYGWIN environment variable to include "ntsec" and
"ntea", yet I cannot substitute user.
  I can, however, use the login command, it works OK.

  Has anyone got any idea what the problem might be?

  Any help kindly appreciated,
  Tom Alsberg




--
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