473,786 Members | 2,775 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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*******@postg resql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #1
1 6201
Neil Berkman <ne**********@g mail.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*******@postg resql.org

Nov 23 '05 #2

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

Similar topics

4
8992
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
1446
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 error occurs like this: http/1.1 500 server error I have tried all things that microsoft suggested!!! aspnet_regiis.exe -i Uninstall IIS and reinstall progress
4
2589
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 the complete connection string) in a seperate file so only a special user could read these informations. Is someone knows how to do this ?
4
768
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 in I specifically want them to go to the default.aspx page and not the "ReturnUrl=" page. currently my sight is set up to redirect to the log in but I am looking to remove the ?returnurl so that it goes to the normal defualt.aspx Currently I am...
2
2943
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 it ? Or could i create a button that save another text (replace) the cached password ? the user will be prompted to click the button to remove its cached password .... how to do it ?
8
35163
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 knowing it's current password? please guide me. thank you
1
1644
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 password than the production database has. Is this possible? If so, how? I am using an Access 2000 database with Jet Engine 4.0 and Visual Studio 2005.
1
2363
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 the same user then delete this user from XML file and save the changes in XML file. here is my XML file: <?xml version="1.0" encoding="UTF-8"?> <users> <user id="zahid" password="X8UrUN79avT27LYwUESiliAV328=" name="Zahid Nawaz" phone="9599808"...
2
2188
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
9650
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10164
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9962
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8992
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6748
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.