This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: using ntsec, su doesn't work
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Maurício <briqueabraque at yahoo dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 21 Feb 2003 09:43:28 -0500 (EST)
- Subject: Re: using ntsec, su doesn't work
- Reply-to: cygwin at cygwin dot com
On Fri, 21 Feb 2003, Maurício wrote:
> Hi,
>
> I'm using cygwin latest install. I did:
>
> mkpasswd -l > /etc/passwd
> mkgroup -l > /etc/group
>
> When I log as administrator or as user (postgres), 'who' gives the
> proper name. However, when I try 'su Administrator' or 'su postgres' it
> rejects the password. I can log on win2000 using those passwords.
> What am I doing wrong?
>
> Thanks,
> Maurcio
Nothing, this is expected behavior. 'su' doesn't work under Cygwin unless
the user has appropriate privileges. See
<http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.3.3> for
details. You can always use "ssh user at localhost" or Windows services
("at" or "runas").
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`' -. ;-;;,_ igor at watson dot ibm dot com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
-- /usr/games/fortune
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/