LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   about lpr command and source ip of lpr command (https://www.linuxquestions.org/questions/linux-newbie-8/about-lpr-command-and-source-ip-of-lpr-command-545095/)

Fond_of_Opensource 04-11-2007 07:25 AM

about lpr command and source ip of lpr command
 
hi all,

I use lpr command on redhat-9 system. There is a CUPS system on LAN network. How can I know the IP address of the computer-system that issued the lpr command?

please reply.

Thanks in Advance.

ZAMO 04-11-2007 07:35 AM

Hi,

You can look into the log files for this /var/log/cups/access.log(use grep). And i think lpr can be executed only by the root or the user ,who set the print job using lp.


All times are GMT -5. The time now is 10:36 PM.