>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

Easy. Create a group called guest. Than make the user a member of that group
(That means, the group the user belongs to).

Then edit your /etc/ftpaccess and add the following :

guestgroup guest

The useraccount is now threatet as anonymous.


Igmar




-- 
  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.

Reply via email to