Solved

AIX FTP server setup

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

762 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