Ubuntus annoying security...

Discussion in 'Computer Gaming Forum' started by DeMoN X, Mar 25, 2009.

  1. DeMoN X

    DeMoN X Rapidly Rising Member

    Joined:
    Feb 26, 2007
    Messages:
    93
    Likes Received:
    0
    ...

    [​IMG]

    And you thought VAC was bad :p

    So how to I go about giving myself proper access to allow me to do stuff remotely?

    I'm basically wanting near root access to my "debox" account but going to the users and accounts settings has no options for this.

    Halp :(
     
  2. DeMoN X

    DeMoN X Rapidly Rising Member

    Joined:
    Feb 26, 2007
    Messages:
    93
    Likes Received:
    0
    Hmm... Chmod 777 seemed to have fixed it, but I don't want to chmod everything I need to access.. there must be a better way?
     
  3. Barret7sc

    Barret7sc Active Member

    Joined:
    Jun 8, 2007
    Messages:
    29
    Likes Received:
    0
    You should give the account your FTP server is running under ownership of the htdocs folder and everything underneath it. That should prevent you from having to chmod 777 all that stuff.
     
  4. DeMoN X

    DeMoN X Rapidly Rising Member

    Joined:
    Feb 26, 2007
    Messages:
    93
    Likes Received:
    0
    Erm, how do I check who owns the XAMPP FTP process? :crying:
     
  5. Aypok

    Aypok Spirited Member

    Joined:
    Jan 8, 2008
    Messages:
    189
    Likes Received:
    1
    I just look at the process list... You could check /etc/passwd for an "ftp" user (or something similar). I'm sure there are other ways, but these two have always solved my problems.

    Another solution, similar to what Barret7sc suggested, is to create a group for all XAMPP users (FTP and Apache, plus any others that will require write-access in the directories you're to be editing), then make the FTP and Apache users part of that group. Finally, "chgrp -R 775" the directory which you want fixed. You might need to set up the FTP server's default file writing permissions to 775, instead of 755 - although it has been many, many years since I last set up an FTP server...

    The benefit of doing it this way instead of simply chowning the directories is that chowning can lead to different permission errors: if you upload a file via FTP which is owned by the FTP user, Apache will complain if it tries to write to that file (since it'll be owned by a different user).

    I hope that helps.
     
  6. DeMoN X

    DeMoN X Rapidly Rising Member

    Joined:
    Feb 26, 2007
    Messages:
    93
    Likes Received:
    0
    Very helpful :D thanks!

    Next up.. PPTP.. *shudders*
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page