LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-23-2004, 09:02 AM   #1
nethook
LQ Newbie
 
Registered: May 2004
Location: Florida
Distribution: Every
Posts: 12

Rep: Reputation: 0
Passwd for psql


Hello All,

I am trying to specify a passwd to start psql on an init script but I don't know how.

What is the switch to specify the password using psql:

psql -U ${USER} -? ${PASSWORD}

I already know -p is port and -P is for printing options...any help would be appreciated
 
Old 10-23-2004, 09:58 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,442

Rep: Reputation: 3560Reputation: 3560Reputation: 3560Reputation: 3560Reputation: 3560Reputation: 3560Reputation: 3560Reputation: 3560Reputation: 3560Reputation: 3560Reputation: 3560
BTW have you looked at the man pages for psql options? It lists all of the command line options. Have you tried searching the internet for information?

http://www.die.net/doc/linux/man/man1/psql.1.html

If you still need help then ask away.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/passwd XaViaR Linux - General 1 06-13-2005 10:12 AM
psql: FATAL 1: IDENT authentication failed for user "postgres" linuxtesting2 Linux - General 3 06-16-2004 12:48 PM
about passwd jnzhang Linux - General 7 07-08-2003 04:32 PM
/etc/passwd help debdas Linux - General 3 05-09-2003 01:28 PM
psql history notsoevil Linux - General 0 02-04-2002 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration