public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* The su command in Cygwin under Windows NT
@ 2000-08-09 14:51 Tom Alsberg
  2000-08-09 15:29 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Alsberg @ 2000-08-09 14:51 UTC (permalink / raw)
  To: cygwin

  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@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: The su command in Cygwin under Windows NT
  2000-08-09 14:51 The su command in Cygwin under Windows NT Tom Alsberg
@ 2000-08-09 15:29 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2000-08-09 15:29 UTC (permalink / raw)
  To: Tom Alsberg; +Cc: cygwin

Tom Alsberg wrote:
> 
>   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
> [...]
>   Has anyone got any idea what the problem might be?

`su' isn't really ported but only compiled, unfortunately.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-08-09 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-09 14:51 The su command in Cygwin under Windows NT Tom Alsberg
2000-08-09 15:29 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).