Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/