1820885 Members
3716 Online
109628 Solutions
New Discussion юеВ

manging ftp user

 
SOLVED
Go to solution
Roberto Volsa
Frequent Advisor

manging ftp user

Hello,
which is the best way to allow a user to fto to a system without letting him to telnet or login to the system?
The user should also look into only one directory.

Thanks and regards

RV
5 REPLIES 5
Mark Grant
Honored Contributor

Re: manging ftp user

Setting the users shell to /usr/bin/false and putting /usr/bin/false in /etc/shells will keep them out.

Also, have a look at the man page for "ftpaccess" it will allow you do do all sorts of things that you might like.
Never preceed any demonstration with anything more predictive than "watch this"
Steven E. Protter
Exalted Contributor

Re: manging ftp user

If your system has a user called ftp user or ftpuser.

Make sure that password gets changed once in a while.

I had a problem with that user on a Linux box recently. It was logging on and trying to break out into a command shell. Except it wasn't me.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tom Smith_9
Frequent Advisor

Re: manging ftp user

Using ftpaccess with a restricted account sounds liek the way to go. I have used this method many times and it has always worked well.
I have attached a text file with some notes (I believe I got them from this forum a while ago.) on setting up an FTP account for restricted access.
Alzhy
Honored Contributor

Re: manging ftp user

Best is use FTP's configuration file: ftpaccess.

Even better is to use TCP_Wrappers to enable certain users/subnets/etc. to access your inet services...

Hakuna Matata.
Dave La Mar
Honored Contributor
Solution

Re: manging ftp user

Roberto -
Find attached the HP docs on this process.
We have used the docs for this purpose.
Best of luck.

Regards,

dl
"I'm not dumb. I just have a command of thoroughly useless information."