Operating System - HP-UX
1837963 Members
2910 Online
110124 Solutions
New Discussion

Setting up a restricted FTP account.

 
SOLVED
Go to solution
LinuxNotMS
Advisor

Setting up a restricted FTP account.

I'm sorry if this topic has been addressed elsewhere within ITRC, but I couldn't find anything.

I am needing to set up ftp accounts with the following restrictions:

1) I don't want the account to be able log in interactively (ie: via telnet), and
2) when the account is logged in correctly (via ftp), I don't want the user to be able to cd to any other directory or be able to look at any other files on the system.

Thank you.

Scott
6 REPLIES 6
John Carr_2
Honored Contributor

Re: Setting up a restricted FTP account.

Scott

have a look at this thread

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=15816

also if you enter "ftp restricted account" in the search box at the top of the screen then scroll down the page you will find lots of usefull threads :-) John.
Ashwani Kashyap
Honored Contributor
Solution

Re: Setting up a restricted FTP account.

Hazem Mahmoud_3
Respected Contributor

Re: Setting up a restricted FTP account.

I believe the best method for performing that would be through "ftpaccess" (man ftpaccess). You can also look into "chroot" (man chroot), but I understand that this will be going away some time, however the concept of it follows what you are looking for. It allows you to create a "root" directory and environment for a specific user.

-Hazem
I.Delic
Super Advisor

Re: Setting up a restricted FTP account.

Christopher Caldwell
Honored Contributor

Re: Setting up a restricted FTP account.

LinuxNotMS
Advisor

Re: Setting up a restricted FTP account.

Thank to you all. I've got it working to my satisfaction with your help and pointers.