How to disable anon-ftp on solaris clients

How to disable anon-ftp on solaris clients

Post by Rory Alexander Chisho » Sat, 05 Jul 1997 04:00:00



We have a number of workstations running ftpd and would like to disable
anonymous ftp on these (leaving normal ftp operational).

Now here is our problem:

We have an ~ftp account in the nis password file. This automatically enables
anon ftp on all the clients since ftp's home is also exported from the server.
Unlike irix, putting "ftp" in to /etc/ftpusers doesn't seem to disable ftp.

The following "solutions" are not an option:

- removing the "ftp" account from the nis-maps. Not possible because people
  are used to cd'ing to ~ftp to administer the packages they provide
- removing in.ftpd on the clients. For performance reasons it is important to
  be able to ftp to the clients direct.
- installing wu-ftpd on all the clients. To much effort for what I want.

Surely it must be possible to disable ftp on my clients even if an "ftp"
account exits. Thanks for any help,
                regards,
                        -- Rory Chisholm

 
 
 

How to disable anon-ftp on solaris clients

Post by Pierre Merl » Sat, 05 Jul 1997 04:00:00


Hi,

what shell did you use ?
something like /nosuchshell isn't it ?
just remove it from /etc/shells.

Pierre


> We have a number of workstations running ftpd and would like to disable
> anonymous ftp on these (leaving normal ftp operational).

> Now here is our problem:

> We have an ~ftp account in the nis password file. This automatically enables
> anon ftp on all the clients since ftp's home is also exported from the server.
> Unlike irix, putting "ftp" in to /etc/ftpusers doesn't seem to disable ftp.

> The following "solutions" are not an option:

> - removing the "ftp" account from the nis-maps. Not possible because people
>   are used to cd'ing to ~ftp to administer the packages they provide
> - removing in.ftpd on the clients. For performance reasons it is important to
>   be able to ftp to the clients direct.
> - installing wu-ftpd on all the clients. To much effort for what I want.

> Surely it must be possible to disable ftp on my clients even if an "ftp"
> account exits. Thanks for any help,
>                 regards,
>                         -- Rory Chisholm


 
 
 

1. Solaris 9 anon-ftp problems !

Hi there,

Have just attempted my first install and configure of a Sol 9 anon-ftp
server. Followed the instructions and ran the "ftpconfig" script which
handled the complete installation and setup.

Problem: I can log in to the server as anonymous but "ls -l" or "dir"
doesn't display a directory listing.

Question: What have I done wrong ?  What should I have done ?

Looking forward to any advice !

Best regards,

Hennie

2. Getting output on local terminal for rsh

3. anon-ftp problem

4. Programmer's challenge

5. How doe one configure messages for Anon-FTP?

6. Linux Ethernet HOWTO (part 1/3)

7. allowing anon-ftp to view (part of) fat32 partition

8. String replacements

9. Anon-ftp problems

10. anon-ftp -- static ls(1) replacement?

11. Anon-FTP problem solved

12. anon-ftp problem

13. This is the perfect anon-ftp script