delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/03/13:32: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
From: "Rodrigo Serra" <rmserra AT fibertel DOT com DOT ar>
To: <cygwin AT cygwin DOT com>
Subject: RE: su questions
Date: Thu, 3 Apr 2003 15:32:04 -0300
Message-ID: <000601c2fa0f$553d7660$0102a8c0@rmserra.com.ar>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3718.0
Importance: Normal
In-Reply-To: <Pine.GSO.4.44.0304031248550.21921-100000@slinky.cs.nyu.edu>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h33IWAK24021

Igor, thak a lot ...

A have new problem. :(
I try to use sshd and whe run "ssh localhost" whit rsa authentication the
output of the command is:

$ ssh localhost
Last login: Thu Apr  3 15:20:24 2003 from s1.rmserra.com.ar
Fanfare!!!
You are successfully logged in to this server!!!
Connection to localhost closed.

and eventlog report

sshd : PID 3512 : fatal: setuid 1003: Permission denied.

The sshd is running within SYSTEM account and started by init.

My passwd file entry is:
rmserra:unused_by_nt/2000/xp:1003:544:Rodrigo
Serra,U-S1\rmserra,S-1-5-21-895620764-424314960-1421636116-1003:/home/rmserr
a:/bin/bash

and group 544 is Administrators
/etc/group entry is:
Administrators:S-1-5-32-544:544:

When i try ssh -l administrator localhost the command asks password and work
fine.

Thank
-----Mensaje original-----
De: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu] 
Enviado el: Jueves, 03 de Abril de 2003 02:50 p.m.
Para: Rodrigo Serra
CC: cygwin AT cygwin DOT com
Asunto: Re: su questions

On Thu, 3 Apr 2003, Rodrigo Serra wrote:

> Hello,
>
> I try to use "su" command and every time the command asks password and
fail.
> :(
>
> My questions is
> su commands works?
> I need especial permissions to run su?, I try SYSTEM account whit the same
> result.
> The group wheel is needed?
>
> Thank

Rodrigo,

There is no working implementation of 'su' under Cygwin.  Use sshd and
"ssh -l name localhost" to switch user contexts.
	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!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


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

- Raw text -


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