my clients are getting services from servers but how to
know which client is using which service. is there any
files to keep information about these? clients used ftp,
nis, samba, apache, squid, nfs and mail services how to
know how many users got service from server side with
date,time and client system ip ?

Answer Posted / rahul wandile

Checking the logs is a good idea always.
Now for which server we need to check should be clear.
mail server --> /var/log/mail/maillog [RedHat,centos]
ssh --> /var/log/secure
apache --> /var/log/http/access.log
nfs alrady told also check in /var/log/ folder
samba and nis dont know excatly.

Also check the syslog level and the perticular server log
informations.[Eg: Tomcat keeps log in
$CATALINA_HOME/log/catalina.out which if different then
linux logs]

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What language is clang written in?

483


You are required to restore the file memo.ben. It was backed up in the tar file MyBackup.tar. Which command would you use to do it?

527


What is the command can be run to remove all the rules in an iptable table?

573


What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?

604


What is the command to delete a file linux?

520






What can you tell about the tar command?

567


What is makefile in unix?

536


Which command is used to compare the files?

490


How do I change directories in linux command line?

471


What is $@ in bash?

542


What is apple llvm?

534


What does execute mean in linux?

539


What does chmod 666 do?

531


What does the command env do?

535


How many interfaces(ethernet cards) are working using single command?

524