Operating System - HP-UX
1830466 Members
2435 Online
110005 Solutions
New Discussion

FTP access denied for users in a Trusted HP-UX server

 
SOLVED
Go to solution
Phani_4
Frequent Advisor

FTP access denied for users in a Trusted HP-UX server

Hi,

We have one Trusted HP-UX server.
While doing ftp to this server as a user, it is saying "ftp access denied"

I have checked the /etc/ftpd/ftpusers file, the user is not listed here & there is no /etc/shells file defined.

Checked /var/adm/inetd.sec also..ftp service is not restricted.

As a root i can ftp since it is commented in ftpusers file.

But as normal user we are not able to ftp to this server even though the user not listed in ftpusers file.

Please help me in resolving this issue.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: FTP access denied for users in a Trusted HP-UX server

The most likely cause is the user is locked or the password is expired.

Run the script I'm attaching against one of the users and see if the problem occurs.

turn on enhanced inetd logging

inetd -l

tail -f /var/adm/syslog/syslog.log

run your test in another window.

sEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
RAC_1
Honored Contributor

Re: FTP access denied for users in a Trusted HP-UX server

Prepare /etc/shells file and put all shells that user's use on your system.

Add -lv ooptions to ftpd in /etc/inetd.conf.
Do inetd -c

And post the results.

Anil
There is no substitute to HARDWORK
Sundar_7
Honored Contributor
Solution

Re: FTP access denied for users in a Trusted HP-UX server

hi,

What is the user login shell ? If your user login shell is not one of those standard shells then even if there is no /etc/shells, ftp access will be denied for the user.

Sundar
Learn What to do ,How to do and more importantly When to do ?
Phani_4
Frequent Advisor

Re: FTP access denied for users in a Trusted HP-UX server

Hi All,

Creating a /etc/shells file with all shells defined worked out..Now normal users can able to ftp to the server.

Thanks alot for your quick response..:-)

Regards,
Phani