Re: [Proftpd-user] Add users limited to a specific directory SOLVED
Jason Hirsh via Proftp-user <[email protected]>
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
Great !! I completely overlooked that.. Thanks. That is EXACTLY what I needed Jason > On Jan 1, 2021, at 1:35 PM, Matus UHLAR - fantomas <[email protected]> wrote: > > On 01.01.21 12:17, Jason Hirsh via Proftp-user wrote: >> I guess I am just confused toe understand how ftp work on FreeBSD 12 >> >> I am trying ue ProFtp to control my FTP access. I went user to have access ONLY to their www directory > > use "DefaultRoot ~" directive. You can use it globally, but if you want some > users to access whole filesystem, you can use mod_ifsession and lock per > user/group >> I set this as home directory when I add the user to FreeBSD and assign them a rbash. shell >> >> I see no way to set users in Proftp. Or at last I do not understand it >> >> In my test case I created a user gave them a shell of rbash and set their home to their appropriate www directory where they have user and group access. >> >> Unfortunatlkey when they log one they can CD anywhere,,,\ > > -- > Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/ > Warning: I wish NOT to receive e-mail advertising to this address. > Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. > I wonder how much deeper the ocean would be without sponges. > > > _______________________________________________ > ProFTPD Users List <[email protected]> > Unsubscribe problems? > http://www.proftpd.org/list-unsub.html _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html