LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-21-2014, 08:02 AM   #1
synthetec
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Rep: Reputation: Disabled
proftpd - How to make it so that users authenticate based on /etc/passwd


As the title suggests, how do I make it so that /etc/passwd is used to authenticate FTP users??
 
Old 08-21-2014, 09:50 AM   #2
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
Hi,

The short answer to your question is "google" :-)

From what I can find, it seems to be the default, and easy to configure even if not.

We might be of more help if you elaborate a little, though. What software are you running (OS & proftpd version)? What does your config look like? What have you tried to figure it out?

Good luck!
 
Old 08-22-2014, 02:22 AM   #3
synthetec
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cliffordw View Post
Hi,

The short answer to your question is "google" :-)

From what I can find, it seems to be the default, and easy to configure even if not.

We might be of more help if you elaborate a little, though. What software are you running (OS & proftpd version)? What does your config look like? What have you tried to figure it out?

Good luck!
Hi, sorry for the vague question then I suppose.

It's CentOS 6.5, ProFTPD Verison 1.3.3g.

I have googled around and from what i've read, it is supposed to accept /etc/passwd based on default config, however when I tried using an FTP client, I receive the below output. I tried logging in as the same root user/password that is within /etc/passwd, as well as another user. This is why i'm not sure what to do.


Response: 220 FTP Server ready.
Command: USER root
Response: 331 Password required for root
Command: PASS ********
Response: 530 Login incorrect.
Error: Critical error: Could not connect to server
 
Old 08-22-2014, 02:41 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
I tried logging in as the same root user/password that is within /etc/passwd, as well as another user. This is why i'm not sure what to do.
By default root cannot use ftp, for security reasons.
Try to login as a regular user and you'll see that it should work

Regards
 
  


Reply



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
AIX 5.3a won't authenticate my users from a Linux-based NIS server Batmensch AIX 1 11-16-2012 01:44 PM
How to sort regular users and system users from /etc/passwd joeyBig Red Hat 9 05-29-2008 12:59 AM
how to authenticate external users but bypass prompt on local LAN users? taiwf Linux - Security 5 07-13-2005 09:01 AM
ProFTPd. Authenticating using /etc/passwd instead of PAM wenberg Linux - Software 2 01-04-2004 10:14 AM
How to authenticate SAMBA against /etc/shadow or passwd ?? freunda Linux - General 3 03-12-2002 04:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:27 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
Open Source Consulting | Domain Registration