delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/12/16:12:59

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
Message-ID: <5790CEEF83581444838043A480BDABD7012196DD@exchange01.zetec.com>
From: Matthew Rudolph <mrudolph AT zetec DOT com>
To: "'cygwin AT cygwin DOT com'" <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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019