[NTLUG:Discuss] Re: Using virtual users for website maintenance
Jay Urish
j at unixwolf.net
Wed Dec 21 08:44:17 CST 2005
I solved this problem with Pure-FTPD. It really rocks. Used DO NOT need
a shell acct and the passwords are encrypted. You can specify the
group/owner of all uploaded files too.
It runs as nobody/nogroup or whatever you want if you specify it at
compile time.
Mark Matthews wrote:
> I wish I had seen this post earlier, I would have replied. I do this
> exact thing with proftpd and it works well. Every requirement is
> you ask for is met. I use a text file for virtual user auth that I
> keep in /etc but you can even use mysql or ldap for user data.
> Let me know if you are still interested, I'll send you my sample config.
>
> In the mean time, I might as well run a vsftp question by you since I
> am stuck with it for a project and there is a chance you might have
> run into the same issue. I set a real user up for ftp only and want
> to give him a shell of /bin/nologin (which is an allowed shell)
> For some reason the user can only auth if he has a real shell such as
> /bin/bash It's annoying and I would like to fix it. This user does
> not need ssh access but I don't think I should have to go through the
> trouble of creating virtual ftp users.
> -Mark
>
>
>
> ===============
> I have googled my brains out... Is there a howto floating around that
> can lead me to a good solution for setting up virtual user accounts to
> up/download web content?
>
> Here are the requirements.
>
> 1. Be a virtual user
> 2. All uploaded files belong to apache.apache (so the webserver has
> full access to them
> 3. All web content is under /home/html/something.com or
> /home/html/foo.net (you get the idea)
> 4. It would be cool if upon authenticating, the user could just be
> dropped into thier content directory.
> 5. Oh yea, each login should have its own directory.
>
> any pointers would be appreciated!
>
> -Jay
> W5GM
>
> --
> Jay Urish- W5GM Systems Engineer for Unixwolf Enterprises LLC.
--
Jay Urish Systems Engineer
Unixwolf Enterprises LLC.
http://www.unixwolf.net
972.691.0125 972.965.6229
More information about the Discuss
mailing list