Current time: 04-26-2024, 07:27 AM Hello There, Guest! (LoginRegister)


Post Reply 
SSH Support
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: SSH Support
Really interesting idea. The problems you raise may be solved by using the "admins" (panel users) table instead of "ftp_users" Wink

Despite that, patching SSH is (IMHO) a no-go for our project. We don't have the manpower to support such a strong commitment. Anyways:
Quote:It's not possible to change the ownership and umask because we do need access for www-data.
From what I understand in the code, the required things are:
1. The homedir and all its parent directories must be owned by root.
2. The homedir and all its parent directories must not be writable by group nor everyone.

So I would try assigning the following permissions:
Code:
/var/www/virtual   root:root   rwx rx rx
/var/www/virtual/domain.tld    vuXXXX:root rwx rx rx

Obviously, individual files inside "domain.tld" should then be protected carefully. This is, never allow reading to anyone, so choose:
Code:
vuXXXX:vuXXXX for user and/or php only files.
vuXXXX:www-data for the "htdocs" folder.
root:vuXXXX for user-readable but non-writable files (like the "backups" folder)

Tell us how it goes if you try it please! Thx!
(This post was last modified: 09-24-2009 01:05 AM by kilburn.)
09-24-2009 01:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
SSH Support - sseitz - 09-23-2009, 11:44 PM
RE: SSH Support - kilburn - 09-24-2009 01:05 AM
RE: SSH Support - sseitz - 09-24-2009, 08:16 AM
RE: SSH Support - sseitz - 09-24-2009, 09:43 PM
RE: SSH Support - a.dangel - 01-28-2011, 02:24 AM
RE: SSH Support - anarking - 07-13-2011, 02:00 AM
RE: SSH Support - RatS - 07-14-2011, 06:20 AM
RE: SSH Support - mike548141 - 03-09-2012, 09:57 PM
RE: SSH Support - seo_urani - 06-16-2012, 01:22 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)