473,395 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

any way to remove a password?

Is there any way to remove a password, specifically from the postgres
user? I installed the 8.0 Windows version via the installer, and it
forces you to set a password. I'd like to reset this so that there is
no password (basically, to match the setup on several other machines -
and no, for a number of reasons it's not feasible to just set
passwords on those other machines).

I know about the alter user command, but I haven't seen a way to use
it to remove a password. I've tried:

alter user postgres with password '';
alter user postgres with password null;

The first one doesn't work and the second returns an error.

Does anyone know whether this is possible? Thanks.

Neil

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #1
1 6179
Neil Berkman <ne**********@gmail.com> writes:
Is there any way to remove a password, specifically from the postgres
user?


You can set the field to NULL in pg_shadow, though I really wonder why
you'd bother, if you're not using password authentication.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bob Sanderson | last post by:
I set up a password protected Access Database and would like to now completely remove the password and any security functions. How do I do this? Any help will be greatly appreciated.
5
by: URGENT..Please | last post by:
Hi folks, I really wonder who will solve this proble.Because I have searched many web sites (including MSDN.MICROSOFT.COM) and have found NO answer. When I try to open a new ASP.NET project an...
4
by: Sylvain | last post by:
Hi ! Here's my problem: I have actually an asp web site which use the global.asa file to connect to the database but for security reason, I want to put username and password information (or...
4
by: Chicagoboy27 | last post by:
All I am trying to find a solution for removing the ?returnUrl if a user is not authenticated. I want to be redirect an unauthenticated user to the login.aspx less the returnUrl. Once they log...
2
by: moi | last post by:
Hello, i have a Asp.net V2 login page with a password to enter. In some case, a user could forget and tell IE to save its password : How to prevent it ? Is there a way to disable it ? to block...
8
by: sajjadnasiri | last post by:
hello, i want to know how can i remove administrator password in windows xp? i do not now what is it's password now. my seccond question is: is there any way to remove Bios pasword wothout...
1
by: M Harris | last post by:
I have a production database that is password protected. Through my application, I want to provide the users with a COPY of this database, including RI, without a password or at least a different...
1
by: sezanawa | last post by:
Hi guys I have an XML file where i have all users DB. Now i want to remove a user from that XML file. I want to check an user id attribute which is uniqe with existing users in XML file, if its...
2
by: mistykeeii | last post by:
i have forgotten my administrator password and i will like to know if there is anyway that i can remove this password? thank you
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.