AIX

AIX

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

 View Only
  • 1.  Allow users access to Ftp

    Posted Wed August 20, 2008 11:49 AM

    Originally posted by: SystemAdmin


    Hi

    I´m looking for a configuration on AIX v4.3 or 5.2 to allow users to access to ftp.
    The file /etc/ftpusers deny the access. So, I´m looking for the opposite.

    If there is no config file, what can I do to solve this problem.

    I don´t want to make a script to view the /etc/passwd and compare with a "allow list" to ftp and insert the users that are not allow in the /etc/ftpusers.

    Thanks
    Regards

    Exequiel Fernandez Cueto
    Buenos Aires - Argentina


  • 2.  Re: Allow users access to Ftp

    Posted Wed August 20, 2008 12:44 PM

    Originally posted by: SystemAdmin


    hi

    please check the entry in /etc/inetd.conf

    if it is commented, remove the comment.

    i am not sure, i think it will solve your problem.

    thanks


  • 3.  Re: Allow users access to Ftp

    Posted Wed August 20, 2008 01:20 PM

    Originally posted by: SystemAdmin


    The service is running (is not comment).

    I need to create a list of authorize ftp users.
    The /etc/ftpusers is a list of unauthorize ftp users.
    Example:
    If I want only 3 users to have ftp, I will need to add at the /etc/ftpusers file all the rest. Thats the thing I don´t want to do.

    If I create a new user, I have to add it into the /etc/ftpusers file too.

    Thanks for answering...

    Regards!


  • 4.  Re: Allow users access to Ftp

    Posted Thu August 21, 2008 04:39 AM


  • 5.  Re: Allow users access to Ftp

    Posted Thu August 21, 2008 09:56 AM

    Originally posted by: SystemAdmin


    Ku,

    Thanks for the answer, but can i allow a user? or only host?

    Regards!

    Exequiel


  • 6.  Re: Allow users access to Ftp

    Posted Thu August 21, 2008 12:06 PM

    Originally posted by: hdkutz


    Hello echi24,
    from the mentioned link:
    <snip>
    Description

    The /etc/ftpaccess.ctl file is searched for lines that start with allow:, deny:, readonly:, writeonly:, readwrite:, useronly:, grouponly:, herald: and/or motd:. Other lines are ignored. If the file doesn't exist, then ftp access is allowed for all hosts. The allow: and deny: lines are for restricting host access. The readonly:, writeonly: and readwrite: lines are for restricting ftp reads (get) and writes (put). The useronly: and grouponly: lines are for defining anonymous users. The herald: and motd: lines are for multiline messages before and after login.
    <snip>
    I think useronly or grouponly is the case you are searching for.

    Cheers,
    ku


  • 7.  Re: Allow users access to Ftp

    Posted Thu August 21, 2008 04:46 PM

    Originally posted by: SystemAdmin


    Ku,

    I´ll try that. Using the useronly: usernames....

    I´ll post the results..

    Thanks!

    Regards.

    Exequiel


  • 8.  Re: Allow users access to Ftp

    Posted Mon October 30, 2017 10:25 PM

    Originally posted by: AjayAmge


    Hi,

    is there any update on above thread.

    I want to  allow only specific users through ftp with out using /etc/ftpusers file in AIX. In AIX 7.1 is there any option to allow.

    In Linux we can do by adding users in /etc/vsftpd/user_list so that it allow only users listed in "user_list" file. ftp ignores "ftpusers" file.

    Thanks in Advance.