|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 !! |
![]() |
|
|
Search this Thread |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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 | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |