Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. CarlPender

    Allowing "at" usage without /etc/at.allow file

    I have no /etc/at.allow file but I have an /etc/at.deny file which looks like this: alias backup bin daemon ftp games gnats guest irc lp mail man nobody operator proxy qmaild qmaill qmailp qmailq qmailr qmails sync sys www-data I want to allow the user cpender to be able to use at. How do I do...
  2. CarlPender

    One problem solved, another one arr

    Thanks for that! I'm sorry about this but I dont really understand what the program is actually doing or how to call it. Also how do you vary fo different intervals? How do I call my scripts with this program?
  3. CarlPender

    One problem solved, another one arr

    One problem solved, another one arrives.......... I have a Suse 7.3 Linux PC acting as a gateway for a wireless network. I have a script to allows users onto the network depending on their MAC addresses and another to stop them having access to the network. What I want to do is let them onto...
  4. CarlPender

    Piping parameters to awk

    I got it working. I used: sudo awk '{if ($1 == "'"$ip_address"'") print $3}' /usr/local/apache/logs/users.txt | /usr/local/apache/cgi-bin/add Thanks very much guys you've been extremely helpful and I really appreciate you trying to help me. Thanks again Carl
  5. CarlPender

    Piping parameters to awk

    if I use this script: #!/bin/bash read ip_address sudo arp > /usr/local/apache/logs/users.txt sudo awk -v awkAddr=$ip_address '{if ($1 == "awkAddr") print $3}' /usr/local/apache/logs/users.txt I call it using a script called test which pipes an IP address to the script. When I...
  6. CarlPender

    Piping parameters to awk

    Yeah they both work, so I can see why the other scripts dont work. Thanks
  7. CarlPender

    Piping parameters to awk

    I'm not using Solaris, I'm using Suse Linux 7.3
  8. CarlPender

    Piping parameters to awk

    No I not using Solaris, I'm using Suse Linux 7.3
  9. CarlPender

    Piping parameters to awk

    Yeah I did but for some reason it doesn't work
  10. CarlPender

    Piping parameters to awk

    I'm not running this command on my sctual web page, I'm calling it from the script from the web page. The IP address is being sent from the sgi script to the script with the awk line in it so it's not one of the environmental variables
  11. CarlPender

    Piping parameters to awk

    No that doesn't seem to work either. I'm getting a lot of errors in my error log file but one of is: sudo: nawk: command not found what is nawk?
  12. CarlPender

    Piping parameters to awk

    Hi, I have a Suse7.3 Linux PC acting as a gateway with an APache server running. I have a web site set up and what I want to do is allow only certain MAC addresses onto the network as I choose. I have a script that adds certain MAC addresses onto the network which works perfectly if I type the...

Part and Inventory Search

Back
Top