www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Message-ID: | <41FAAFD4.1070905@buddydog.org> |
Date: | Fri, 28 Jan 2005 16:34:12 -0500 |
From: | Jonathan Arnold <jdarnold AT buddydog DOT org> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050119 MultiZilla/1.6.4.0b |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: su alternative for Win2k |
References: | <41FAA56C DOT 9040508 AT buddydog DOT org> <MPG DOT 1c64752fb6345fb99896ba AT localhost> |
In-Reply-To: | <MPG.1c64752fb6345fb99896ba@localhost> |
X-IsSubscribed: | yes |
Andrew Schulman wrote: >>I was just installing postgreSQL and ran across the problem with >>getting initdb to run as the postgres user. As expected, I could >>neither su nor login to work. Searching the archives and the like >>for a fix, the most often specified one was to use ssh. But as I >>don't run sshd, and it seems a shame to have to run this just to >>get an su-like behaviour, that wouldn't work for me. > > > Now I'm curious. I haven't tried to search for bug reports on su in > Cygwin. But it's never worked for me. I always figured that I was just > doing something wrong, but it was never important enough to find out > what it was and fix it-- I just used 'Run As' instead, as you suggest. > > So now I wonder, is it not just me? Is su in Cygwin broken for > everyone? Yes, according to the FAQ, su is essentially unsupported. One suggestion is to use 'login' but that also requires lots of research and changing of security parameters and the like. I couldn't really get RunAs to work for me. It wouldn't let me type in a password. I like the shortcut because now I can get a real bash shell for any of my "users" at the click of a mouse. -- Jonathan Arnold (mailto:jdarnold AT buddydog DOT org) Amazing Developments http://www.buddydog.org I feel like a fugitive from the law of averages. - William H. Mauldin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |