Operating System - HP-UX
1830898 Members
2234 Online
110017 Solutions
New Discussion

Re: "ftp quote SITE EXEC program" feature does not work.

 
SOLVED
Go to solution
Carl Stehman
New Member

"ftp quote SITE EXEC program" feature does not work.

I am trying to use the "ftp quote SITE EXEC program " feature from an NT machine connecting to an HP-UX 11.0x machine. The return messages to the NT system indicate that the program runs, but it does not in fact execute on the HP system. I have set up a special user name and provide a user and password to login using ftp.

I am looking for documentation (other than the man pages) on how this feature works, or how to configure the fptd files or set up the user, or anything..

Patience Persists
4 REPLIES 4
Ian_4
Honored Contributor

Re: "ftp quote SITE EXEC program" feature does not work.

Make sure that the executable is located under /etc/ftpd/ftp-exec and have a permission of 555 .

Hope this helps,
Ian.
Carl Stehman
New Member

Re: "ftp quote SITE EXEC program" feature does not work.

Thanks for the quick response.
However,
I put the executable "testprog"( a small test procedure)
under the /etc/ftpd/ftp-exec directory and
set the permissions to 555, it still does not
execute when I send the "qoute SITE EXEC testprog"
command from ftp on my NT machine. Who should
own the file? Any other ftpd configuration parameters
I should be aware of? I have installed patch
PHNE_21936 as suggested by HP.

Thanks

Carl
Patience Persists
Ian_4
Honored Contributor
Solution

Re: "ftp quote SITE EXEC program" feature does not work.

I think it?s permission problem on /etc/ftpd or /etc/ftpd/ftp-exec set these dirs to 555, this will give anyone permission to execute, by default it's root only. Anyone can own the file, per 555 will insure that non root users can use it. I only have the man pages no other source of info :-(

Hope this helps,
Ian
Carl Stehman
New Member

Re: "ftp quote SITE EXEC program" feature does not work.

Ian:

Thanks! that did it.

I set 555 on /etc/ftpd, and etc/ftpd/ftp-exec ..

Thanks again.

Carl

Patience Persists