Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to restrict FTP users to their own directory?

Status
Not open for further replies.

Eric33

Technical User
Sep 10, 2003
22
SG
Hi,

I need to create 2 FTP users on solaris 8 and to restrict them to only their home directory(and any sub-directories under it).

I am using the generic FTP server and I do not want to install any freeware or external software on the system. Can anyone help advise me how I can configure the accounts/settings so that I am able to accomplish it with the generic OS tools?

Thanks.
Eric
 
Hi dbase77,

I understand that the generic FTP server do not the functionality. But I recall having seen it been done before. I think it is a combination of generic OS security permissions on the folders and selection of shell used. Any idea?

Thanks.
Eric
 
you can build a chroot environment, just google for "Solaris chroot ftp" and you will find what you need

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Take a look at my FAQ faq60-2315 it may help

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top