singh763173 Posted November 27, 2011 Posted November 27, 2011 (edited) Hi all, I have been playing around with Ubuntu Server 11.10 with basic OpenSSH package installed from setup. I have installed proftpd and have been playing around with users and directories etc but came across one issue. I now have two users using the following command sudo useradd username -p password -d /home/directory -s /bin/false the above works great but what I really want to do is, make "username" only see "directory". At present, when I log in with "username" I am pointed to "directory" but I can back out of that directory and go to the home directory thus allowing access to other directories (using filezilla on windows). User, how would I go about editing and deleting users? I have also been looking at trying to remove and edit permissions but I cant seem to figure it out. Hopefully you guys understand what I mean! Thanks in advance Edited November 27, 2011 by singh763173 Quote
singh763173 Posted November 27, 2011 Author Posted November 27, 2011 I seem to be making a habit of this :S figured it out! Installed WebMin and then managed to find an option that enforced home directory listing only. Quote
Infiltrator Posted November 28, 2011 Posted November 28, 2011 May I suggest you this how-to. https://help.ubuntu.com/10.04/serverguide/C/ftp-server.html Quote
singh763173 Posted November 28, 2011 Author Posted November 28, 2011 hey infiltrator, thanks for that. from what i can see - vsftpd looks like it handles chroot alot easier than proftpd. aside from that and ftps, what would you say are the major differences? and based on that, what would be better? thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.