This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Installation and Upgrades / Re: Install ProFTPd with LDAP User Authentication
« on: June 24, 2009, 01:56:20 pm »
Something which might help others later down the line:
I had a situation where i wanted to give access to the whole system for some users, but only one folder for other users... This wasn't as hard as I taught with a little googling... What you can do is make different groups in ebox. I made one called "world" and one called "all". Then in the proftpd.conf you can change the defaultRoot to something like this:
That means that everyone who isn't (the ! acts as a "IS NOT MEMBER OF" check) a member of the "world" group (ie, the "all" group, if you don't have members in both one and another) will be rooted to the /home/samba directory, but users of the world group will be rooted to /home/samba/shares/world.
You can read more (including how to do it with 3 places) here.
I had a situation where i wanted to give access to the whole system for some users, but only one folder for other users... This wasn't as hard as I taught with a little googling... What you can do is make different groups in ebox. I made one called "world" and one called "all". Then in the proftpd.conf you can change the defaultRoot to something like this:
Code: [Select]
DefaultRoot /home/samba !world
DefaultRoot /home/samba/shares/world world
That means that everyone who isn't (the ! acts as a "IS NOT MEMBER OF" check) a member of the "world" group (ie, the "all" group, if you don't have members in both one and another) will be rooted to the /home/samba directory, but users of the world group will be rooted to /home/samba/shares/world.
You can read more (including how to do it with 3 places) here.
2
Installation and Upgrades / Re: Install ProFTPd with LDAP User Authentication
« on: June 24, 2009, 01:11:44 pm »
Minor thing: in step 7 it should be /etc/proftpd/modules.conf
And if you're running ubuntu 8.10, it's proftpd-mod-ldap you need to install, in case someone else wants to try it out on intrepid
And if you're running ubuntu 8.10, it's proftpd-mod-ldap you need to install, in case someone else wants to try it out on intrepid
Pages: [1]