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 bkrike 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: *

  • Users: linuxMaestro
  • Content: Threads
  • Order by date
  1. linuxMaestro

    Setting up RAID 1

    Hi, I got the XFX SyncRAID SR3100 raid controller card and want to set up RAID 1 with 2 SATA drives. How do I start? Do I install linux and make partitions on only one of the drives? Do I need partitions on both the drives? Are partitions mirrored automatically? Do I install linux on both...
  2. linuxMaestro

    Nameserver not resolving queries

    My nameserver wont resolve anything eventhough bind is running. Why wont it resolve anything? [root@dns2 root]# named-checkconf [root@dns2 root]# host aol.com localhost ;; connection timed out; no servers could be reached [root@dns2 root]# netstat -lntp Active Internet connections (only...
  3. linuxMaestro

    How do I cacluate days old in php?

    How do I cacluate days old in php? I tried: $born="2005-02-16"; $today=date("Y-m-d); $diff=$today-$born; But it gives 0 all the time.
  4. linuxMaestro

    What is the easiest way to change my root password across 10 servers?

    What is the easiest way to change my root password across 10 servers?
  5. linuxMaestro

    Getting sudo to not ask for a password

    I'm trying to get sudo to not ask for a password, I have # Cmnd alias specification Cmnd_Alias SUROOT = !/bin/su "", !/bin/su -, /bin/su - [a-z]*, /bin/su [a-z]*, !/bin/su root, !/bin/su - root, !/bin/su -[a-z$ Cmnd_Alias NOTROOT = /bin/cat /etc/sudoers # Defaults specification Defaults:ADMINS...
  6. linuxMaestro

    Regular expression problem.

    This matches everything after the from: /^From:(.*)/" Ex. "Name Here" <email@domain.com>" But I am trying to just match the email, I tried all of the following, but none work: /^From:(\<+.*+\>)/" /^From:+.*+(<+.*+>)/" /^From:+.*+(\<+.*+\>)/" /^From:+(.*+(\<+.*+\>))/" /^From:+(.*+\<+.*+\>)/"...
  7. linuxMaestro

    Is there a way to get sudo to not ask for a password?

    user111@server1 [/root]# sudo cat /etc/sudoers We trust you have received the usual lecture from the local System Administrator. It usually boils down to these two things: #1) Respect the privacy of others. #2) Think before you type. Password:
  8. linuxMaestro

    help with preg_match

    I am trying to parse the email address from the "From" head in an email using preg_match: From: "Tom" <tom@yahoo.com> I have this syntax but it is not matching it: if (preg_match("/^From: .* (<.*>))/", $lines[$i], $matches)) { What should the patten be? ("/^From: .* (<.*>))/",
  9. linuxMaestro

    When compiling a kernel what processor family do I choose for a Xeon p

    When compiling a kernel what processor family do I choose for a Xeon processor? There is not a chose for Xeon. ??????????????????????? Processor family ?????????????????????????? ? Use the arrow keys to navigate this window or press the hotkey of ...
  10. linuxMaestro

    How do I block AOL Instant Messanger Access for 1ip?

    How do I block AOL Instant Messanger Access for 1ip?
  11. linuxMaestro

    How do I AOL Instant Messanger Access for 1ip?

    How do I AOL Instant Messanger Access for 1ip?
  12. linuxMaestro

    unable to add users, Segmentation fault (core dumped)

    I am unable to add users root@101 [~]# useradd newuser1 Segmentation fault (core dumped) What could be causing this?
  13. linuxMaestro

    Problem with for command

    Why is this for command not displaying the ls -al? root@101 [/backup/backup]# locate ararabi.tar.gz /backup/backup/weekly/ararabi.tar.gz /backup/backup/monthly/ararabi.tar.gz root@101 [/backup/backup]# for i in `locate airarabi.tar.gz`;do `ls -al $i`;done; -bash: -rw-------: command not found...
  14. linuxMaestro

    How can I patch for the latest kernel exploit?

    How can I patch for the latest kernel exploit? http://isec.pl/vulnerabilities/isec-0021-uselib.txt It says it affects all kernel versions. Does it affects RHE/CentOS?
  15. linuxMaestro

    Restricting access to a directory to only a few IPs

    I'm trying to restrict access to a directory to only a few IPs, is this possible with a .htaccess file?
  16. linuxMaestro

    How can I convert date stamps into a readable format?

    How can I convert date stamps such as: 1049860800 1112331600 1049860800 1113451200 To a readable format such as: 01-01-2005
  17. linuxMaestro

    Question on 2 MX settings

    Which server will the mail goto first? # host -tmx domain.net domain.net mail is handled by 10 mail2.domain.net. domain.net mail is handled by 0 mail.domain.net.
  18. linuxMaestro

    Problem with AWK

    # awk '/([a-Z][0-9])*\@([a-Z][0-9])\.[a-z][a-z][a-z]?/' filename awk: cmd. line:1: fatal: Invalid range end: /[a-Z]*\@[a-Z]\.[a-z][a-z][a-z]?/ I am trying to get email addresses from file filename, what am I doing wrong? I have ([a-Z][0-9])* Match any number of letters or numbers \@ Before an...
  19. linuxMaestro

    How can i grep, sed, or awk hostnames form a fiile?

    I have a file that contains hostnames: cache-mtc-ad03.proxy.aol.com 0 6 0 0 0 0 - c175104.adsl.hansenet.de 0 88 85 11940960 1 1101887409 /members/archive/14-a6fn87xpan/vi/ cache-rtc-ac07.proxy.aol.com 0 20 18 1252115 0 0 - cache-dtc-ac02.proxy.aol.com 0 22 19 84487 3 1101942368...
  20. linuxMaestro

    netstat -lntp not displaying process numbers or service names

    Server A tcp 0 0 0.0.0.0:2082 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:2083 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:2084...

Part and Inventory Search

Back
Top