On Mon, 30 Jun 1997, Sudhakar Chandrasekharan wrote: > Rob, > > I have the same problem. Could you email me any answers that you get by > personal email? Would greatly appreciate it. I am on the mailing > list. So I would get to see the emails that come to the mailing list. > > Sudhakar
Hello Sudhakar, fellow debianers, :) First thanx to everyone who helped me on this. The ftp web accounts are all working great now. There really wasn't alot that really had to be done but this is exactly what how i have it setup. You may wish to place things else where cd / mkdir webftp drwxr-sr-x 7 root root 1024 Jun 29 22:58 webftp Now copy the /home/ftp/bin lib and etc dir to /webftp cp -ap /home/ftp/bin /webftp cp -ap /home/ftp/lib /webftp cp -ap /home/ftp/etc /webftp I also copied and changed the welcome.msg aswell. I added another directory here where the user accounts go /webftp/web. Change the group of the web dir to webusers cd /webftp mkdir web drwxr-xr-x 4 root webusers 1024 Jun 29 21:48 web Then add a group to /etc/group and place the users in that group. I'll use "webusers" as the group and "user1" and "user2" as the users. webusers:*:109:user1,user2 And add this line to your /etc/ftpd/ftpaccess file. This allows all users in the group "webusers" to ftp in and saves you from having to add a guestgroup for each user. guestgroup webusers Now just add your users and edit the /etc/passwd file (always using caution when doing this. I'd recommend makeing a passwd.bak just in case) You need to change the users home path to: user1:passwd:5000:5000:Web User,,,,:/webftp/./web/user1:/bin/true user2:passwd:5001:5001:Web User,,,,:/webftp/./web/user2:/bin/true *Make sure you add /bin/true to /etc/shells Remember to move the users home directory to /webftp/web with the perms drwxr-xr-x 2 user1 user1 1024 Jun 29 23:05 user1 drwxr-xr-x 2 user2 user2 1024 Jun 29 23:05 user2 With these permissions all the users can cd to the other accounts and see what they have. I really don't see this as a problem as everything there will be accessable via the web anyways. change the permissions as you see fit. Now they can ftp in and put stuff in thier own directories (but not others). I made the /webftp/web dir for the users home dirs and added a index.html to /webftp/web to include a listing of all the system users. One optional thing i did was to make a link: ln -s /webftp/web /home/www-data/web This was created so none of these users needed a public_html file. they just need to put thier files in thier home directories. The url would then be http://www.your.site/web/user1. No ~ is needed before user1. Hope this helps you out. -Rob -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .