Unix Technical Forum

How to restrict user access to a folder only on AIX Unix while doing FTP

This is a discussion on How to restrict user access to a folder only on AIX Unix while doing FTP within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi , I really need your help badly .Please help me to resolve this issue. I created a user ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 02:48 AM
niraj_2005@yahoo.com.sg
 
Posts: n/a
Default How to restrict user access to a folder only on AIX Unix while doing FTP

Hi ,
I really need your help badly .Please help me to resolve this issue. I
created a user ftptest assigned to group ftpuser . What we want is user
shouldn't navigate from one directory to another while doing FTP.It means
he should confine to his home directory throug out FTP session.
I can restrict the user to his home directory by invoking restrict
shell (i.e rsh) but stil user can navigate during FTP session .

Thanks for your help in advance
Niraj
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 02:48 AM
Steve Nottingham
 
Posts: n/a
Default Re: How to restrict user access to a folder only on AIX Unix while doing FTP

niraj_2005@yahoo.com.sg (niraj_2005@yahoo.com.sg) wrote in message news:<a2ffe9ad.0407200156.11dde6a9@posting.google. com>...
> Hi ,
> I really need your help badly .Please help me to resolve this issue. I
> created a user ftptest assigned to group ftpuser . What we want is user
> shouldn't navigate from one directory to another while doing FTP.It means
> he should confine to his home directory throug out FTP session.
> I can restrict the user to his home directory by invoking restrict
> shell (i.e rsh) but stil user can navigate during FTP session .
>
> Thanks for your help in advance
> Niraj



Look at the script /usr/samples/ftp/anon.ftp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 02:49 AM
Andreas Schulze
 
Posts: n/a
Default Re: How to restrict user access to a folder only on AIX Unix while doing FTP

<niraj_2005@yahoo.com.sg> schrieb im Newsbeitrag
news:a2ffe9ad.0407200156.11dde6a9@posting.google.c om...
> Hi ,
> I really need your help badly .Please help me to resolve this issue. I
> created a user ftptest assigned to group ftpuser . What we want is user
> shouldn't navigate from one directory to another while doing FTP.It

means
> he should confine to his home directory throug out FTP session.
> I can restrict the user to his home directory by invoking restrict
> shell (i.e rsh) but stil user can navigate during FTP session .
>
> Thanks for your help in advance
> Niraj


Hi Niraj,

an elaborate explanation on how to do this is available from IBM directly:
http://publib16.boulder.ibm.com/pser...nonymous_f tp

HTH,
andreas


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 02:49 AM
Bela Gazdy
 
Posts: n/a
Default Re: How to restrict user access to a folder only on AIX Unix while doing FTP

niraj_2005@yahoo.com.sg <niraj_2005@yahoo.com.sg> wrote:
nycs> Hi ,
nycs> I really need your help badly .Please help me to resolve this issue. I
nycs> created a user ftptest assigned to group ftpuser . What we want is user
nycs> shouldn't navigate from one directory to another while doing FTP.It means
nycs> he should confine to his home directory throug out FTP session.
nycs> I can restrict the user to his home directory by invoking restrict
nycs> shell (i.e rsh) but stil user can navigate during FTP session .

nycs> Thanks for your help in advance
nycs> Niraj

The anonymous ftp, as implemented by IBM and suggested by others on this list,
is one good way to go.

Another would be to install the highly configurable (similar directives to
the Apache web server) ProFTPD package. You can get the source code from
http://www.proftpd.org/ , where you can also find all the info you need.

Precompiled binaries are also available at http://www.bullfreeware.com/
(installp format) and at http://www-1.ibm.com/servers/aix/pro.../download.html (RPM format).

Of course these binaries always lag a little bit behind the latest source.

--
Bela Gazdy, EUCLID/AIX Systems Support
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:31 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com