Re: ftp user restrictions

From: UnixFan (gxy1997_at_yahoo.com.au)
Date: 11/19/03


Date: 18 Nov 2003 21:09:54 -0800


"PJ" <pj0309@yahoo.com> wrote in message news:<1069171799.645626@internet.fina.hr>...
> Hi Unix Guru's,
>
> I would really appreciate if someone could help me.
> On my AIX 4.3.3 machine I should have user with strong restriction in
> following:
> user should be able to do ftp on machine, but once he log in (trough ftp)
> he shouldn't be able to change directory at all, but rather stay in his home
> directory. In that directory user should deliver or pick files and nothing
> else. Normal login in the system should be disabled.
> I've tried so far with user permissions and Rsh but couldn't manage.
>
> How can I do this?
>
> Thanks in advance
>
> PJ

Try to compile and install proftpd, then configure it to have chroot
for the user for doing ftp. To not let the user have command line
access, change the user's shell in /etc/security/user to /bin/ftponly
(make a symbolic link from /bin/false to /bin/ftponly).



Relevant Pages

  • Re: ftp user restrictions
    ... > Hi Unix Guru's, ... > On my AIX 4.3.3 machine I should have user with strong restriction in ... > user should be able to do ftp on machine, but once he log in ... > he shouldn't be able to change directory at all, but rather stay in his home ...
    (comp.unix.admin)
  • Re: Aix vs Linux file transfers to windows
    ... Unix uses LF only ... ... Windows is CR / LF ... ... ftp by default will use ASCII unless told to do otherwise (FTP does no ... Are you sure that the files your are ftp'ing from the AIX hosts are not ...
    (AIX-L)
  • Re: Aix vs Linux file transfers to windows
    ... What are pgm are you using to view the files on the Windows ... If I copy a unix file over to my unix host (AIX). ... That file transferred via ftp (I've set the transfer protocol to be ...
    (AIX-L)
  • Re: Frontpage, CGI, perl and uploading
    ... Ron Symonds (Microsoft MVP - FrontPage) ... on my copy of FP 2003 CGI is defaulted to ASCII. ... > happily, once the permissions are properly set on the Unix side, FP ... when using FTP - the errors WILL happen, no matter how careful you are. ...
    (microsoft.public.frontpage.client)
  • Re: FTP serious error... HELP!
    ... Subject: FTP serious error... ... We are downloading Z/os 1.9 Serverpac but I cant see how I touched our ... I am not sure what UNIX "message catalog" is out of sync with your ftp ... Set 1 msg 2: 125 Sending file via NJE to requested destination. ...
    (bit.listserv.ibm-main)