AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  restricting delete command from ftp

    Posted Thu June 03, 2010 02:49 AM

    Originally posted by: rakeshsinnya


    My environment is: users should have read/write access but they should not be able to delete the files.

    For this i've given full permission to owner and group.

    I've restricted rm command so that users other than root can't use rm command.

    But I couldn't find the place to play with delete command.

    Any suggesstion will be appreciable.

    Thanks in advance
    #AIX-Forum


  • 2.  Re: restricting delete command from ftp

    Posted Thu June 03, 2010 10:52 AM

    Originally posted by: shargus


    What if you played with the permissions for the ftp directory?

    Doing a chmod +t on the directory will only allow the owner of the files to delete them.
    #AIX-Forum


  • 3.  Re: restricting delete command from ftp

    Posted Thu June 03, 2010 11:14 AM

    Originally posted by: SystemAdmin


    I think you may want to look at wu-ftpd.

    You can define what user can delete files in /etc/ftpaccess configuration fle.

    Assign Users File-Delete Permission

    The delete line determines whether the user can delete files with the rm command. Here's the command line:

    delete<yes|no> <typelist>
    #AIX-Forum


  • 4.  Re: restricting delete command from ftp

    Posted Sun June 13, 2010 11:14 PM

    Originally posted by: rsandeep


    If you want to restrict the users and if you intent to harden your system you may even opt to remove the "x" for the delete command or even bring it offline by moving it to a place which is not included in the path of all users.
    #AIX-Forum