Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
google site



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Search this Thread
  #1  
Old 12-24-2009
Registered User
 

Join Date: Dec 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Protecting a folder/directory against root access.

A friend and I run a vbulletin forum which recently got hacked. We believe what wound up happening was the attacker gained access to the VPS box and from there elevated their user accounts to admin status on our forums.

Obviously if someone gets into our box in the future it'll be a disaster so outside of sending backups to outside email/ftp servers are there any ways to secure a directory our backups reside in from a user who gains access to the system such that they're not recoverable or deletable?
Sponsored Links
  #2  
Old 12-24-2009
TonyFullerMalv's Avatar
Registered User
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 1,021
Thanks: 0
Thanked 1 Time in 1 Post
The obvious to me way to protect directories from root access is to put them on a separate NFS server and NFS mount them to the machine that needs to use them, on the NFS server you export them, with settings on /etc/exports(8) that denies root access to the NFS client, (see root squashing) which is the default behavior. I am not aware of any way of protecting a local filesystem from the root user. The backups stored in these NFS mounted directories would therefore need to be written to by a non-root user and of course could be unmounted when backs are not running to them.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Password protecting a directory akshay61286 UNIX for Dummies Questions & Answers 2 07-30-2009 05:23 AM
Protecting access to partition Legend986 UNIX for Advanced & Expert Users 4 07-28-2009 09:18 PM
running sshd server from home directory without root access sayeo Solaris 0 03-13-2008 03:53 PM
Protecting the directory tree rooneyl UNIX for Dummies Questions & Answers 2 02-17-2008 04:59 PM
password protecting a directory iriemember UNIX for Dummies Questions & Answers 2 08-06-2002 03:57 PM



All times are GMT -4. The time now is 11:11 PM.