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
and again trying to ftp with user guest
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
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
after save and exit i have restart vsftpd
and trying to ftp using both user 'khem' and 'guest' respectively
ftp using khem
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
So as I have understood, you want to login to the ftp server using khem id and want to get into the home directory of that user. Right?
1. Is SELinux set to enforcing mode? to check this try the below command:
If it's in enforcing mode, you need to check if ftp_home_dir boolean is set to on:
If that's off, turn it on to allow ftp user's to get into their home directory:
2. By default, whatever user names you put in /etc/vsftpd/user_list file, it gets denied from logging into the ftp server. So either you remove the user khem from that file or you add "userlist_deny=NO" line at the end of /etc/vsftpd/vsftpd.conf file. Then, restart the vsftpd server.
thank you,
admin_xor form my inner heart, your guidelines will help to improve my skills and clear my doubt about how to login in ftp and credit goes to you. i have some doubts hope you help me.
first i delete user khem from /etc/vsftpd/user_list and save. and change to premissive mode,
it works with all users and again i convert in enforcing mode by following comman,
it doesn't work in Enforcing mode and i follow your instruction given by you in your post.
and i tried it works successfully every user can ftp, to their respective home directory
what i want to do is, i want to create folder name 'files' inside /var/ftp/pub/
and anytime any users login with ftp server they should redirect to /var/ftp/pub/files not in their respective directory so everybody shares data from /var/ftp/pub/files.
can anybody give me any kinds of ideas, suggestions or guidelines i'll be greatful and any all ideas, suggestion and guidelines are welcome.
You can achieve this in several ways. I will provide you the convenient one here.
1. Make a group called "ftpusers" or something like that:
2. Change the home directory of the users who will login to the ftp to /var/ftp/pub/files and add them to the group ftpusers:
3. Change the group ownership of /var/ftp/pub/files
4. Make the directory writable by the ftpusers (if needed) group
5. And that's it!
could not update ICEauthority file /var/lib/gdm/.ICEauthority
hellow,
admin_xor
i have some problem the problems are as follows
1) after doing this i log in as 'ashim' i was able to access the files on ftp servers. but i was not able to create new folder and paste some files in that ftp servers.
2) when i reboot the system i got error message = could not update ICEauthority file /var/lib/gdm/.ICEauthority
i login as single user as root and check file are as follows:
and i have change it to
and it doesnt work
i havent change anything here
3) i cannot login using hostname of my machine. what i mean is when i do this ftp://10.10.10.161 i can access the file but when i use ftp://workstation but i can't access.
i was worried about my data on harddisk if my system doesn't boot i loose all my important data. iam new to linux any kinds of ideas and suggestions are welcome.
THANK YOU IN ADVANCE
Last edited by Scrutinizer; 05-11-2012 at 09:27 PM..
Reason: code tags
1) after doing this i log in as 'ashim' i was able to access the files on ftp servers. but i was not able to create new folder and paste some files in that ftp servers.
Did you give write permission to the group on the directory?
chmod g+w /var/ftp/pub/files
Quote:
2) when i reboot the system i got error message = could not update ICEauthority file /var/lib/gdm/.ICEauthority
This is entirely a different issue. With which ID did you login?
Quote:
3) i cannot login using hostname of my machine. what i mean is when i do this ftp://10.10.10.161 i can access the file but when i use ftp://workstation but i can't access.
Name to address resolution is done by either DNS or the /etc/hosts file. If you do not have a DNS server for your network, just make an entry as following in /etc/hosts file on the ftp client machine (from the machine you are accessing the server):
hi ,
i have done the following steps but i cannot create file inside /var/ftp/pub/files
i have checked after giving this command
i have install centos in my desktop and windows 7 on my laptop.
1) (from windows) when try to upload data in ftpserver=10.10.10.161 "/var/ftp/pub/files from my client laptop using windows 7 os the following error occurs
2) (in centos) when i try to make directory inside /var/ftp/pub/files/ the error occurs
Last edited by Scrutinizer; 05-11-2012 at 09:29 PM..
Reason: code tags
:rolleyes:I am trying to setup all certificate based client-server environment in Linux using vsftpd and curl with openssl.
I would like to make a user access with vsftpd certificate and user own client certificate (self-signed) with private/public key.
I don't see google posts about the my plan... (4 Replies)
Hello
I am new to linux.
I have recently installed vsftpd in my Centos server. I have set the local_umask=0037.
But now i can't understand how the window users added in a centos server can see each-other folder.
---------- Post updated at 05:59 AM ---------- Previous update was at 05:55 AM... (7 Replies)
Hi,
I installed debian jessie and friend asked me to install for him vsftpd, of course, first I try at my vps, but I don't get it to work.
there are many tutorials to install ftp server but as i said, it is not working and beside running ftp server, I need for him and some GUI to use it, he is... (2 Replies)
hello mighty all
there's a problem in vsftpd
it allows to delete files which have 000 mode and root:root owner
also 400
even with option deny_file={those_files} - still allowed
i'm doing it through mc
through ftp-shell it's not allowed
it's not working if mother-dir have -w
and not working... (3 Replies)
$ rpm -ivh vsftpd-2.2.2-6.el6.i686.rpm
warning: vsftpd-2.2.2-6.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
why is it actually happening am goin nuts plzz help me out :( (1 Reply)
Hi there.
Im studying and i've got an exercise that i cannot fully understand. Im trying and testing, but it didnt works
What i need to configure ftps ( vsftpd ) with openssl? (1 Reply)
Hi,
I am using VSFTPD.
I have instructed it to send all logging informartion to /var/log/messages.
I would like it to record the names of users who have failed loggin attempts. I have read up on it but have not found out how to do this. Any ideas? (1 Reply)
Hello,
When my fellow employees loggin to the FTP server they have no problems if they use FTP clients.
When they try and access the FTP site using their browsers using ftp://<domain> name all they get is a pub directory which is empty. They are not even prompted for loggin.
How to fix... (2 Replies)
I setup vsftpd.conf as follows and tried to login using root and normal user 'winston' but failed authentication. Any idea what's wrong?
========================
CONTENTS OF /etc/vsftpd/vsftpd.conf
anonymous_enable=NO
local_enable=YES
dirmessage_enable=YES
connect_from_port_20=YES... (3 Replies)
Hello,
I have two problems:
1. The service command does not work on my system! I mean when I enter:
service ... start
I get: bash: service: command not found
2. I want to launch my vsftpd server. I tried to launch it using service command and you see that it didn't work!
Please help... (1 Reply)