AIX

AIX

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

 View Only
  • 1.  Ftp For Root

    Posted Sun July 27, 2008 01:49 AM

    Originally posted by: manu12


    Hi,

    I have disabled the root login directly, But I want that root should transfer the files using ftp client for some time,

    Please let me know which files needs to be edited.
    Regards,

    Manoj


  • 2.  Re: Ftp For Root

    Posted Mon July 28, 2008 02:59 AM

    Originally posted by: CRM


    Edit the /etc/ftpusers file and add a line for each user you do not want to be able to ftp files onto the box, e.g. just add a single line:

    root

    Save the file and that will stop root user ftp transfers.

    regards

    Chris


  • 3.  Re: Ftp For Root

    Posted Mon July 28, 2008 09:10 AM

    Originally posted by: esv


    Well, what manu12 wanted was to allow root access to ftp and adding it to /etc/ftpusers disables ftp access.

    to allow root to use ftp (I would discourage it) disable remote login to root, allow local login and remove root from /etc/ftpusers....

    chuser rlogin=false login=true root
    I would recommend you look for a solution based on SSH/SCP/SFTP using a different user.

    best regards,
    esv.