You are not logged in.

#1 2008-10-25 16:56:31

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

[SOLVED]Login as local user with vsftpd

hi all:

i set up vsftpd as per the wiki.  i liked the idea of a virtual user login that i could give to some friends for limited access to a folder on my system, but still wanted to be able to login as myself to see my home directory from work.

here is my vsftpd.conf:

#
# simple ftp config /etc/vsftpd.conf
#

background=YES

listen=YES
listen_port=21

anonymous_enable=NO
local_enable=YES
chroot_local_user=YES
write_enable=NO
guest_enable=YES
guest_username=virtual

pasv_min_port=50000
pasv_max_port=50100

xferlog_enable=YES

after following the wiki, the virtual user logs in great, i can get in and see files etc from inside and outside my local network with the virtual user/pass i created with PAM.

i can't login as myself though; it returns error 530 from a browser, the terminal, ftp trans program, inside and outside my LAN.  do i have a typo in my config? i have to assume there is no firewall / hosts.allow [vsftpd:ALL is there] issues here b/c the virtual user login works great; why can't i log in as myself? i'm sure it's something dumb, but i can't seem to figure it out.

thanks in advance.

[edited to solved, i'm dumb, man pages 101]

Last edited by brisbin33 (2008-10-25 22:44:39)

Offline

#2 2008-10-25 18:34:20

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: [SOLVED]Login as local user with vsftpd

I guess this has to do with the guest_enable option:

guest_enable
              If enabled, all non-anonymous  logins  are  classed  as  "guest"
              logins.  A  guest login is remapped to the user specified in the
              guest_username setting.

From the vsftpd.conf man page.


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#3 2008-10-25 22:43:28

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [SOLVED]Login as local user with vsftpd

damn; that makes sense.  i guess it's one or the other then.

thanks.

Offline

Board footer

Powered by FluxBB