openSUSE Forums > Network/Internet » VSFTPD and virtual users

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-Nov-2008, 13:42
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 11
Johnska7 hasn't been rated much yet
Default VSFTPD and virtual users

Hi all,

I'm trying to set up FTP users for my website, but I'd like to have it so that all of the files on my site are still owned by wwwrun:www.

I've looked at a few guides on setting up virtual users, but I'm running into a problem with actually logging in. If I user a local user, I can get on (but it changes the permissions of each file), but if I change my pam.d to use /etc/apach2/dav_users.db, which I created with the htpasswd2 command, I can't log in at all.

Is there any way to make the above happen?
Reply With Quote
  #2 (permalink)  
Old 04-Nov-2008, 14:46
Flux Capacitor Penguin
 
Join Date: Jun 2008
Location: GMT+10
Posts: 5,230
ken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud of
Default Re: VSFTPD and virtual users

Normally the instructions for setting up pam for vsftpd tell you to use the Berkeley DB utils, in particular db_load to create the DB. Where did you get the idea that htpasswd2 is used?
Reply With Quote
  #3 (permalink)  
Old 04-Nov-2008, 15:26
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 11
Johnska7 hasn't been rated much yet
Default Re: VSFTPD and virtual users

Couple of places on the web.

The bottom line for all of this is that I'm trying to work out a bug with some software (Adobe Contribute) using the Webdav protocol and the support people want me to set up FTP to see if the program, using that protocol, can do the functions that WebDav is not allowing. In trying to set it up, I don't want to have to assign all of my pages to myself and the users group, I want it to stay wwwrun:www (since I'll hopefully be switching right back to WebDav when they figure this out).

I'm going to search for some information on the db_load stuff, but if you have any easy-to-follow tutorials, please let me know.

Thanks!
Reply With Quote
  #4 (permalink)  
Old 04-Nov-2008, 15:32
Flux Capacitor Penguin
 
Join Date: Jun 2008
Location: GMT+10
Posts: 5,230
ken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud of
Default Re: VSFTPD and virtual users

a vsftpd guide - vsftpdrocks.org

is one of the hits for "vsftpd virtual users". It points out that there are worked examples with the vsftpd package. You can see where the documentation was installed with:

Code:
rpm -ql vsftpd
Usually /usr/share/doc.

Lots of other links result from the same search.
Reply With Quote
Reply

Bookmarks

Tags
ftp, htpasswd2, vsftpd


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2