More of a Perl programmer than HP-UX Sys Admin.
There are a few posts related to this, but, none of the answer work for me, yet.
I am in the situation of determining security compliance for a number of machines. The rule set I must check includes checking the environment variables for...
Unfortunately, in a situation where I cannot post the full code. So, I have to stick to sanitized examples and philosophy.
Windows 32bit perl running on Windows 2008 R2 (64bit). Nearly everything works, except....
#!perl
use strict;
use Win32::Lanman;
use Data::Dumper;
my $arrayRef = []...
I need to get the 'raw' context associated with a given selinuxsecuritycontext for a file or pid. You don't need to know what that means except that the only way I can find to get that info is via the system lib 'context_range_get'.
See "http://linux.die.net/man/3/context_range_get".
How do...
'Breaking a forum rule, here. I posted this in the Linux Server section, but, it is getting no attention. So, please pardon my lack of internet fora social grace as I re-post it, here.
I need to query the state(s) of the selinux booleans on a system. The 'getsebool' command appears to do...
I need to query the state(s) of the selinux booleans on a system. The 'getsebool' command appears to do the trick. However, on all the machines I have access to, I can't find an example of a 'pending' status, which appears to be a valid state. I have plenty of examples of 'active/inactive'...
man rpm says that I can use the --queryformat with the :xml arg to wrap the output of rpm in XML. I cannot find an example of the syntax.
Getting formats is pretty straight forward:
>rpm -qa -qf "%{NAME}\n"
But, how do I use the 'qf' functionality to tell it to wrap the output in XML, as it...
Is there no section of Mac OS X on Tek-Tips? There is a server version. Does it not make the grade to be in this section of TTs? Looked. Didn't see one. Anyway, here goes.
On Mac OS X, for a given process ID, what is the best/most direct way to determine the environment variables (e.g...
Hello All,
I'm trying to write a little code that determines the protocol being used by a given service that is running via xinetd.
I first look in the /etc/xinetd.d/-serviceName- files for an explicitly configured protocol. If not found, I check the main xinetd.conf file.
Frequently, there...
How can I tell if an installed Mac OS is a 'workstation' or 'server' flavor.
We have a few Mac Minis that could be either.
From what I can tell, the server version of the OS is identical to the workstation version with a few server admin tools and things like web servers added in. And...
Hello All,
Tried the search for this to no avail.
I am writing a Perl application that must report disks and partitions on Solaris 8, 9, and 10. I am familiar with the 'format' command and it provides all the info I need. However, it expects someone to interact with it to move through the...
Hello All,
'Working on a project that uses XML::LibXSLT. 'Creating a bundle with Activestate perlApp. We need our app to install and run on machines that may not have libxml2 and libxslt installed. Ergo, we want to compile OS specific versions of those libraries to be bundled with our...
'Working on an inherited object oriented Perl application. I can't post code, so I'll try to describe the situation. The application has about 70+ custom modules (classes). This application was developed on Windows and runs without complaint there. Recently, I've been tasked with making it...
hello all,
I don't know whether to put this in the Perl section or the VB section. I am trying to validate XML on the Windows platforms using OLE to talk to the MSXML libs. The sequence is:
1 - create a schemaCache object.
2 - populate that schemaCache w/ the necessary schemata.
3 - create...
Hello All,
A quick search turned up nothing. I'm a Perl programmer working with XML. I am working on an app that creates a large detailed XML file and I need to generate a second format from that larger/detailed file. We're already using XSLTs to create concise versions of the larger report...
Hello All,
I have inherited 14 linux and 2 HPUX production level machines in a testing environment. I need to be able to log into each of the 16 machines, launch a process to run in the background, and then return immediately while the program runs. The program takes 30-45 minutes to run...
Hello All,
I'm in a software testing chore and to perform the current test, I need to setup my Xserver to start with the '-s' switch. Right now, "ps -ef |grep 'X '" shows /usr/bin/X -br -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-2...
I need it to contain '-s 3', like:
/usr/bin/X -s 3 -br...
Hey Guys,
I've used CPAN for years and come upon a question. I'm in a new job and am behind a proxy server. I need to add two entries (ftp and http) to that proxy server to let traffic through to install Perl modules. The problem is that I don't know how to tell the CPAN module to use a...
Hello All,
'Long time member of the Perl and CGI fora with a new job that has more sys admin than Perl. I have two HP-UX 11.23 boxes. They are two boxes in a test lab and are not configured alike. The first, box1, has a tape, the second, box2, does not. I want to do the seemingly simple...
Hello All,
I find myself in a new job. Yea! But, am moving from what used to be Perl programming and database work back into sys admin stuff. It has been a few years. I tried the search fxn to no avail. And, 'sorry if this stuff is terribly newbish.
I have two HP Integrity rx2620 boxes...
Hello all.
New job. After getting laid off last month.....Yea! But, jumping into some stuff I've not done before. Also, while I wait for my new corporate IT to get me into this century, my best access to the web is via my PDA.
We have a redhat el 4 machine running virtul in vmware and have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.