Agora acho que vai!!!!

Leandro Leal


----- Original Message -----
From: Jean Everson Martina <[EMAIL PROTECTED]>
To: Fuser <[EMAIL PROTECTED]>
Cc: Leandro Leal - Lealsoftware <[EMAIL PROTECTED]>; Lista
Linux <[EMAIL PROTECTED]>
Sent: Saturday, January 19, 2002 1:27 PM
Subject: Re: (linux-br) Acesso ao FTP est� dano para ver outros diret�rios



direto da man do ftpaccess

 restricted-uid <uid-range> [...]

       restricted-gid <gid-range> [...]

       unrestricted-uid <uid-range> [...]

       unrestricted-gid <gid-range> [...]

            These clauses control whether or not  real  or  guest
            users will be allowed access to areas on the FTP site
            outside their home directories.  They are  not  meant
            to  replace  the  use  of  guestgroup  and guestuser.
            Instead, use these to  supplement  the  operation  of
            guests.   The  unrestricted-uid  and unrestricted-gid
            clauses may be used to allow users outside their home
            directories who would otherwise be restricted.

            An  example  of  the use of these clauses shows their
            intended use.  Assume user 'dick' has a  home  direc�
            tory /home/dick and 'jane' /home/jane:
                guest-root /home dick jane
                restricted-uid dick jane
            While  both dick and jane are chroot'd to /home, they
            cannot access each other's  files  because  they  are
            restricted to their home directories.

            Whereever  possible, in situations such as this exam�
            ple, try not to rely solely  upon  the  ftp  restric�
            tions.   As  with  all other ftp access rules, try to
            use directory and file permissions  to  backstop  the
            operation of the ftpaccess configuration.


On Sat, 19 Jan 2002, Fuser wrote:

> tamb�m estou com o mesmo problema e  uso o wu-ftp, e fiz o que vc falou
mas
> tb n�o deu certo.
> � s� colocar  o restricted-uin* no /etc/ftpaccess???
> ----- Original Message -----
> From: "Jean Everson Martina" <[EMAIL PROTECTED]>
> To: "Leandro Leal - Lealsoftware" <[EMAIL PROTECTED]>
> Cc: "Lista Linux" <[EMAIL PROTECTED]>
> Sent: Saturday, January 19, 2002 1:15 PM
> Subject: Re: (linux-br) Acesso ao FTP est� dano para ver outros diret�rios
>
>
> > Como eu fa�o para restringir ao usu�rio que acessou por ftp a ele ver
> apenas
> > seu diret�rio.
> >
> > Tem alguma configura��o a fazer?!
>
> se for o wuftpd, no /etc/ftpacces, coloque o seguinte:
>
> restricted-uid *

Abracos,

-------------------------------------------------------------------
|        Jean Everson Martina       |
|        Graduando em Ci�ncias da Computa��o   |
| Membro do Laborat�rio de Seguran�a em Computa��o   |
|        Athom Consulting Ltda - Diretor Tecnico   |
|        Faixa Preta 1o. Dan - Karate Shotokan   |
| Home-Pages: http://www.inf.ufsc.br/~everson   |
| http://www.athom.com.br   |
| NickName: ViRaK - UIN : 1743212 - Linux User #76191    |
-------------------------------------------------------------------
PGP fingerprint =  8A 97 F1 55 E2 34 CD 15  2F 4A 5E C4 F9 E5 6F 1B




Assinantes em 19/01/2002: 2239
Mensagens recebidas desde 07/01/1999: 151311
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista: 
            mailto:[EMAIL PROTECTED]

Responder a