Setting up ftp server in Open Suse 10.2
I am running Open Suse 10.2 with two hard drives, one ide and the other sata. The ide has 4 partitions, one of which is full of my programs. This is mounted through the partition manager in Open Suse as say, /win/prg
I have now setup vsftpd and it now allows login remotely (It was pretty tough setting it up though, so that gives you an idea of my level of knowledge of Linux config files)
The problem is that when i login to my user account, say user1, i am taken to the /home/user1 directory. I want to set up the system so that when I login I can go to /win/prg. I am comfortable with setting up another user account if necessary, but I am not sure how to go about it.
I considered adding a user to the users file, with shell as bin/false and home directory as the /win/prg, but I am not sure if it would work. Also the /win/prg has been setup with 777 permissions (as a convenience of course, I know that from a security angle it sucks) but I want that for the user, say user1 or new user1 she should only be able to view and download the files, not make changes, and of course, the permissions should be recursive. Can anyone give me a pointer to solve this. I hope I am clear.
Thanks
__________________
Life is too short. Have fun.
|