how to deny ftp access

Hi ,
I want to deny ftp access to some user. Currently I don't have /etc/ftpusers file. From the man page , i can modify the login shell at /etc/passwd to invalid one. How to add it ? replaced with /dev/null or something. If you have any other method to disabled it . Pls show me.
My FTP is in.ftpd ( running with wrapper or somethin' ). Thanks!

The file is /etc/ftpd/ftpusers
add the user name in that file to deny access.
solris 10 - use "svcadm disable ftp"
solaris 9 and below - edit the /etc/inet/services and comment out the line with "ftp" on the first column

If you went to compleatly deny for the entire box
plz do the needful as mentioned below.

cd /etc
vi inetd.conf

# FTPD - FTP server daemon
#ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -a# SunVTS Daemon

thx bullz26, my typo err. should be /etc/inetd.conf and NOT /etc/inet/services

Thanks for all your help.

If you want to deny one machine

\# inetadm -p \(check it out tcp_wrappers if true or false if it false then        
   execute this cmd\)

\# inetadm -M tcp_wrappers=TRUE \(make it true\)

\#vi /etc/hosts.denyopen this file
    in.ftpd:<ip or hostname>

Can I deny based on user ?
Currently system do not have ftpusers file. Should I create it ?

Yes, you can try creating the file and input the userid that you wish to block

Hi incredible,
Created one with owner root:sys and permission 444 . Stilll not working. Do I need to restart ftp services ? ( i'm asking step by step , because it's on production environment ).

Hi Skully,
yes, you will need to stop/start ftp service.
Or you could stop/start the inetd daemon.

below commands works for me on production servers

#kill -HUP 180

180 is the inetd daemon process.