Operating System - HP-UX
1833757 Members
2823 Online
110063 Solutions
New Discussion

Open FTP Access for a user.

 
samir_18
Advisor

Open FTP Access for a user.

I tried to ftp to a server running hp-ux 11.0 with a non root user , I got the following message :

530 User access denied...
Login failed.

what can I do to solve this problem and open the ftp access to this user.

Best Regards.

samir
7 REPLIES 7
Franky_1
Respected Contributor

Re: Open FTP Access for a user.

Hi,

is this the only user and all others can log in - or is it a more general problem ?

I can think of the following :

1.) User is named in /etc/ftpd/ftpusers
2.) User uses a shell that isn't named in /etc/shells
3.) FTP is denied in /var/adm/inetd.sec

Regards

Franky
Don't worry be happy
samir_18
Advisor

Re: Open FTP Access for a user.

Hi,

only the root user can login to ftp.


thanks.
samir_18
Advisor

Re: Open FTP Access for a user.

also /etc/ftpd/ftpusers and /etc/shells

not exists.
Sanjay_6
Honored Contributor

Re: Open FTP Access for a user.

Hi,

Make sure the user_id (non-root) has a password and also create a /etc/shells file whose syntax is

/usr/bin/sh
/usr/bin/ksh
/bin/sh
/usr/bin/false
......

Make sure the shell for the user exist in this file.

Hope this helps.

Regds
Rick Garland
Honored Contributor

Re: Open FTP Access for a user.

If only root can login, check the ftpusers file, check the shells file to make sure a valid shell is defined.
samir_18
Advisor

Re: Open FTP Access for a user.

Thanks for all for your help..

the /etc/shells file creation solved the problem.

Thanks a lot.

Samir.
Franky_1
Respected Contributor

Re: Open FTP Access for a user.

Hi Samir,

glad to hear that your problem is solved.
Please don't forget to assign points

Regards

Franky
Don't worry be happy