delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/04/00:33:09

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: Fri, 4 Apr 2003 02:33:05 -0300
Message-ID: <002101c2fa6b$aaee16d0$0102a8c0@rmserra.com.ar>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <20030404011156.GA45364203@hpn5170x>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3718.0
Importance: Normal

Pierre,

I try your suggestion and works :).
Where I can find the su documentation?

The su works but I need su with no password, like root on unix box.
I try to set blank password and su no ask for password, but is a serious
security hole.

I need this because postgresql daemon need run by "postgres" user.

Of course I can use the cygrunsrv to start daemons with "postgres"
credentials, but the possibility to use one nt daemon, init, and use
standard linux/unix start script is good for me and maybe for other peoples
interested in ported unix services to cygwin.

Rodrigo

-----Mensaje original-----
De: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] En nombre de
Pierre A. Humblet
Enviado el: Jueves, 03 de Abril de 2003 10:12 p.m.
Para: cygwin AT cygwin DOT com
Asunto: Re: su questions

On Thu, Apr 03, 2003 at 12:50:06PM -0500, Igor Pechtchanski wrote:

> There is no working implementation of 'su' under Cygwin.  Use sshd and
> "ssh -l name localhost" to switch user contexts.

FWIW, su works under the limited conditions outlined below 
and on Win9X/ME.

It is possible to create "Windows personalities" in /etc/passwd,
i.e. accounts that use the same Windows username and SID, but 
have their own name, uid, gid, shell and home directory, and 
thus ssh keys.
This could be useful for network access, e.g. to allow a trusting 
group of users to share the same Windows account, or to receive 
mail under several names.
su can be used to switch between personalities. The password 
"unused_by_nt/2000/xp" must be replaced by the output of 
"crypt password". "Password" need not be the Windows password.

Pierre

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


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