[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ftp question



Yes, you can do that
Of course you can, this is Linux, not windoze..........  ;-)

you need to put an .htaccess file in your ftp /pub directory
it will look something like this when you vi it:

[root blah blah] vi .htaccess

AuthUserFile /etc/httpd/conf/.htpasswd
AuthGroupFile /dev/null
AuthName Big_Brother
AuthType Basic
require user don

you have to replace the AuthUserFile with the correct path to the
.htpasswd file

replace the "require user" with the name of the user you want to allow to
log in

Hint: find the .htpasswd file that allows you to log into your machine
add 1 or all the users from that file to the .htaccess file

require user don
require user jack
require user dick

there is a good how-to located in the httpd (apache web server) section at
http://www.linuxhomenetworking.com


On Tue, 4 May 2004, Jeff Vian wrote:

>
>
> Bilal Dar wrote:
>
> >Dear all,
> >
> >I am using vsftpd, its working fine. I want to know one thing, currently if i use ftp://x.x.x.x  i get the pub folder and to make user connect to his home dir i have to use ftp://user x x x x
> >
> >I was wondering can i do just that i put ftp://x.x.x.x in my browser and it asks for the username and password, after authentication user gets his home directory.
> >
> >Help will be really appreciated.
> >
> >
> turn off anonymous ftp to stop  getting the /pub folder.
> In order to get a users home dir the system has to know who is
> connectiing, thus a username is in some form necessary.
>
> >Thanks
> >
> >
>
>
> --
> fedora-list mailing list
> fedora-list redhat com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]