This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: su questions


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]