Sponsored Content
Top Forums Shell Programming and Scripting To find the publisher of file Post 302414285 by bakunin on Monday 19th of April 2010 06:12:48 PM
Old 04-19-2010
Quote:
Originally Posted by ssachins
Is there any way to find out who (from which server) is publishing the file?
Use "ls -l <filename>" to find out which user/group the file belongs to. Then try the following:

Have a look in the crontab of this user and the root user, maybe the file is not "pushed" to the server, but "pulled". ("su" to the user and issue "crontab -l").

If you are using ssh/scp to connect between servers have a look in the users "authorized_keys" file (usually located in "~/.ssh", depending on ssh-configuration) and investigate the user/host combinations mentioned there. Check the crontabs of these users on the remote hosts too.

Set up "tcpdump" (read the manpage carefully, it can produce awful lots of output) to trace the incoming connection sending the file to its originating host, then investigate on this remote host. Start with the time around the timestamp of the file, probably its being sent every day at the same time.

I hope this helps.

bakunin
 

We Also Found This Discussion For You

1. Solaris

Solaris 11 - custom publisher IPS

Hi all, we are starting to build some basic infrastructure for using solaris 11. I have built an IPS of solaris packages from the DVD images. what I want to do next is create a repository of custom packages. so in that case I want a publisher of "my-company-name" and not solaris. can... (1 Reply)
Discussion started by: robsonde
1 Replies
PQLIST(1)							      pqlist								 PQLIST(1)

NAME
pqlist - List available NetWare print queues SYNOPSIS
pqlist [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ] [ pattern ] DESCRIPTION
pqlist lists all the NetWare print queues available to you on some server. If you are already connected to some server, this one is used. If pqlist does not print to a tty, the decorative header line is not printed, so that you can count the printing queue available on your server by doing pqlist -S server | wc -l pqlist looks up the file $HOME/.nwclient to find a file server, a user name and possibly a password. See nwclient(5) for more information. Please note that the access permissions of .nwclient MUST be 600, for security reasons. OPTIONS
pattern pattern is used to list only selected queues. You can use wildcards in the pattern, but you have to be careful to prevent shell inter- pretation of wildcards like '*'. -h -h is used to print out a short help text. -S server server is the name of the server you want to use. -U user name If the user name your NetWare administrator gave to you differs from your unix user-id, you should use -U to tell the server about your NetWare user name. -P password You may want to give the password required by the server on the command line. You should be careful about using passwords in scripts. -n -n should be given to mount shares which do not require a password to log in. If neither -n nor -P are given, pqlist prompts for a password. -C By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off this conversion by -C. SEE ALSO
nwclient(5), nprint(1), slist(1), ncpmount(8), ncpumount(8) CREDITS
pqlist was written by Volker Lendecke (lendecke@math.uni-goettingen.de) pqlist 01/10/1996 PQLIST(1)
All times are GMT -4. The time now is 05:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy