LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /etc/shells Pure-ftpd what is the users? Unable to log on ftp.. (https://www.linuxquestions.org/questions/linux-newbie-8/etc-shells-pure-ftpd-what-is-the-users-unable-to-log-on-ftp-549590/)

almost000 04-27-2007 06:53 PM

What do I add the /etc/shells? Pure-ftpd Unable to log on ftp..
 
I have added users and they show on the list
I am unsure what to do with the /etc/shell fie for Pure-ftpd
I am using Fedora core 2.6.20-1.2307.fc5
I just when do kyum to install pure-ftpd
I also try pro-ftpd and ran away cause of this
I am not running any SQL or any database

I am told to do that but I have not a clue that this means:
Users need a shell listed in /etc/shells to get restricted or unrestricted FTP access. Alternatively, you can
give them "ftp" as a shell. Users with a "ftp" shell will be able to login through FTP only: no telnet, no SSH.
And there's no need (and you shouldn't do so) for an "ftp" entry in /etc/shells.


my etc/shell file:
/bin/sh
/bin/bash
/sbin/nologin
/bin/tcsh
/bin/csh
/bin/ksh
/bin/zsh

btmiller 04-28-2007 07:47 PM

Generally, you don't need to do anything to the /etc/shells file. That documentation is telling you what you havbe to do to the user's shell to control various ways that they can login (i.e. only giving them FTP access).

almost000 04-29-2007 12:37 AM

I don't know what is the next step. yes I can log on Anonymus and Deanna is a real user account

that is in the manual
* Unable to log in (unix authentication)

-> I'm using simple Unix authentication. No PAM, no puredb, no MySQL, no
LDAP. Anonymous FTP works, but I can't log in as any other user. It keeps
saying "authentication failed".

To log in, the shell assigned to your users must be listed in the
/etc/shells file. The exact path should be there, even for fake shells like
/etc or /bin/true.

Also double check that you have a carriage return after the last line in
/etc/shells.

I tried that
[root@al etc]# pure-pw useradd alison -f /home/deanna/indexpass -m -d /home/deanna/files -u deanna
Password:
Enter it again:
[root@al etc]# ftp localhost
Connected to localhost.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 00:17. Server port: 21.
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
500 This security scheme is not implemented
500 This security scheme is not implemented
KERBEROS_V4 rejected as an authentication type
Name (localhost:al): alison
331 User alison OK. Password required
Password:
530 Login authentication failed
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bye
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout.
[root@al etc]# thank you btmiller

almost000 05-02-2007 01:19 AM

I wish I knew about a GUI FTP I could set up maybe with a KDE theme and works. and has a RPM installer. I don't care server is as long as it works with IE in windows vista. I can't seem to get pure ftpd to work other then Anonymous. which is not safe at all for uploading files.

venki 05-02-2007 04:32 AM

Hi,
You can use vsftp which is more easy then pure-ftp.

almost000 05-02-2007 01:23 PM

thank you
 
I can log on to vsftp :) yeah!!! limiting and setting users is a lot easier:)


All times are GMT -5. The time now is 09:31 AM.