Hi Friends,
I would like to block the root user for doing ftp. As I am aware that I need to put the entry for root in /etc/ftpusers.....am I right...??? But I am not able to edit the file & even more command is not working.
#ls -l ftp*
total 14
-rw-r--r-- 1 root sys 1249 Jun 23 2006 ftpaccess
-rw-r--r-- 1 root sys 551 Jun 23 2006 ftpconversions
-rw-r--r-- 1 root sys 104 Jun 23 2006 ftpgroups
-rw-r--r-- 1 root sys 108 Jun 23 2006 ftphosts
-rw-r--r-- 1 root sys 114 Jun 23 2006 ftpservers
-rw-r--r-- 1 root sys 186 Jul 19 2006 ftpusers
etc]# more ftpusers
ftpusers: No such file or directory
etc]# cat ftpusers
cat: cannot open ftpusers
Even when I try to vi this file, it opens the new file.
Can someone suggest me whats wrong.....???
Regards,
jumadhiya.