Koozali.org: home of the SME Server

SME temp file

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
SME temp file
« 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?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Brim
« Reply #1 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).
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Brim Continued
« Reply #2 on: August 23, 2006, 12:41:41 PM »
Deleted

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Brim
« Reply #3 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.

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Deleted
« Reply #4 on: August 24, 2006, 04:25:14 AM »
Deleted

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Wrong, try again
« Reply #5 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 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!
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Thanks for ruining the thread
« Reply #6 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.