Solved

AIX FTP server setup

Posted on 2009-05-06
2
3,022 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
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

813 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now