I'm trying to create a user that can only connect using FTP.
In whitch group does this user has to be?
Is there something special i should do for this user?
Try using something like wu-ftp if you wish to use heavily configured FTP. There are plenty of docs on how to use/configure this product.
Other wise you might consider using the /etc/ftpusers file. If a user exists in this file they can't connect using FTP. So add all the people you don't want to give ftp access into here.
The ftpusers file does not exist so bassicly every user should be able to ftp to the server.
But guess what? Some do some don't. Why? I don't have a clue.
What is the message that the users that cannot connect to the server are getting? Are they getting denied when they enter their logon id or do they have problems connecting to the server?
Run the lsuser -f username for a user who can connect and one who cannot connect and look for differences.
For application specific users, we have FTP IDs that have home directories in the actual directory where they either `put` or `get` files. The ownership and group of these directories belongs to that FTP ID, in other words, the FTP ID has it's own group ID. The main ID for the application is then set to be a member of that directory so it can go in and move the files that the ftp ID placed there. And you have the security that the FTP ID cannot get into any other directory.
Application main admin user = appadmin (groups=appgrp, ftpgrp)
Application FTP user = appftp (groups=ftpgrp)
appftp ID home location = /app/AIX433/v2.4/reports (rwxrwxr--)
ownership ftpid.ftpgrp Remember, amateurs built the Ark, professionals built the Titanic.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.