The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
restricted pointers carl.alv High Level Programming 0 02-29-2008 11:34 PM
HP-UX Restricted SAM Andrek UNIX for Advanced & Expert Users 1 01-10-2007 10:37 PM
Restricted Shells. . . crispy UNIX for Dummies Questions & Answers 0 05-18-2005 12:12 PM
Restricted SSH Access ezekiel61 UNIX for Dummies Questions & Answers 2 05-12-2004 12:03 PM
Restricted user LivinFree Security 1 04-18-2002 08:11 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 1 Week Ago
shiniraz shiniraz is offline
Registered User
  
 

Join Date: Nov 2009
Location: Kuala Lumpur
Posts: 4
Question Problem with Restricted FTP

I've created a specific FTP user restricted to only it's home dir. Eg as below:

User: ftp01
Home Dir: /home/ftp01

As I want this user to only able to access his home dir only, I've created /etc/ftpaccess.ctl and refresh the inetd daemon:

useronly: ftp01
readwrite: /home/ftp01

It works! But the problem here is:
1. I cannot view the content of /home/ftp01 everytime I ftp to that server(using filezilla eg)
2. When i create folder using filezilla, the folder is there, but i cannot view the folder after refresh.

Appreciate any helps that i can get.
Thanks all.

Shiniraz
  #2 (permalink)  
Old 1 Week Ago
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
It looks like you have set up a "chroot"-ed environment. You need to provide some basic utilities ftp relies on in a path where they are accessible from within the chroot-environment in this case. Create a directory /home/ftp01/bin where at least a copy of /usr/bin/ls and some other programs reside (see details on the manpage of ftp and chroot respectively.

If you forbid access to everything outside /home/ftp then also the access to some basic system libraries are forbidden - this is why a chrooted environment won't work without these copies.

I hope this helps.

bakunin
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0