Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Jemand
Monday, September 10th, 2007 at 12:04:31pm UTC 

  1. root@mcs5 # mv /usr/local/nagios/libexec/solaris/checkcron
  2. /usr/local/nagios/libexec/solaris/fuckyou 
  3. root@mcs5 # /usr/local/nagios/libexec/solaris/fuckyou
  4. not running
  5. root@mcs5 # cat /usr/local/nagios/libexec/solaris/fuckyou
  6. #!/bin/sh
  7. ps -ef|grep cron
  8. if [ "$?" != "0" ] ; then
  9. echo "not running"
  10. else
  11. echo "running"
  12. fi
  13. root@mcs5 # mv /usr/local/nagios/libexec/solaris/fuckyou
  14. /usr/local/nagios/libexec/solaris/crontest
  15. root@mcs5 # /usr/local/nagios/libexec/solaris/crontest
  16.     root  9215  5055  0 13:43:25 pts/1    0:00 /bin/sh
  17. /usr/local/nagios/libexec/solaris/crontest
  18.     root  9216  9215  0 13:43:25 pts/1    0:00 /bin/sh
  19. /usr/local/nagios/libexec/solaris/crontest
  20. running

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right