1834093 Members
2333 Online
110063 Solutions
New Discussion

Re: ananymous ftp user

 
bachi
Occasional Advisor

ananymous ftp user

Hi,

how can i find ananymous users logged in a server and how can i find ananymous ftp users in server. OS version 11.23. please help some one on this issue.

Thanks,
Balaji.
3 REPLIES 3
Steven Schweda
Honored Contributor

Re: ananymous ftp user

What is an anonymous user logged into a
server? If the user is anonymous, how did he
get logged in?

> [...] how can i find ananymous ftp users
> in server [...]

Do you wish to find the users, or the number
of such users, or what?

> OS version 11.23.

That's a start. What are you using as the
FTP server? ("man ftpd"?)

You can normally find FTP connections (of all
types) by searching "netstat -an" output for
port 21. For example:

tcp 0 0 15.170.178.192.21 209.98.249.184.15736 ESTABLISHED

"man ftpaccess" shows how to limit the number
of users of various classes ("limit"), and
how to control the logging facility ("log").

Is there some actual problem which you are
trying to solve?
Deepak Kr
Respected Contributor

Re: ananymous ftp user

Try:

netstat -a |grep 21

All Ftp connections

Also

pwget -n ananymous

grep -i ananymous /etc/passwd

Refer to ftpaccess man pages for more info.


Regds,
Deepak

"There is always some scope for improvement"
Steven Schweda
Honored Contributor

Re: ananymous ftp user

> netstat -a |grep 21

That's a bit broad, isn't it? I'd search for
something more like ".21 ". Or don't you
ever see IP addresses like "221.212.121.21"?