[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [623] trunk/sql/Pg-central.sql
- Subject: SF.net SVN: ledger-smb: [623] trunk/sql/Pg-central.sql
- From: ..hidden..
- Date: Wed, 15 Nov 2006 15:23:26 -0800
Revision: 623
http://svn.sourceforge.net/ledger-smb/?rev=623&view=rev
Author: christopherm
Date: 2006-11-15 15:23:24 -0800 (Wed, 15 Nov 2006)
Log Message:
-----------
The admin password will now only be md5() in the database
Modified Paths:
--------------
trunk/sql/Pg-central.sql
Modified: trunk/sql/Pg-central.sql
===================================================================
--- trunk/sql/Pg-central.sql 2006-11-15 07:01:12 UTC (rev 622)
+++ trunk/sql/Pg-central.sql 2006-11-15 23:23:24 UTC (rev 623)
@@ -44,9 +44,6 @@
COMMENT ON COLUMN users_conf.id IS 'Yes primary key with a FOREIGN KEY to users(id) is correct';
COMMENT ON COLUMN users_conf.password IS 'This means we have to get rid of the current password stuff and move to presumably md5()';
--- Per conversation with ChrisM, if the admin user has a null password a couple of things happen.
--- 1. It is implicit that this is an initial install
--- 2. If the admin password does not match the ledger-smb.conf admin password, we throw a hijack alert
-- The two below statements must be run from a single session
INSERT INTO users(username) VALUES ('admin');
INSERT INTO users_conf(id,password) VALUES (currval('users_id_seq'),NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.