LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2007, 07:53 PM   #1
almost000
Member
 
Registered: Apr 2007
Distribution: Fedora 7,Windows 3.11-9X/ME,Windows 2000/XP/Vista
Posts: 107

Rep: Reputation: 15
Question 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

Last edited by almost000; 04-27-2007 at 11:29 PM.
 
Old 04-28-2007, 08:47 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
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).
 
Old 04-29-2007, 01:37 AM   #3
almost000
Member
 
Registered: Apr 2007
Distribution: Fedora 7,Windows 3.11-9X/ME,Windows 2000/XP/Vista
Posts: 107

Original Poster
Rep: Reputation: 15
Question

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

Last edited by almost000; 04-29-2007 at 11:07 AM.
 
Old 05-02-2007, 02:19 AM   #4
almost000
Member
 
Registered: Apr 2007
Distribution: Fedora 7,Windows 3.11-9X/ME,Windows 2000/XP/Vista
Posts: 107

Original Poster
Rep: Reputation: 15
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.

Last edited by almost000; 05-02-2007 at 02:22 AM.
 
Old 05-02-2007, 05:32 AM   #5
venki
Member
 
Registered: Sep 2006
Location: India
Distribution: suse10.2
Posts: 128

Rep: Reputation: 15
Hi,
You can use vsftp which is more easy then pure-ftp.
 
Old 05-02-2007, 02:23 PM   #6
almost000
Member
 
Registered: Apr 2007
Distribution: Fedora 7,Windows 3.11-9X/ME,Windows 2000/XP/Vista
Posts: 107

Original Poster
Rep: Reputation: 15
Wink thank you

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't log in pure-ftpd server with IE, but can with command prompt. Yonderknight Linux - Software 16 12-01-2005 01:14 AM
Pure-FTPD( Unable to connect) fritz001 Slackware 5 01-27-2005 07:36 PM
pure-ftpd log analyzer dominant Linux - Software 2 10-05-2004 08:32 AM
pure ftpd log files Tinku Linux - Software 8 10-04-2004 02:07 AM
pure-ftpd online users spotass Linux - Software 0 07-22-2004 12:33 PM


All times are GMT -5. The time now is 08:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration