Server Admin Account (not root) can't access parts of client site due to group restri

Discussion in 'General' started by Nap, Aug 1, 2012.

  1. Nap

    Nap Member

    I'm trying to access a client's site through my own userid (a key authenticated linux account that's been added to the groups used by ISPConfig), not the root account.

    However I can't access some parts of their site because the folders don't have group write (or execute) attribute set.

    Is it acceptable to chmod 770 /.../clients/client0/web0/web folder?

    Before attempting the above, I was trying to enable root FTP login using SSH. It's working for my other accounts, but not for root. I"ve created a folder in /root called .ssh, and applied chmod 700. Then I put authorized_keys in it and applied chmod 600. Rootlogin = without-password, and PasswordAuthentication is OFF.

    I'll get there, just wondering how others achieve this.

    Cheers,
    Nap
     
  2. till

    till Super Moderator

    You can do this if you dont care that all scripts running as apache user can alter content in all websites then.

    You can do this with sftp (ssh) but not ftp and then use a client like winscp to access the server.
     
  3. Nap

    Nap Member

     
  4. Nap

    Nap Member

    hmmm, turns out I didn't have the root private key loaded into Pageant. Arrrrrr.....
    It's working now. No need to change permissions.
     

Share This Page