Author Topic: Creating FTP Users  (Read 4666 times)

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Creating FTP Users
« on: February 14, 2012, 01:20:06 pm »
Hi,

I want to create FTP Users on my server and their home directory will be the Apache Default directory. In my case it is /home/serveradmin/LAMP/. For e.g. I have created one directory demo - /home/serveradmin/LAMP/demo. Now, I want to create one ftp user which is in Apache group and when he connects to server using FTP clients software will be able to see this directory - /home/serveradmin/LAMP/demo, instead of his home directory.
Can anyone help me with this, please? I am trying to find this solution since long. Previously, before using Zentyal, I was able to do this with webmin, but I don't know how can I achieve this with Zentyal.

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Creating FTP Users
« Reply #1 on: February 15, 2012, 06:18:35 am »
Can someone help me? Please

locoabreu

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: Creating FTP Users
« Reply #2 on: February 15, 2012, 01:32:28 pm »
You need put your user in group  who have  read write permissions for /home/serveradmin/LAMP/.

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Creating FTP Users
« Reply #3 on: February 15, 2012, 03:07:37 pm »
You need put your user in group  who have  read write permissions for /home/serveradmin/LAMP/.

Thanks for replying.

Now, there are two problems now -

1) http://forum.zentyal.org/index.php/topic,9616.0.html

2)Even If I add it to that group, how can I limit ftp access to that folder. FTP access gives the home directory of users.


locoabreu

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: Creating FTP Users
« Reply #4 on: February 16, 2012, 12:41:22 pm »
Quote
2)Even If I add it to that group, how can I limit ftp access to that folder. FTP access gives the home directory of users.

look here is Tutorial and example http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch15_:_Linux_FTP_Server_Setup

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Creating FTP Users
« Reply #5 on: February 16, 2012, 12:56:52 pm »
Quote
look here is Tutorial and example http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch15_:_Linux_FTP_Server_Setup

Thanks for the link. I have already read tutorial similar to that, however when I try to assign a password to the user created using  useradd command, I get this " http://forum.zentyal.org/index.php/topic,9616.0.html ". Moreover, if I pass the password parameter while creating the user and try to login with that password, it shows the invalid password error.
What should I do now, I am standing in middle of nowhere, don't know where to go!

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Creating FTP Users
« Reply #6 on: February 17, 2012, 05:48:33 am »
I think I will not be able to solve this problem. Should I install Webmin for creating ftp users only?

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Creating FTP Users
« Reply #7 on: February 21, 2012, 06:25:28 am »
I think that I need to install Webmin for FTP user, should I install the webmin for creating ftp users only. Will this affect the current zentyal installation. I just want to use webmin for FTP users, as zentyal does not have such kind of features.

Please help me.