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: <5790CEEF83581444838043A480BDABD7012196DD@exchange01.zetec.com> From: Matthew Rudolph To: "'cygwin AT cygwin DOT com'" Subject: Changing users in a bash shell. Date: Thu, 12 Jun 2003 13:08:55 -0700 MIME-Version: 1.0 Content-Type: text/plain In the postgres.x.x.x.README there is the following: ->The "$" prompt indicates running as the "postgres" user. Log in as "postgres" or use ssh to emulate Unix's "su" command. Can you point me to something that explains how to do this? You can consider me really green, meaning on a Linux work station I have su'd but that doesn't mean I understand what all happens behind the scenes to actaully switch users. The problem I am trying to solve is an install. I trying to automate the installation of postgresql onto winXP machines. As part of the install I want to be able to 'su' to user postgres and run the initdb command (and a few others) but I am not sure what is necessary to make that happen and I have not been able to find any document like 'How to switch users for dummies on windows'. Thanks for helping me move onto the 'How to switch user for the mostly ignorant on windows'. Matthew Rudolph ----------------------------------------------------------------------- DISCLAIMER: Information contained in this message and/or attachment(s) may contain confidential information of Zetec, Inc. If you have received this transmission in error, please notify the sender by return email. ----------------------------------------------------------------------- -- 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/