Unix Technical Forum

ftpaccess problem

This is a discussion on ftpaccess problem within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi there Is there someone who can help me ?? I've got a aix box, running 5.2 ML-04. On ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 07:30 AM
toger67
 
Posts: n/a
Default ftpaccess problem

Hi there

Is there someone who can help me ??

I've got a aix box, running 5.2 ML-04.
On this server I've created some users, who are supposed to be used only as
ftp users.
These users got home dir. looking like this

/ftp/ftpbe
/ftp/ftpuk
/ftp/ftpcc
/ftp/ftpfr

They all got a ksh shell

My question is, how do I restrict the users, so that they are not able to go
anywhere ftom their home-dir's ????

I've been looking at ftpaccess.ctl, but I can't find out how to combine a
directory with a user....

Can You please help ??

Thanks,

Gitte T.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 07:30 AM
scott_doyland@johnlewis.co.uk
 
Posts: n/a
Default Re: ftpaccess problem

You need to run a 'restricted shell' for those users which stops them
cd'ing to other dirs and retricts certain other stuff as well. Do a
search on comp.unix.aix and you will find lots about it. Also see 'man
ksh'.

Regards,
Scott

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 07:30 AM
scott_doyland@johnlewis.co.uk
 
Posts: n/a
Default Re: ftpaccess problem

You need to run a 'restricted shell' for those users which stops them
cd'ing to other dirs and retricts certain other stuff as well. Do a
search on comp.unix.aix and you will find lots about it. Also see 'man
ksh'.

Regards,
Scott

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 07:33 AM
jgk
 
Posts: n/a
Default Re: ftpaccess problem

toger67 wrote:
> Hi there
>
> Is there someone who can help me ??
>
> I've got a aix box, running 5.2 ML-04.
> On this server I've created some users, who are supposed to be used only as
> ftp users.
> These users got home dir. looking like this
>
> /ftp/ftpbe
> /ftp/ftpuk
> /ftp/ftpcc
> /ftp/ftpfr
>
> They all got a ksh shell
>
> My question is, how do I restrict the users, so that they are not able to go
> anywhere ftom their home-dir's ????
>
> I've been looking at ftpaccess.ctl, but I can't find out how to combine a
> directory with a user....
>
> Can You please help ??
>
> Thanks,
>
> Gitte T.
>
>

Gitte,


Do you know which ftp server you use? I mean the name of the product (I
am new to AIX).

On Linux we use vsftpd, that does a "change root" automatically. So a
user cannot get out of his/her homedir.

For a wu-ftpd you need to put a . after the directory a user need to be
locked in to, so for a homedir this is at the end.
So for example /ftp/ftpbe/.

About your choice of using ksh as the shell, do your users need access
to the prompt? If not I would suggest to use the shell named false.


Kind Regards,


Jan Gerrit Kootstra
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 07:18 AM.


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