LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-27-2014, 01:15 PM   #1
cicciopaccio
LQ Newbie
 
Registered: Dec 2014
Posts: 6

Rep: Reputation: Disabled
Smile Private Owncloud experience into a shared VPS with Ubuntu


Hello to everyone!
I'm here to ask you an insight to achieve my goal.

I've got a VPS with Ubuntu 14.04 minimal and i share it with 3 other friends (we all have root credentials) because we have common stuff on it.

Two of us are interested in storing our personal data into the VPS (like photos and documents) but in a private space, lets say 500Gb each, not accessible to others. It's important for us, the usage of Owncloud because it let us to connect to our content from both smartphones and pc in a nice way.

Do you have any practical suggestion for me?

To recap:
- shared VPS credentials;
- there should be 2 private spaces protected from other "eyes" and only the owner of this content should be able to see it;
- integration of privacy and Owncloud experience (the content should be reachable from smartphone apps and Owncloud clients in general).

If I don't pretend to much, any detailed help will be really appreciated! :-)
 
Old 12-27-2014, 01:21 PM   #2
Miati
Member
 
Registered: Dec 2014
Distribution: Linux Mint 17.*
Posts: 326

Rep: Reputation: 106Reputation: 106
Quote:
we all have root credentials
Quote:
but in a private space, not accessible to others.
This is a impossible situation. root can access anything anytime regardless of permissions.

Either root is limited to the most trustworthy (i.e. won't even though s/he can) or
you decide it's ok any of them can access your content at any time.
 
Old 12-27-2014, 01:24 PM   #3
cicciopaccio
LQ Newbie
 
Registered: Dec 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Miati View Post
This is a impossible situation.
Thank you for your super fast reply.
Is it true even with encryption ?
 
Old 12-27-2014, 01:28 PM   #4
Miati
Member
 
Registered: Dec 2014
Distribution: Linux Mint 17.*
Posts: 326

Rep: Reputation: 106Reputation: 106
Yes

Let's assume you each have partitions or images. They are all encrypted. At this point no one can access it.

Now you know the password (no one else does). You use the password to unlock it. At this point anyone can now mount the drive (with root permissions, mind you) or access the one you mounted and copy, delete, or modify the info.

If you want privacy, the people who are not permitted to access other's data must not be root.

Last edited by Miati; 12-27-2014 at 01:30 PM.
 
1 members found this post helpful.
Old 12-27-2014, 02:43 PM   #5
cicciopaccio
LQ Newbie
 
Registered: Dec 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Well... I would believe you're wrong but your post is 100% convincing...
Thank you for your clear explanation, i'm disappointed but grateful ;-)
Kind regards
 
Old 12-27-2014, 04:05 PM   #6
Miati
Member
 
Registered: Dec 2014
Distribution: Linux Mint 17.*
Posts: 326

Rep: Reputation: 106Reputation: 106
Why do the others need root? To install/remove programs? Modify system files?

If you are using sudo to gain root powers, sudo can be modified by using visudo.
It may be possible to modify sudo so that the other users can have as much power as they need without permitting them to access or modify files they do not have permission to.

However, bear in mind that that the owner of the machine (you) can always access everything (provided someone has decrypted it if encrypted) due to you likely knowing the password to the actual root account. This is true for all computers, regardless of operating system. You must trust the owner of the computer pretty much exclusively.
On another note - it makes uploading files to the "cloud" a little less appealing, doesn't it?

There are however, complicated alternatives. For example, if you store encrypted files and they access it remotely using local keys that are never sent to your server (eg. Mega & SpiderOak), then you can never actually see the decrypted data. I'm not aware of any software you can use that does this.

On the other hand, violating trust by accessing files you're allowed to see is a big no-no. If you trust them to have root access to where you store the files, then you should also trust them to not blatently invade your privacy, regardless of whether they can or not.
 
Old 12-27-2014, 05:08 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
root can access anything anytime regardless of permissions.
I agree these users privileges interfere with what they want to achieve and while one should not rely on this feature alone, unless one sets FUSE mount options "allow_other" or "allow_root", EncFS mount points can not be accessed by root. (I am pretty certain EncFS is not accessible from phones but that's besides the point.)
 
Old 12-27-2014, 05:11 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by cicciopaccio View Post
Well... I would believe you're wrong but your post is 100% convincing...
Thank you for your clear explanation, i'm disappointed but grateful ;-)
Kind regards
Don't give up too easily. Ubuntu has offerred ecryptfs for quite a while - you could have private directories for anyone that want them, protected by a passphrase only the owner knows. Once a file is copied to the mount point it is encrypted automatically.

Edit: too slow typing again I see ...

Last edited by syg00; 12-27-2014 at 05:13 PM.
 
Old 12-27-2014, 05:30 PM   #9
cicciopaccio
LQ Newbie
 
Registered: Dec 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Miati View Post

Why do the others need root?



There are however, complicated alternatives.

On the other hand, violating trust by accessing files you're allowed to see is a big no-no. If you trust them to have root access to where you store the files, then you should also trust them to not blatently invade your privacy, regardless of whether they can or not.
It's a real pleasure reading your replies, you're very clear (despite a foreign language)

Root access is for a simple reason: we rented all together the VPS so privileges are equally divided.
Your argumentation about sudo is really efficient but in this case, considering that we are in two who want private storage, there will be always someone with "to much power"... I'm not neither interested or able to control what others are storing in their space, but won't put my files there knowing what you told me!
 
Old 12-27-2014, 05:33 PM   #10
cicciopaccio
LQ Newbie
 
Registered: Dec 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
I agree these users privileges interfere with what they want to achieve and while one should not rely on this feature alone, unless one sets FUSE mount options "allow_other" or "allow_root", EncFS mount points can not be accessed by root. (I am pretty certain EncFS is not accessible from phones but that's besides the point.)
Sorry but you're writing of things i read for the first time, my fault.
But I hope to be justified considering we are in the "Newbie" section ;-)
 
Old 12-27-2014, 05:36 PM   #11
cicciopaccio
LQ Newbie
 
Registered: Dec 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Don't give up too easily. Ubuntu has offerred ecryptfs for quite a while - you could have private directories for anyone that want them, protected by a passphrase only the owner knows. Once a file is copied to the mount point it is encrypted automatically.

Edit: too slow typing again I see ...

Thank you for your contribution too.
But as I said, i was looking for a shield against root privileges. I could be the only admin but it wouldn't be fair for the other friend that should simply trust on me...
 
Old 12-27-2014, 05:53 PM   #12
Miati
Member
 
Registered: Dec 2014
Distribution: Linux Mint 17.*
Posts: 326

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by unSpawn View Post
I agree these users privileges interfere with what they want to achieve and while one should not rely on this feature alone, unless one sets FUSE mount options "allow_other" or "allow_root", EncFS mount points can not be accessed by root. (I am pretty certain EncFS is not accessible from phones but that's besides the point.)
I didn't know this. Although looking around to see how reliable it is, it seems that it might be trivial to get around.

However, violating privacy like this is a good reason to kick them from the VPS
 
Old 12-27-2014, 06:04 PM   #13
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Miati View Post
it seems that it might be trivial to get around.
That's why I said "one should not rely on this feature alone".
 
  


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
LXer: Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS LXer Syndicated Linux News 0 12-15-2014 08:30 AM
LXer: ownCloud 7 Release Enhances Open Source Private Clouds LXer Syndicated Linux News 0 07-25-2014 04:30 PM
LXer: ownCloud Private Cloud Platform Wins in Education Market LXer Syndicated Linux News 0 06-13-2014 02:11 PM
LXer: A new look for private cloud ownCloud 5.0 LXer Syndicated Linux News 0 03-15-2013 05:12 AM
Where can I download UML VPS or Xen VPS to make a virtual private server? abefroman Linux - Software 3 12-09-2005 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:59 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