Solved

AIX FTP server setup

Posted on 2009-05-06
2
3,107 Views
Last Modified: 2013-12-02
I need to setup a AIX FTP server for multiple FTP logins.  Each user must go to a specific home directory and be restricted to that directory only.  Each user must be able to read, write, re-name all files in the home directory.  I have been able to setup users to go to specific home directory, but have not been able to restrict their movement.  I have done a chmod 777 to the home directory, but still cannot rename files through FTP.
0
Comment
Question by:tsaa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 400 total points
ID: 24320654
Hi,

do you have to stay with FTP?

I think the best way to do what you want would be to switch to SFTP, which uses a more secure protocol (SSH), and there is, by using it in combination with rssh, a very convenient way to do "chrooting". rssh allows not only sftp, but also scp, rsync, rdist and cvs. I installed this a few weeks ago, and it works pretty well.

If you must use ftp, however, we could

1) use /etc/ftpaccess.ctl, and use an IBM provided script, /usr/samples/tcpip/anon.users.ftp [username]
to configure the users' home directories (some subdirs and some binaries are needed there, e.g. bin/ls and the like).

2) use some third party FTP server, like proftpd (AIX toolbox).

Please tell me which of the above alternatives you prefer.

rssh is here -

http://www.pizzashack.org/rssh/index.shtml

You need gcc (AIX toolbox) and openssh (AIX expansion pack)


I have to leave for a few hours, will be back soon.

Cheers

wmp





0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 100 total points
ID: 24324113
Install ProFTPD or compile PureFTPD
Remember that FTP protocol specification does not provide means to handle files with spaces in filenames. You have to choose server and client carefully
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question