Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Agent86 on August 23, 2006, 04:51:17 AM

Title: SME temp file
Post by: Agent86 on August 23, 2006, 04:51:17 AM
Why does SME not allow writing to the server tmp file? Mainly for the ibays which may contain webfiles or scripts, or databases that direct things to be written to the temp file.

And what to do about it?
Title: Re: Brim
Post by: cactus on August 23, 2006, 11:25:20 AM
Quote from: "Agent86"
The config file below:

// mysql, postgres or any db supported by adodb
//
$engine = 'mysql';
//
// the database user
//
$user = 'root';
//
// the password for the database user
//
$password = '?';
//
// the host (machine) for the database. this is 'localhost' in most of the cases
//
$host = 'localhost';
//
// The name of the database.
//
$database = 'brim';
?>
NEVER USE THE ROOT ACCOUNT FOR APPLICATIONS

(Sorry for yelling, but it seems hard to get that this is a big security issue, and not done also because of the special features the root account has on a SME Server).

Instead create a seperate user which has the neccessarry priviliges to access the database:

Login by terminal access as root without a password:
Code: [Select]
mysql -u root
Get hold of the database name,, think of a username and a password so we can create it using the following statements:
Code: [Select]
grant all privileges on database.* to 'username'@'localhost' identified by 'password';
flush privileges;
quit
(Mind the ticks around the username and the password).
Title: Brim Continued
Post by: Agent86 on August 23, 2006, 12:41:41 PM
Deleted
Title: Re: Brim
Post by: CharlieBrady on August 24, 2006, 02:46:42 AM
Quote from: "Agent86"
Hi all, I installed Brim which is pretty cool, I think


Your post is in the wrong forum. This forum is for discussion of standard built-in features only. Thanks.
Title: Deleted
Post by: Agent86 on August 24, 2006, 04:25:14 AM
Deleted
Title: Re: Wrong, try again
Post by: cactus on August 24, 2006, 11:59:37 AM
Quote from: "Agent86"
Wrong try again.

As I've mentioned before if you cannot help then please do not answer the posts nor make corrections about proper forum ethics.


Quote from: "[url=http://wiki.contribs.org/
Forum index[/url]"]SME Server 7.x
Discussion of the use of *ONLY* the components and features included on the SME Server 7.x CD. Please help the developers by reporting any problems to the Bug Tracker first, not here.


Quote from: "[url=http://wiki.contribs.org/
Forum index[/url]"]SME 7.x Contribs
Discussions related to development and use of addons for SME Server. Discuss user-contributed rpms, howto's and scripts here.

Charly is absolutely right with his comment on where to post. You should stick to the rules as stated in the index of the forums (http://wiki.contribs.org/) to keep everything clear and well organized.

Quote
And thanks cactus this worked great and this subject is now closed as solved.Thanks again
You're welcome!
Title: Thanks for ruining the thread
Post by: Agent86 on August 26, 2006, 01:40:34 AM
Thanks you all for ruining this thread
It should be completely deleted now that it has nothing to do with computers at all.