1845894 Members
4628 Online
110250 Solutions
New Discussion

FTP PROBLEM

 
Sachin Jadhav
Advisor

FTP PROBLEM

Hi All,
I did the hardening on HP-UX boxes.
copied all the users from /etc/passwd file to /etc/ftpd/ftpusers.Now I am not able to ftp to the servers whom I did the hardening.
I dont understand the exact cause. Please anybody assist me on this...

Many Thanks
Sachin
3 REPLIES 3
Mridul Shrivastava
Honored Contributor

Re: FTP PROBLEM

ftpd rejects remote logins to local user accounts that are named in /etc/ftpd/ftpusers. Each restricted account name must appear alone on a line in the file. The line cannot contain any white space. User accounts that specify a restricted login shell in /etc/passwd should
be listed in /etc/ftpd/ftpusers because ftpd accesses local accounts without using their login shells. UUCP accounts should be listed in /etc/ftpd/ftpusers. If /etc/ftpd/ftpusers does not exist, ftpd skips the security check.
Time has a wonderful way of weeding out the trivial
Mridul Shrivastava
Honored Contributor

Re: FTP PROBLEM

Sachin, you have assigned points to 5 of 23 responses ... so request you to assign points to all those gus who spend their time and gives you valuable inputs for resolving/answering your queries.

Thanks for the understanding.
Time has a wonderful way of weeding out the trivial
VK2COT
Honored Contributor

Re: FTP PROBLEM

Hello,

The /etc/ftpd/ftpusers configuration file defines security for the ftp daemon.

ftpd rejects login connections to local user
accounts that are specified in the
/etc/ftpd/ftpusers file.

By adding all Unix accounts into that file,
you effectively disabled FTP access for all of them.

Cheers,

VK2COT
VK2COT - Dusan Baljevic