1846734 Members
3743 Online
110256 Solutions
New Discussion

Re: ftpusers file issue

 
EJ Stremler
Frequent Advisor

ftpusers file issue

Can someone verify this for me. We need to put the ftpusers file in place to restrict system accounts from using ftp. It is defined as below in /etc/ftpd directory.
imhqu34 #ls -lt
total 2
-rw-r--r-- 1 root sys 89 Nov 28 15:03 ftpusers
dr-xr--r-- 2 bin bin 96 Aug 12 2002 ftp-exec
dr-xr--r-- 2 bin bin 96 Aug 12 2002 pids
imhqu34 #cat ftpusers
root
daemon
bin
sys
adm
uucp
lp
nuucp
hpdb
nobody
www

For some reason, when a user tries to ftp into the system, there is no evidence in syslog that they are using any system accounts to ftp.. They get this error, doesn't seem like it is HP-UX:

Error is:

SQL*Loader-500: Unable to open file (/hrms/data/inbound/adp1/data/epopb431.dat)

HP-UX Error: 13: Permission denied

I move the ftpusers file out of the way, and then they don't get the error.. Any ideas? All would be helpful.. Thanks, Ed...

1 REPLY 1
Peter Scott
Advisor

Re: ftpusers file issue

Hello Ed,

It looks like ftpusers is doing its job, but ftpd is returning a error code from an Oracle Library rather than from a standard UNIX Library. Error 13 is the return code for permission denied (EACCES).

If you are setting a library search path (SHLIB_PATH) on your server then make sure that the standard libraries come before any Oracle libraries.
Life is a terminal sexually transmitted disease, but hey, who wants to be cured!