The touch command is in /usr/bin on AIX so everyone should have access to
the touch command.  My guess is the person does not have write privileges to
the directory or the file you want them to touch and you will have the same
problem with ftp.  If ./myfile already exists check the access privileges on
that file.

 

 

Tom Dodds

 <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]

708-234-9608 Office

630-235-2975 Cell

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, February 27, 2007 3:44 PM
To: [email protected]
Subject: Re: [U2] anonymous ftp commands

 

I guess ftp'ing the same zero byte file would accomplish the same thing eh?

 

-------------- Original message -------------- 
From: [EMAIL PROTECTED] 

Hi all,

 

There is an external application that sends data to our system via ftp that
I want to monitor.  I would like for this user to execute a unix touch on a
file in their home directory using the ftp quote command  (quote SH -C
"touch ./myfile").  This would tell me that their server is up even though
there is no data to send.  The problem is (i am guessing) that they do not
have authority to the touch command.  I thought I could copy the touch
command into the users home directory to get it to work but it did not.  I
looked at a file called /etc/ftpd/ftpaccess but nothing jumped out at me in
there.

 

Can anyone tell me if what I am trying to do is feasible and if so what I am
doing wrong?

 

Thanks

Reply via email to