LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-10-2004, 05:51 AM   #1
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
Log permissions


Hey all

I'm just wondering if there is any big security hole in changing the log files in /var to 604 - the reason I ask is because I'm writing a PHP site that I will be able to access and i'd like to be able to logon and view my logs.

Can someone please give me some advice on this one?

Ta
 
Old 08-10-2004, 08:53 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
It's not a big hole, but a security hole it is. It could give an intruder very much information about your system. I call it "Not a big hole" because of course your box is secure, right?
I'd say it's safer to logon via ssh and su to root. Not an expert in this subject, though, just my opinion.
 
Old 08-11-2004, 03:50 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
I'd agree with Pingu.
Never confuse sysadmin stuff with application programming. It's just asking for trouble.
 
Old 08-12-2004, 04:10 AM   #4
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Original Poster
Rep: Reputation: 30
Thanks for the comments - i'll find another way of doing it and keep permissions as they are :-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Log file permissions mikeyt_333 Linux - General 2 12-16-2004 11:15 AM
[SOLVED] Apache log directory permissions gypsy_rabbi Linux - Security 2 10-09-2004 06:31 PM
Strange results in /var/log/apache/access.log subt13 Linux - Security 2 08-03-2004 01:21 PM
we changed permissions on the etc directory and now we can not log in vinces39 Red Hat 1 06-18-2004 10:20 AM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration