Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Novice > What is a passw...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 3041 of 3175
Post > Topic >>

What is a password for?

by wwguocn@[EMAIL PROTECTED] (Weiwei Guo) Mar 16, 2008 at 01:31 PM

Dear all,

I am trying to create user/db under console with. I find that no matter I
input a password or not when I'm creating or 
dropping a user/db, the action can be success. What is a password for?

The following is what I have done:

~ $ createuser -U postgres -W super_creater_ctreated
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) y
Shall the new role be allowed to create more new roles? (y/n) y
Password:<I input 'aaa' here>
CREATE ROLE

~ $ createuser -U super_creater_ctreated -W test_creater_created
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) y
Shall the new role be allowed to create more new roles? (y/n) n
Password: <i input 'bbb' here>
CREATE ROLE

~ $ dropuser -U super_creater_ctreated -W test_creater_created
Password:<i input nothing here>
DROP ROLE

~ $ createuser -U super_creater_ctreated -W test_creater_createdno
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) y
Shall the new role be allowed to create more new roles? (y/n) n
Password:<i input nothing here>
CREATE ROLE

~ $ dropuser -U super_creater_ctreated -W test_creater_createdno
Password:<i input 'bbb' here>
DROP ROLE



I cannot understand the mechanism for password. Is it a bug?

I'm using postgresql-8.2.6.


Weiwei

-- 
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
 




 8 Posts in Topic:
What is a password for?
wwguocn@[EMAIL PROTECTED]  2008-03-16 13:31:40 
Re: What is a password for?
micah@[EMAIL PROTECTED]   2008-03-15 23:48:02 
Re: What is a password for?
wwguocn@[EMAIL PROTECTED]  2008-03-17 08:25:26 
Re: What is a password for?
tgl@[EMAIL PROTECTED] (T  2008-03-16 20:55:56 
Re: What is a password for?
wwguocn@[EMAIL PROTECTED]  2008-03-17 13:36:36 
Re: What is a password for?
tgl@[EMAIL PROTECTED] (T  2008-03-17 01:34:25 
Re: What is a password for?
terminale@[EMAIL PROTECTE  2008-03-17 12:56:33 
Re: What is a password for?
andrej.groups@[EMAIL PROT  2008-03-16 18:49:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sun Jul 20 4:22:34 CDT 2008.