Search:

Type: Posts; User: Di0g0; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.07 seconds.

  1. Replies
    9
    Views
    4,107

    Re: Cron Job home backup

    I changed the things a bit.

    I created the script on my root folder:


    #!/bin/bash# backup script
    echo "Starting"
    rsync -avvP /home/servers /root
    echo "Done"
    exit 0
  2. Replies
    9
    Views
    4,107

    Re: Cron Job home backup

    Ok, I have the script created to backup de home/Servers folder to the root folder on the cron.hourly.

    Now I have 2 questions:

    1º This will backup automatically without any user intervention...
  3. Replies
    9
    Views
    4,107

    Re: Cron Job home backup

    Right now I use a simple way to backup (since I have little files on this machine)

    tar czvf mybackup.tar.gz /home/servers

    It is possible to create a simple cron job to execute this command...
  4. Replies
    9
    Views
    4,107

    Cron Job home backup

    Hi

    Can someone explain me how to setup a cron job to make a full backup of my home directory every 1 hour?

    Thanks.
  5. Replies
    19
    Views
    3,394

    Re: ProFTP vs Iptables

    Worked!!!! Thank you VERY VERY VERY MUCH!

    I searched on the web for days and in 5 minutes you solved my problem :D, thank you one more time!
  6. Replies
    19
    Views
    3,394

    Re: ProFTP vs Iptables

    Ahh, but as I said when I try to load it gives an error:



    FATAL: Module nf_conntrack not found ubuntu
  7. Replies
    19
    Views
    3,394

    Re: ProFTP vs Iptables

    " If you have nf_conntrack_ftp loaded"

    How can I see that?
  8. Replies
    19
    Views
    3,394

    Re: ProFTP vs Iptables

    It's on passive mode on the VM.

    Off topic:

    If I SSH chroot users, they can execute game servers? Or they can't?
  9. Replies
    19
    Views
    3,394

    Re: ProFTP vs Iptables

    I'm confused, very confused.

    I installed VSFTPD on a Virtual Machine for test purposes, and created this rules:


    *filter

    # General
    -A INPUT -i lo -j ACCEPT
    -A INPUT -d 127.0.0.0/8 -j...
  10. Replies
    19
    Views
    3,394

    Re: ProFTP vs Iptables

    Linux 2.6.18-308.el5.028stab099.3 #1 SMP Wed Mar 7 15:56:00 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux



    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 11.10...
  11. Replies
    19
    Views
    3,394

    Re: ProFTP vs Iptables

    Yap, but when I try to load it gives the error:

    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    FATAL: Module ip_conntrack not found ubuntu
  12. Replies
    19
    Views
    3,394

    Re: ProFTP vs Iptables

    modprobe ip_conntrack gives error:

    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    FATAL: Module ip_conntrack not found ubuntu
  13. Replies
    19
    Views
    3,394

    Re: ProFTP vs Iptables

    How can I test that? Now I have passive ports opened, but doesn't work :S
  14. Replies
    19
    Views
    3,394

    ProFTP vs Iptables

    Hi

    For some reason I can't understand I'm having problems connection to FTP server!

    My filezilla client can connect to the server but then it gives an error:


    Response: 227 Entering...
  15. Replies
    23
    Views
    885

    [ubuntu] Re: FTP Users problem

    But in the SAMP case, the only way to stop that kind of servers is killing their PID. Is there anyway to create a key to stop samp servers killing a random PID? :(

    Also

    About my new ideia, I...
  16. Replies
    23
    Views
    885

    [ubuntu] Re: FTP Users problem

    My new idea was installing a control panel on a web host to start & stop the servers. The panel will use a ubuntu account to SSH to the VPS.

    After that I will create 2 folders inside that account...
  17. Replies
    23
    Views
    885

    [ubuntu] Re: FTP Users problem

    Here the client put this? Putty? ssh -i ~/.ssh/script_rsa_key user@server.example.org

    Ya they only need to run a file to start the server ahhh an another to stop the serve, in the SAMP case the...
  18. Replies
    23
    Views
    885

    [ubuntu] Re: FTP Users problem

    If i block SSH to an ip SFTP will be blocked to that ip too?
  19. Replies
    23
    Views
    885

    [ubuntu] Re: FTP Users problem

    I have a VPS when I need to create 2 users, one for minecraft other for SAMP. (2 different games)

    Each account will have a folder with the game files inside.

    Now the Minecraft guy needs to...
  20. Replies
    23
    Views
    885

    [ubuntu] Re: FTP Users problem

    Ok, but how i can allow ssh connection?

    And if they are chroot they can acess the linux system folders and things like that to execute the game server on that account?
  21. Replies
    23
    Views
    885

    [ubuntu] Re: FTP Users problem

    I can't make this this way...

    Can you explain me how I can chroot ssh users to his home directory? And allow sftp chrooted to their home folder.

    And if I make this, they can execute scripts and...
  22. Replies
    23
    Views
    885

    [ubuntu] Re: FTP Users problem

    Thanks

    How can I limit a specific user to can only acess via SSH/SFTP from only 1 IP defined by me?

    Nvm, i solved that alone. Thanks anyway!!
  23. Replies
    23
    Views
    885

    [ubuntu] Re: FTP Users problem

    Thanks!

    Then it is possible to give account servers permissions to all the folders inside his home directory /home/servers/, and give permissions to the user paneluser only on his folder...
  24. Replies
    23
    Views
    885

    [ubuntu] Re: FTP Users problem

    I'm a bit confused... Can you make an easy tutorial with the basic steps so I can try?

    I formatted my VPS because I messed up my ubuntu :(
  25. Replies
    23
    Views
    885

    [ubuntu] Re: FTP Users problem

    Ya, but that only prevents shell access.. or I'm wrong? I can lock a user to other user folder ? If the answers is yes, where I have to config the path for that user? Each user have a different path...
Results 1 to 25 of 38
Page 1 of 2 1 2