Sponsored Content
Full Discussion: snmp linux win
Special Forums IP Networking snmp linux win Post 302274773 by fege on Thursday 8th of January 2009 10:35:07 AM
Old 01-08-2009
there was a firewall on windows Smilie
now i have make a simple script
Code:
echo "100"

i have change snmpd.conf

exec nOID /bin/sh path of my script

when i call snmpget on this oid return 100 but as string not as an integer, why?
 

9 More Discussions You Might Find Interesting

1. IP Networking

linux and win nt working together

I was wondering if anybody knew how to make linux and win nt and a novell server integrated there will be no workstations we are trying to get the servers together now we are currently working on Novel and NT and then we want to integrate the linux server into that. We know that we need Samba but... (3 Replies)
Discussion started by: linuxnewbie
3 Replies

2. UNIX for Dummies Questions & Answers

win and linux

Hello everyone I have two disks one with win2000 and the other I´m going to install mandrake10 . There is some way when Im finished to install mandrake when Im boot the machine I can make a selection or windows or linux. When I do this in a single disk I have no problem. but In this case... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

3. SuSE

writing on win ntfs partition from linux

Is it possible to save a file from linux environment to a windows ntfs partition? I use SUSE 8.3 and I can access win ntfs files only as read only. I want to know whether writing is possible on win ntfs partition. (2 Replies)
Discussion started by: suyashkunte
2 Replies

4. Linux

trying to map win xp machines in a linux

How do I map some winxp machines on a linux machine using samba? any help will be apreciated Thanks (3 Replies)
Discussion started by: raulb
3 Replies

5. UNIX for Advanced & Expert Users

run win app on Linux -performance issue

We develop software for diagnostic tools for cars. we a use a portable PC(x86) runs Win98 to run our applications. Hence the working environment in the company is Windows, specifically we use BASIC to develop the GUI, communication functions, DLL, etc. and run them on the Win98 PC. We suggested... (1 Reply)
Discussion started by: raedbenz
1 Replies

6. Red Hat

not large enough to display the application in red hat linux x win desktop

I use red hat linux es 5 I use startx to start the x-win desktop. But when I use vritual manager . The display application is too large so the bottom part for the application cannot show out. I cannot scroll down to get the display of bottm part . So, I do not know what button display at the... (0 Replies)
Discussion started by: chuikingman
0 Replies

7. Linux

Favorite Synchronizers for Win & Linux

I'm looking for a new file/directory synchronizer. I've been using unison because it works on both windows and linux. However, it often chokes on the very long directory paths and file names I encounter when backing up eclipse and eclipse workspace directories. I suppose one could argue that I... (2 Replies)
Discussion started by: siegfried
2 Replies

8. UNIX for Dummies Questions & Answers

Best way for central user managet UNIX/Linux/win?

Hey there, I want to centralize my user managet in the next days, at first i want only centralize the user from my local network and later also from my servers. So I started looking around what I could use for this and only found openLDAP. I want to manage users for linux, OSX and Windows (if... (3 Replies)
Discussion started by: dryPants
3 Replies

9. Fedora

Partitioning harddrive for installing Linux alongside win 7.

I'm planning on using two Linux OS's alongside win 7, one being Fedora KDE 30. So to prepare for the install I partitioned my harddrive using the Minitool Partition Wizard. I have a 320 GB hdd, so I nade one partiotion about 80 GB forFedora and then left about 70 GB as unused, to later... (2 Replies)
Discussion started by: AndersA
2 Replies
escape(1)							Mail Avenger 0.8.3							 escape(1)

NAME
escape - escape shell special characters in a string SYNOPSIS
escape string DESCRIPTION
escape prepends a "" character to all shell special characters in string, making it safe to compose a shell command with the result. EXAMPLES
The following is a contrived example showing how one can unintentionally end up executing the contents of a string: $ var='; echo gotcha!' $ eval echo hi $var hi gotcha! $ Using escape, one can avoid executing the contents of $var: $ eval echo hi `escape "$var"` hi ; echo gotcha! $ A less contrived example is passing arguments to Mail Avenger bodytest commands containing possibly unsafe environment variables. For example, you might write a hypothetical reject_bcc script to reject mail not explicitly addressed to the recipient: #!/bin/sh formail -x to -x cc -x resent-to -x resent-cc | fgrep "$1" > /dev/null && exit 0 echo "<$1>.. address does not accept blind carbon copies" exit 100 To invoke this script, passing it the recipient address as an argument, you would need to put the following in your Mail Avenger rcpt script: bodytest reject_bcc `escape "$RECIPIENT"` SEE ALSO
avenger(1), The Mail Avenger home page: <http://www.mailavenger.org/>. BUGS
escape is designed for the Bourne shell, which is what Mail Avenger scripts use. escape might or might not work with other shells. AUTHOR
David Mazieres Mail Avenger 0.8.3 2012-04-05 escape(1)
All times are GMT -4. The time now is 07:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy