Ftp issues

Discussion in 'Installation/Configuration' started by kristaps, Jul 30, 2006.

  1. kristaps

    kristaps New Member

    Hello!

    I have a silly question regarding FTP server!

    I mast have 4 ftp users with different ftp access types.

    User1
    User2
    User3
    User4

    Srv/www/ --------------------------------- user1 – read write access to all sub directories
    +++++++/www.example1.com--------------- user2 (it’s working)
    +++++++/www.example2.com--------------- user2 (it’s working)
    +++++++/pub------------------------------ user3 – read write access to directory
    +++++++/limited---------------------------- user4 – read write access to directory

    It’s possible to make 3 mores ftp users and make such permission schema?

    I’m am beginner in Linux bat this is a thin holds my from getting to Linux box

    Can’t some one point my to writhe direction or the most appreciated by a sample to make this.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer


    Yes, that possible.

    Set the home directory of user1 to /srv/www and the home directory of user3 and for to the directories /srv/www/pub and /srv/www/limited.
     
  3. kristaps

    kristaps New Member

    Then you for your quick answer!

    Couple more questions.

    They mas by a system users?

    Where I can change a home directory for users if I using SuSE 10.1 version?

    There will by no security hole if I will do that in this way?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    If the user already exists, you can change the homedir in /etc/passwd.
    If it doesn't exist, you can specify the correct homedir when you create the user with the useradd command. Have a look at
    Code:
    man useradd
     

Share This Page