[pca] PCA Forum Link - And question about PCA
McGranahan, Jamen
jamen.mcgranahan at Vanderbilt.Edu
Mon Dec 1 15:47:13 CET 2008
Well, I made the suggested change to syslog.conf to record *.info files,
but when I ran pca.pl today and installed 3 patches, I did not get a
local0.info file as I had expected. Any ideas and/or other suggestions?
Thank you for your time!
Jamen McGranahan
Systems Services Librarian
Vanderbilt University
-----Original Message-----
From: pca-bounces at lists.univie.ac.at
[mailto:pca-bounces at lists.univie.ac.at] On Behalf Of French, David
Sent: Wednesday, November 26, 2008 3:15 PM
To: PCA (Patch Check Advanced) Discussion
Subject: Re: [pca] PCA Forum Link - And question about PCA
The syslog option logs at ____.info. So when you used local0, it logs
to local0.info, so you need to make sure your /etc/syslog.conf is
logging info level alerts to your file. I can't remember what the
default is, but I don't think *.info levels get logged outside of
auth.info.
As for the password, your best bet is to use the pca.conf file. It can
be /etc/pca.conf, ../etc/pca.conf (from executable), ~/.pca or
./pca.conf. You can put the command line args in there minus the '--'.
For example you would have a pca.conf like so:
syslog=local0
user=your_account
passwd=your_password
If you are running from a specific location, it is easiest to have
pca.conf in the same dir as pca or use ~/.pca. Otherwise, if it is
installed, the /etc or ../etc options are good.
The pca.conf file is described in the man page, which you can get with:
pca.pl --man
Hope this helps,
--Dave
> -----Original Message-----
> From: pca-bounces at lists.univie.ac.at
> [mailto:pca-bounces at lists.univie.ac.at] On Behalf Of McGranahan, Jamen
> Sent: Wednesday, November 26, 2008 12:45 PM
> To: PCA (Patch Check Advanced) Discussion
> Subject: Re: [pca] PCA Forum Link - And question about PCA
>
> I figured out my 403 error (didn't have a contract connected to my Sun
> acct) and have resolved that issue. I do have another
> question, though:
> I want the system to keep a log of patches that have been
> installed, and I thought I could use the syslog variable, but
> I'm not seeing any information in the log. This is how I am
> running it currently (from command line):
>
> pca.pl -x -i --user=xxxxx --passwd=xxxx --syslog=local0
>
> I've also tried this method:
>
> pca.pl -x -i --user=xxxxx --passwd=xxxx --syslog=user
>
> And a second question, I tried inputting the user/passwd
> variables in the perl script itself, but it is not
> registering them and I'm not sure why. The lines I have tried
> to modify are as follows (in the my @options
> section):
>
> "user||s|xxxxx||Sun Online Account user name",
> "passwd||s|xxxxx||Sun Online Account password",
>
> Please advise. Thank you!
>
> Jamen McGranahan
> Systems Services Librarian
> Vanderbilt University
>
>
>
More information about the pca
mailing list