Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lock ftp directory



 Thanks. I found the solution and fixed it. Need to 
modify vsftpd.conf. 

--DP 
--- Kristian Erik Hermansen 
<[hidden email]> wrote: 

> On Wed, Apr 23, 2008 at 10:34 AM, Dave Peters 
> <[hidden email]> wrote: 
> >  I try to create a ftp user and lock the 
> directory. It 
> >  seems it didn't work because the user can go back 
> to 
> >  the upper level and we don't ftpuser can go back 
> to 
> >  the upper level. 
> >  Here is command: 
> > 
> >  # useradd -d /home/ftpuser1/ -s /dev/null 
> ftpuser1 > 
> >  /dev/null 2>&amp;1 
> > 
> >  edit /etc/passwd and add /./ 
> >  ftpuser1:x:513:513::/home/./ftpuser1/:/dev/null 
> > 
> >  Did I miss anything? 
> 
> Did you add this to the vsftpd config? 
> 
> passwd_chroot_enable=YES 
> -- 
> Kristian Erik Hermansen 
> -- 
> "Clever ones don't want the future told. They make 
> it." 
> 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org