LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-15-2008, 06:08 PM   #1
danhs
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
Best security: unprivileged user or root as owner of backup directory?


I want to create a unprivileged user to have backups (connect to remote machine, sign in as unprivileged user using ssh key and then dump backups) should I make the /backup folder owned by backup-user or by root?

Alternatively, /backup could have read-write access for the backup-user group....

I'm not sure if there are security implications either way, but I noticed how many daemon users there are to run other similar system processes.

Daniel
 
Old 08-15-2008, 06:39 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Any account performing backups needs full access to all of the files on the computer. Therefore it must either be a privileged account or you have to implement a questionable scheme using file group ownership or ACLs. Just use the root account.
 
Old 08-16-2008, 12:57 AM   #3
danhs
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Yes. I understand that you need a priviliged user to *make* the backups.

But, my question was about the user on the *remote* machine.

Daniel
 
Old 08-16-2008, 09:58 AM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Quote:
Originally Posted by danhs View Post
I want to create a unprivileged user to have backups (connect to remote machine, sign in as unprivileged user using ssh key and then dump backups) should I make the /backup folder owned by backup-user or by root?
Your original question talked about the privileges required for the user account on the machine where the backups are created. Don't be such a jerk with your *emphasis* on *points* that you *failed* to make in the *first* place.

Last edited by stress_junkie; 08-16-2008 at 10:00 AM.
 
Old 08-18-2008, 12:50 PM   #5
danhs
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by stress_junkie View Post
Your original question talked about the privileges required for the user account on the machine where the backups are created. Don't be such a jerk with your *emphasis* on *points* that you *failed* to make in the *first* place.
I'm sorry if you interpreted my *emphasis* as being rude in some way. My goal was not to be rude or to convey anything except appreciation for the help being offered here.

My intent was merely to speak with the clarity which was obviously missing from my original post.

Back to the technical problem at hand: I am not interested in the "client" backup side but instead the server backup side. I'm sorry if that wasn't clear originally.

If you could provide some much appreciated advice on this more clear purpose, I would greatly appreciate it.

Daniel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
User security for backup malbertsosa Linux - Security 1 02-20-2007 04:38 PM
CPAN root or unprivileged user rino.caldelli Linux - Software 1 01-11-2006 08:30 PM
VNC server as unprivileged user CartersAdvocate Slackware 1 12-18-2004 10:51 PM
backup directory with root only permissions? hobylinux Linux - Newbie 3 08-22-2003 12:25 AM


All times are GMT -5. The time now is 05:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration