Mail Archives: cygwin/2003/04/04/00:33:09
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 -