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 Chriss Miller 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: nix45
  • Content: Threads
  • Order by date
  1. nix45

    hide Firewall Client 2004 icon?

    Is it possible to hide the Firewall Client 2004 icon for all users? With the old 2000 client, you could just edit the registry at HKLM\Software\Microsoft\Firewall Client\HideIcon and that would do it. I don't see any values like that for the 2004 client. Thanks, Chris
  2. nix45

    myorigin doesn't work

    I've set up a bunch of Postfix servers in the past, but I have these two new Red Hat Enterprise Linux 3 AS servers running Postfix that don't use the "myorigin" parameter for some reason. mydomain = foo.com myhostname = mail.foo.com myorigin = $mydomain Whenever I send mail out from the...
  3. nix45

    Restoring to a Linux Server

    Backup Exec 9.1 running on Windows 2000 Server (SP4) I'm backing up multiple Linux servers every night without a problem, but I don't seem to be able to do any restores to the Linux servers anymore. All the Linux servers are Red Hat, ranging anywhere from Red Hat 7.2 to RHEL AS 3.0. I did...
  4. nix45

    SSL Error after upgrade to ICA 8.0 client

    MetaFrame XP FR3/SP3 Windows 2000 SP4 I updated the ICA Client Update Database with the newest ICA 8.0 clients for both Windows and Linux. After each home user is automatically upgraded to 8.0, they can no longer connect to any published apps via SSL over the internet. The published apps are...
  5. nix45

    format

    I'm having a trouble getting a table to print out correctly. Only the first line looks right, $hostname. After that, it just prints exactly as shown without interpolating the variables and actually prints the single quotes and commas I put around the words before it. Why is it only printing...
  6. nix45

    Terminal Services

    Does anyone know of any problems that I may run into if I install terminal services on an ISA 2000 server? I'm not looking to publish it through the firewall, I just want it available for internal use. Thanks, Chris
  7. nix45

    match users in /etc/shadow file

    I have a file called simply "users" with a list of usernames like this... jdoe cpurcell ltorvalds I want to compare this file to my /etc/shadow file and pull the entries out of the shadow file that match. For example, if my shadow file looked like this...
  8. nix45

    Linux CPU Utilization

    I need a simple script that will run periodically via cron that will record the CPU utilization percentage. I was going to use the vmstat command and grab the CPU idle time field and subtract that from 100, but on some servers it seems that the vmstat numbers are way off... @vmstat =...
  9. nix45

    emailing files with comma's in the name

    A few weeks ago, I posted a long, confusing script and asked why I couldn't email files that have comma's in the name. Nobody answered, so I wrote a shortened version of the script that only deals with the part I have a question on. When you run this script, it will email any files in...
  10. nix45

    Exchange mailbox error after username change

    A user recently changed their name from "Chris Jones" to "Christopher Jones". Ever since then, the Exchange mailbox backups fail with this error... Backup - \\EXSERVER\Microsoft Exchange Mailboxes Directory not found. Can not backup directory ?Jones, Chris [cjones] and its subdirectories...
  11. nix45

    automatically close command prompt window

    I wrote a Perl script that runs on a Winblows machine that creates an HTML file on the users local hard drive, and then launches their web browser at the end of the script opening the HTML page that was just created. When the script is run, a blank Windows command prompt window opens up and...
  12. nix45

    writing System V init scripts

    I'm writing a System V init script for a custom application. I'm basically just reverse engineering an existing script. I have a question on the Postfix init script on RHEL AS 3.0. I'm just using Postfix as an example, a lot of them do the same thing. I know Perl scripting much better than...
  13. nix45

    date manipulation

    I'm looking for a module that does date manipulation. If I do.... $date = localtime; ...I could easily write a regexp to format the date in any way I need, but I'd rather not re-invent the wheel if I don't have to. I need the date in this format....YYYYMMDD. Will the Date::Manip module do...
  14. nix45

    grep an array for an element

    I have two arrays like this... @a1 = qw/1 3 5 7 9 11 13/; @a2 = qw/1 2 3 4 5 6 7/; I want to find out which elements in @a2 are NOT in @a1. I've tried using both grep and exists but couldn't get either one working right. foreach $a2 (@a2) { @new = grep (!/$a2/, @a1); } print...
  15. nix45

    comparing arrays

    I'm having a lot of trouble with this one part my script. I have a script that reads the output of a command (on a Linux system) and does a regexp to sort each field into a variable. It then sends emails out if certain conditions are met (if the email address field exists and if the last field...
  16. nix45

    substr, modifying phone number

    I have a 7 digit phone number that I want to add a - to after the first 3 digits. I got it working, but there has to be a better and simpler way than this. $phone = '5551234'; $phone1 = substr($phone,0,3); $phone2 = substr($phone,3); $phone = $phone1 . '-' . $phone2; Thanks, Chris
  17. nix45

    pull an environment variable from a client

    I have a web server running Apache and I was wondering if I can pull a local environment variable from the connecting client machine (Windows). I want to pull this from the client --> $ENV{username}. Is this possible somehow? The username will then be entered into a CGI script that...
  18. nix45

    display X apps on remote X server

    I'm having a problem displaying X apps on a remote host. I've done this plenty of times before but for some reason I can't get it today, I must be forgetting something. On the remote host, I ran "xhost +" to allow everyone access to the X server over the network. On the host I want to run...
  19. nix45

    authenticate against Linux system accounts

    I want to have a login prompt on a website that authenticates against the local system accounts on a Linux server, meaning the /etc/passwd and /etc/shadow files. I assume it will have to use a PAM module for this. What is the best way of going about doing this? Thanks, Chris
  20. nix45

    unable to open the item...skipped

    Veritas Backup Exec 9.1 running on Win2K Server. I'm backing up a Red Hat Linux 7.2 server and get this error on about 5 files each night... Unable to open the item SERVERNAME/root\/path/to/file - skipped The rest of the backup is okay. Why are these files being skipped? Are they open files...

Part and Inventory Search

Back
Top