1830749 Members
1956 Online
110015 Solutions
New Discussion

FTP rights for users

 
Kiran_27
Advisor

FTP rights for users

Hi,
I am not able to ftp to a HP UX server when I login as non-root user.
When I login as root user I am able to FTP.
How can I evoke the ftp rights to other users.
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: FTP rights for users

Hi Kiran,

If the user changed his/her default shell as shown agains the login in /etc/passwd and that shell is not listed in the /etc/shells file then you could get the problem. If this is the case, add the shell to the /etc/shells file

If the user's login is listed in the file /etc/ftpusers it will deny them from accessing ftp.

Regards,
Robert-Jan
R. Sri Ram Kishore_1
Respected Contributor

Re: FTP rights for users

Hi Kiran,

If you are getting the message: FTP: Access Denied, check your /etc/shells. If there is no entry for a user's shell in this file they will not be able to remote login.

HTH.

Regards,
Sri Ram
"What goes up must come down. Ask any system administrator."
Sยภเl Kย๓คг
Respected Contributor

Re: FTP rights for users

Kiran
What is the error meassage which you are getting while login using non-root users.
Pls verify that those non-root accounts are not listed in the 'etc/ftpusers' file.If so remove those entries and restart ftpd deamon and try.
regards
SK
Your imagination is the preview of your life's coming attractions
Andrew Cowan
Honored Contributor

Re: FTP rights for users

You will also be prevented from ftp'ing if your password is either NULL or has expired.