1752790 Members
6333 Online
108789 Solutions
New Discussion юеВ

Re: FTP-Login

 
SOLVED
Go to solution
Futschik
Occasional Contributor

FTP-Login

How can I modify the ftp-access, so that the ftp-access is not denied on a HP-UX System like /etc/ftpusers on other UNIX-Systems?
5 REPLIES 5
G. Vrijhoeven
Honored Contributor

Re: FTP-Login

Hi,

On hpux it is /etc/ftpd/ftpusers ( man ftpusers)

Regards,

Gideon
Ashwani Kashyap
Honored Contributor

Re: FTP-Login

and the ftpaccess file you will have to copy from /usr/newconfig/etc/ftpd into /etc/ftpd , if its already not there and then modify it to suit your needs . Once modified restart inetd with inetd -c .
Bharat Katkar
Honored Contributor

Re: FTP-Login

Hi there,
Remember user listed in this file are denied access.

Regards,
You need to know a lot to actually know how little you know
SIJU JOSE
Frequent Advisor

Re: FTP-Login

Hi

You should be able to ftp if

1.your username is not listed in /etc/ftpusers

2.your default shell is listed in /etc/shells

3.your ftp access is not restricted in /var/adm/inetd.sec

On top of all these the system should allow to ftp into that

HTH

Siju Jose
Tapas Jha
Valued Contributor
Solution

Re: FTP-Login

Hi

Whcih HP-UX you are using? If you are using below 11.00 then the ftp access (rather restriction file) are in /etc/ftpusers. In 11.00 and above that file is /etc/ftpd/ftpusers.

Users can be able to ftp if that username is not listed in /etc/ftpusers(in 11.00 and above /etc/ftpd/ftpusers)

Check your default shell is listed in /etc/shells(If your shell is not listed in /etc/shells then you can't able to ftp).

You can restrict and give access from /var/adm/inetd.sec file by like below:
ftp allow 199.??.??.1 199.??.??.6 199.??.??.61
Check existence of ftp line in /etc/inetd.conf file like below:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd


With rgds
Taps
Tapas Jha