hi everybody,
i am new to linux. iam using centos 6.2, and trying to configure ftp server in my local network, i have seen one fpt server how to videos tutriol but iam unable to follow i have some confussion in /etc/vsftpd/vsftpd.conf about userlist_enable and userlist_deny, /etc/vsftpd/userlist and user_list and ftpusers.
i haven't change vsftpd.conf, user_list and ftpusers, when iam trying to ftp with users 'khem' or 'guest' the following error occurs:
trying to ftp with user khem it prompt for password after inserting password the error
500 OOPS: cannot change directory:/home/khem, login failed
# ftp 10.10.10.161
Connected to 10.10.10.161 (10.10.10.161).
220 (vsFTPd 2.2.2)
Name (10.10.10.161:khem): khem
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/khem
Login failed.
and again trying to ftp with user guest
# ftp 10.10.10.161
Connected to 10.10.10.161 (10.10.10.161).
220 (vsFTPd 2.2.2)
Name (10.10.10.161:khem): guest
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/guest
Login failed.
the same errors occours as user khem.
ABOUT CONSOLE OR VIA SSH, my local ip is 10.10.10.161
now iam login with user guest and trying to login with via ssh with my local machine
[guest@workstation ~]$
[guest@workstation ~]$ ssh khem@10.10.10.161
khem@10.10.10.161's password:
Last login: Fri Apr 20 18:41:04 2012 from workstation
[khem@workstation ~]$
hope user khem can login colsole or via ssh, if iam not wrong i just try it by googeling.
iam using default centos 6.2 shell may be it is bash.
both user khem and guest have password ,this account is created by root.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
i hav insert user khem and guest in /etc/vsftpd/user_list and i save it and exit
# vsftpd userlist
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and
# do not even prompt for a password.
# Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers
# for users that are denied.
khem
guest
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody
after save and exit i have restart vsftpd
# service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]
and trying to ftp using both user 'khem' and 'guest' respectively
ftp using khem
# ftp 10.10.10.161
Connected to 10.10.10.161 (10.10.10.161).
220 (vsFTPd 2.2.2)
Name (10.10.10.161:khem): khem
530 Permission denied.
Login failed.
ftp using guest
# ftp 10.10.10.161
Connected to 10.10.10.161 (10.10.10.161).
220 (vsFTPd 2.2.2)
Name (10.10.10.161:khem): guest
530 Permission denied.
Login failed.
i have created user khem and guest by root user and i gave password to them
can anybody guide me to configure ftp by analysing this post. any kinds of ideas and suggestions are welcome and i'll be greatful.
THANK YOU IN ADVANCE