Re: How to run Cygwin as the root user ?

2010-10-04 Thread Clement, Sebastien
Thank you Larry for this,

Note: I was unsure on how to reply to this so that the thread would be
followed. What's the best way ?

==
Re: How to run Cygwin as the root user ?
* From: Larry Hall \(Cygwin\) reply-to-list-only-lh at cygwin dot
com
* To: cygwin at cygwin dot com
* Date: Fri, 01 Oct 2010 17:36:26 -0400
* Subject: Re: How to run Cygwin as the root user ?
* References:
8c16dedef6de8b418a724b298297a5300414f...@s0-ott-x3.nrn.nrcan.gc.ca
* Reply-to: cygwin at cygwin dot com

On 10/1/2010 5:23 PM, Clement, Sebastien wrote: 
A very basic question but how can we do that ? 

Cygwin runs as whatever user you start it as.  Log in and run
it.  If you need to switch users, you should install the
'openssh' package, read the readme and configure it, and
use 'ssh'.  There is no 'root' user in Windows and therefore
Cygwin.  Something close (but certainly not at all the same)
is Administrator.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



How to run Cygwin as the root user ?

2010-10-01 Thread Clement, Sebastien
A very basic question but how can we do that ?

Sébastien






--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Cannot run psql under Cygwin

2010-08-11 Thread Clement, Sebastien
When I try to run psql (eg. psql -U myusername -d mydb) from Cygwin, it freezes.
When I run it from the DOS console, it works fine.

Here are the versions on my system:
Windows XP Pro 2002, Service Pack 3
Cygwin: CYGWIN_NT-5.1 W-QUE-A103212 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 
Cygwin
PostgreSQL: 8.4.4
No version of PostgreSQL was installed under Cygwin.

Sébastien Clément


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Cannot run psql under Cygwin

2010-08-11 Thread Clement, Sebastien
Okay, many thanks Larry.

I forgot to mention I was using the MinTTY console.
It works when I use the regular Cygwin console.

I found that:
http://cygwin.com/ml/cygwin/2009-10/msg00330.html


Sébastien
--



On 8/11/2010 11:57 AM, Clement, Sebastien wrote:

When I try to run psql (eg. psql -U myusername -d mydb) from Cygwin, it 
freezes.
When I run it from the DOS console, it works fine.


In that case, you need to run Cygwin's bash from a console (i.e. use
'cygwin.bat' as provided by 'setup.exe') and run 'psql' from there.
See the 'tty' option for the CYGWIN environment variable in the Users
Guide for more details:


http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple