su option

We have started to us the su option on our production server. We log in with our own id and then su into a special id to perform various tasks. This allows our actions to be monitored.

I need to know how to use the su option when doing an ftp between two servers. I noticed that when I log into production and then su into this special user, when I go to ftp , it is ftping as my id and not the special user.

Your help would be greatly appreciated.

Thank you.

You could use a script (see this thread ) and then set the user to be equal to output of id command.