There was a discussion about this on linux-isp I think. You need to add
the users to the ftpusers group (if you're running wuftpd, which I suspect
you are), which will then set them chroot'ed into their home directory.
the "/./" will no longer be needed. :)
D
On Wed, 20 May 1998 [EMAIL PROTECTED] wrote:
> Hi Linuxers
> need some help configuring an ftp-only account, no telnet
> capability on RH5.0
>
> I can get the ftp-only part working, but the user can still cd out of his
> home directory.
>
> What I'm trying to get is a /pub in the users home directory with access to
> all files below /pub, but not able to cd above /pub.
>
> I've tried adding the following in /etc/passwd:
>
> username:*****:510:510:FTP Account:/home/username/./pub:/bin/false
>
> ............ but the user can still cdup.
>
>
> Hope someone can help, this is driving me crazy.....
>
> Graham
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject.
>
======================================================================
Derek J. Balling | "Bill Gates is a monocle and a white
[EMAIL PROTECTED] | fluffy cat from being a villain in the
http://www.megacity.org/ | next Bond film." - Dennis Miller
======================================================================
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.