1830207 Members
1835 Online
109999 Solutions
New Discussion

ftp access only

 
SOLVED
Go to solution
Greg Dick_1
Occasional Advisor

ftp access only

Is there a where to set up ftp access only for users?
6 REPLIES 6
Rita C Workman
Honored Contributor

Re: ftp access only

Are you asking about the ftpaccess file?
In an 11.0 system it's at /etc/ftpaccess. You can configure this file to give certain rights for certain users/groups. You can also restrict users in ftp by doing chroot.
Or are you asking about controlling access via /var/adm/inetd.sec?
I'm not exactly sure what your asking about....alittle more info please..

/rcw
Greg Dick_1
Occasional Advisor

Re: ftp access only

What we are trying to do is give some users ftp access only, so they can not telnet in. Do you do this through the /etc/ftpaccess file?
Greg Dick_1
Occasional Advisor

Re: ftp access only

What we are trying to do is give some users ftp access only, so they can not telnet in. Do you do this through the /etc/ftpaccess file?
And if so can you give me a example.

ThanX,
Greg
Mark Mitchell
Trusted Contributor

Re: ftp access only

If I understand the question, you are looking to give users ftp access. The way that it works is that under /etc is a file called ftpusers. If the file is empty, everyone on the system can ftp, then if you add a login id to it, then it will start blocking access to those who are listed in the file and everyone not listed in it can still ftp.
Joseph C. Denman
Honored Contributor
Solution

Re: ftp access only

Give the user an account
give him/her the shell /usr/bin/false (bogus shell)

you can also up /./ at the end of there home directoy in the passwd file to force a chroot.

also, look at ftpaccess.
man 4 ftpaccess
If I had only read the instructions first??
Joseph C. Denman
Honored Contributor

Re: ftp access only

also, add /usr/bin/false to the /etc/shells file.
If I had only read the instructions first??