9 More Discussions You Might Find Interesting
1. Red Hat
Hi
In opensuse we have this nice version control variable I use much when designing rpm spec files:
rpm --showrc | grep suse_version
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1700
-14: suse_version 1140But I do not find anything close to this in rhel/centos
The only way... (0 Replies)
Discussion started by: mortenb
0 Replies
2. UNIX for Dummies Questions & Answers
Hi How would i get xconsole of redhat5 linux machine.
Following is the distribution detail.
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.5... (1 Reply)
Discussion started by: pinga123
1 Replies
3. Red Hat
hi ,
Can anybody please let me know the difference in the version of RedHat linux 5.2 and 9.0.
Will there be any difference if i execute the script in RedHat linux 9.0 insead of RedHat linux 5.2?
Thanks in Advance. (7 Replies)
Discussion started by: flamingo_l
7 Replies
4. Red Hat
Hi,
I would like to know if should i patch my system and sshd based on the version that i have here below:
cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
------------
uname -a: redhat kernel version and type (64-bit or not)
Linux server2 2.6.9-55.ELsmp... (2 Replies)
Discussion started by: lamoul
2 Replies
5. UNIX for Advanced & Expert Users
How can I find out with a C program, on which RedHat version the program is being ran ? I do know through compilation variables that I'm on RedHat but so far cannot find out which one.
Currently the closest I got was to invoke an ls or cat through syscall for the release or motd files.
... (5 Replies)
Discussion started by: amirvosko
5 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I need to know RedHat linux version installed on a different servers.
I know uname -a or /proc/version
Is any other command to know the Linux version????
When we telnet to any of the Linux server, the version shows very clearly like
Red Hat Enterprise Linux ES release 3 (Taroon... (1 Reply)
Discussion started by: bache_gowda
1 Replies
7. Linux Benchmarks
==============================================================
BYTE UNIX Benchmarks (Version 3.11)
System -- Linux linux.hhc.ac.uk 2.6.9-11.ELsmp #1 SMP Fri May 20 18:26:27 EDT 2005 i686 i686 i386 GNU/Linux
Start Benchmark Run: Wed Jul 6 15:06:07 BST 2005
1 interactive users.... (2 Replies)
Discussion started by: Garp
2 Replies
8. Linux
I just purchased a Linksys WPC11 Version 4 wireless PCMCIA card, and am looking for the device driver for it.
Apparently, as opposed to Version 1-4, it uses a RealTek 8180 chipset. However, the kernel module which Linksys released does not work on any other distribution EXCEPT for Redhat Linux.... (0 Replies)
Discussion started by: Farhan
0 Replies
9. UNIX for Dummies Questions & Answers
Guys
How do i know the version of linux (Redhat) on one of our systems..Thanks in advance..The uname -r gives 2.4.18-0.13..Is it the kernel version (3 Replies)
Discussion started by: sssow
3 Replies
scap-as-rpm(8) System Administration Utilities scap-as-rpm(8)
NAME
scap-as-rpm - manual page for scap-as-rpm
DESCRIPTION
usage: scap-as-rpm [-h] [--pkg-name PKG_NAME] [--pkg-version PKG_VERSION]
[--pkg-release PKG_RELEASE] [--pkg-summary PKG_SUMMARY] [--pkg-license PKG_LICENSE] [--pkg-scap-location PKG_SCAP_LOCATION]
[--rpm-destination RPM_DESTINATION] [--srpm-destination SRPM_DESTINATION] FILE [FILE ...]
Takes given SCAP input(s) and makes an RPM package that contains them. The result RPM can be installed using # yum install ./pack-
age-name-1-1.rpm which will put the contents into /usr/share/xml/scap. No dependency on openscap or scapworkbench is enforced in the output
package so you can use any SCAP-capable scanner to evaluate the content.
positional arguments:
FILE List of files that should be put into the result package. These should be SCAP XML files but such requirement is not enforced.
optional arguments:
-h, --help
show this help message and exit
--pkg-name PKG_NAME
Name of the RPM package, if none is provided the basename of the first SCAP input is used. Ex.: xyzsecurity-guide
--pkg-version PKG_VERSION
--pkg-release PKG_RELEASE
--pkg-summary PKG_SUMMARY
Optional short description of the package.
--pkg-license PKG_LICENSE
Short name of the license that you want to publish the package under. Ex.: GPLv2+, BSD, ...
--pkg-scap-location PKG_SCAP_LOCATION
Folder where SCAP files are supposed to be installed. Each package will have its own folder inside this folder. RPM variables can
be used and will be expanded as usual. It is recommended to keep the default settings.
--rpm-destination RPM_DESTINATION
The folder (absolute or relative to CWD) where the result RPM shall be saved.
--srpm-destination SRPM_DESTINATION
The folder (absolute or relative to CWD) where the result SRPM shall be saved.
scap-as-rpm November 2013 scap-as-rpm(8)