2018-03-01

Using Jumpcloud's LDAP-as-a-Service + Multi-Factor Authentication for SSH Login in Linux

I am doing a Proof-of-Concept for my personal project using Jumpcloud's LDAP-as-a-Service.  Hence it's free for 10 users.  In the long run, I plan to setup my home lab and create my virtual office in there.

  1. Spin a Linux virtual machine in Linode.
  2. Create an account in Jumpcloud.
  3. Enabled Multi-Factor Authentication (MFA) in emporium Linux system via Jumpcloud's portal.  In this case, I used Google Authenticator tool (that's why it asks for Verification code below upon login).
Here's the sample output of the setup I have done.  I will try to make it more detailed soon.


[mmond@nx03 ~]$ ssh michaelm@112.10.223.211
Verification code:
Password:
Last login: Thu Mar  1 08:30:24 2018

[michaelm@europium ~]$
[michaelm@europium ~]$ sudo su -
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.
[sudo] password for michaelm:
Last login: Thu Mar  1 08:17:22 UTC 2018 on pts/1

[root@europium ~]# ldapwhoami -H "ldaps://ldap.jumpcloud.com" -D "uid=michaelm,ou=Users,o=3367e67801a2368b19d42664,dc=jumpcloud,dc=com" -x -W
Enter LDAP Password:
dn:uid=michaelm,ou=Users,o=3367e67801a2368b19d42664,dc=jumpcloud,dc=com

2017-12-15

resize2fs: Operation not permitted While trying to add group

Recently, I encountered this problem when resizing an EXT4 file system in our NFS server.

# df -hT /export/rear
Filesystem           Type  Size  Used Avail Use% Mounted on
/dev/mapper/vgadm-lvrear
                     ext4  1.2T  1.2T   16M 100% /export/rear
# resize2fs /dev/mapper/vgadm-lvrear                           
resize2fs 1.41.12 (17-May-2010)
Filesystem at /dev/mapper/vgadm-lvrear is mounted on /export/rear; on-line resizing required
old desc_blocks = 74, new_desc_blocks = 108
Performing an on-line resize of /dev/mapper/vgadm-lvrear to 450920448 (4k) blocks.
resize2fs: Operation not permitted While trying to add group #9472

# dmesg
EXT4-fs warning (device dm-28): ext4_group_add: No reserved GDT blocks, can't resize
EXT4-fs warning (device dm-28): ext4_group_add: No reserved GDT blocks, can't resize

I followed this Redhat KB Article - https://access.redhat.com/solutions/88483

# tune2fs -O ^has_journal /dev/mapper/vgadm-lvrear
tune2fs 1.41.12 (17-May-2010)
The has_journal feature may only be cleared when the filesystem is
unmounted or mounted read-only.

# dumpe2fs /dev/mapper/vgadm-lvrear | grep -i features
dumpe2fs 1.41.12 (17-May-2010)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Journal features:         journal_incompat_revoke

So solution would be either:

  • Go and install XFS (need additional subscription as the system is RHEL 6.8)
  • Or recreate the file system but with additional parameters --resize=max-online-resize

Full explanation has been posted here as well.

Thus, it has been decided by our Platform Architect that it's okay to move to XFS instead.  So I needed to enable a subscription and went ahead installing XFS.

$ sudo subscription-manager repos --list | grep scalefs
$ sudo subscription-manager repos --enable=rhel-6.4-scalefs-server-for-rhs-2.1-rpms

Here's what I did.

$ sudo yum install xfsprogs xfsdump -y

I made a request of 2x1TB LUNs from our Storage Team and created a new volume group called vgrear.

$ sudo pvcreate /dev/mapper/3600601604bc03800c862f9bc0bdce711
$ sudo pvcreate /dev/mapper/3600601604bc03800c662f9bc0bdce711
$ sudo vgcreate vgrear /dev/mapper/3600601604bc03800c862f9bc0bdce711 /dev/mapper/3600601604bc03800c662f9bc0bdce711

Created the logical volume group and the new file system (/export/rear_new).

$ sudo mkfs.xfs /dev/vgrear/lvrear
meta-data=/dev/vgrear/lvrear     isize=256    agcount=4, agsize=134217216 blks
         =                       sectsz=512   attr=2, projid32bit=0
data     =                       bsize=4096   blocks=536868864, imaxpct=5
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal log           bsize=4096   blocks=262143, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

$ sudo mkdir /export/rear_new
$ sudo mount /dev/vgrear/lvrear /export/rear_new
$ df -hT /export/rear_new
Filesystem           Type  Size  Used Avail Use% Mounted on
/dev/mapper/vgrear-lvrear
                     xfs   2.0T   33M  2.0T   1% /export/rear_new

Afterwards, I did an rsync (copy/transfer of files) from /export/rear to /export/rear_new.  And did the un/export, un/re-mounting of the file systems (did an lsof to ensure nothing is using the files/folders).  I also modified the /etc/fstab to reflect the changes I made in the VG/LV.

$ sudo rsync -avP /export/rear/* /export/rear_new/
sending incremental file list
a.out
...
$ sudo lsof /export/rear_new/
$ sudo lsof /export/rear
$ sudo exportfs -u *:/export/rear
$ sudo umount /export/rear; sudo umount /export/rear_new
$ sudo vi /etc/fstab
$ cat /etc/fstab | grep rear
/dev/vgadm/lvrear               /export/rear_old        ext4    ro,data=ordered         0 0
/dev/vgrear/lvrear              /export/rear            xfs     defaults,nodev  0 0
$ sudo mv /export/rear /export/rear_old
$ sudo mv /export/rear_new /export/rear
$ ls -l /export/ | grep rear
drwxrwxrwx 220 root   root    8192 Dec 13 18:56 rear
drwxrwxrwx 221 root   root   12288 Dec 13 06:23 rear_old
$ sudo mount /dev/vgrear/lvrear /export/rear
$ sudo mount /dev/vgadm/lvrear /export/rear_old
$ df -hT | grep rear
/dev/mapper/vgrear-lvrear
                     xfs    2.0T 1021G  1.1T  50% /export/rear
/dev/mapper/vgadm-lvrear
                     ext4   1.2T  1.0T  143G  88% /export/rear_old

And tested the archived file system /export/rear_old, and now it is read-only mode.

$ sudo touch /export/rear_old/test.ro
touch: cannot touch `/export/rear_old/test.ro': Read-only file system

2017-11-21

AIX: How to UNZIP files

Today, I tried unzipping but it seems the tool isn't installed or possibly not included.  So this JAR utility seems to have the capability to extract/decompress .zip files.

# unzip -l 51050818_1.ZIP
ksh: unzip:  not found
# whereis unzip
unzip:
# ls -l /usr/java5/bin/jar
-r-xr-xr-x    1 bin      bin          120370 Oct 22 2015  /usr/java5/bin/jar
# /usr/java5/bin/jar -xvf 51050818_1.ZIP
extracted: CDLABEL.ASC
extracted: CDLABEL.EBC
 inflated: COPY_TM.HTM
 inflated: COPY_TM.TXT
  created: DATA_UNITS/
  created: DATA_UNITS/SL_CONTROLLER_742/
 inflated: DATA_UNITS/LABELIDX.ASC
 inflated: LABEL.ASC
 inflated: LABEL.EBC
extracted: LABELIDX.ASC
 inflated: MD5FILE.DAT
 inflated: MID.XML
 inflated: SHAFILE.DAT
 inflated: VERSION.ASC
 inflated: VERSION.EBC

2017-11-15

SLES: Checking release version and kernel

This can be done in various ways:

# uname -a
Linux hana01 3.0.101-0.47.71-default #1 SMP Thu Nov 12 12:22:22 UTC 2015 (b5b212e) x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3

# cat /etc/issue
Welcome to SLES for SAP Applications  11.3 (x86_64) - Kernel \r (\l).

Or if you want more information you may use Supportability Analysis Module (SAM).

# sam --no-rpm-verify --no-header-sig-check
Supportability Analysis Module 0.8.4
*** Report by 'sam --no-rpm-verify --no-header-sig-check'
*** Installed versions:
  suse-sam-data    0.8.4-0.5.2
  satsolver-tools  0.17.9-0.5.2
  suse-sam         0.8.4-0.7.1
  perl-satsolver   0.44.5-0.5.194
*** Installed products: 1 (known vendors: 1)
  System architecture: x86_64
  Baseproduct: SUSE_SLES_SAP.prod
  SUSE_SLES_SAP.prod:
    summary:       SLES for SAP Applications
    name version:  SUSE_SLES_SAP 11.3
    SP, release:   3 (none)
    arch:          x86_64
    repository:    obs://build.suse.de/SUSE:SLE-11-SP3:Update/standard
    repository:    obs://build.suse.de/SUSE:SLE-11-SP3:GA/standard
    repository:    obs://build.suse.de/SUSE:SLE-11-SP2:Update/standard
    repository:    obs://build.suse.de/SUSE:SLE-11-SP2:GA/standard
    repository:    obs://build.suse.de/SUSE:SLE-11-SP1:Update/standard
    repository:    obs://build.suse.de/SUSE:SLE-11-SP1:GA/standard
    repository:    obs://build.suse.de/SUSE:SLE-11:Update/standard
    repository:    obs://build.suse.de/SUSE:SLE-11:GA/standard
*** Found package repositories: 0 (reference 36, skipped 59, need refresh 0)
*** Considered packages:
    Packages belonging to defined products:  708
    Signed with accepted key:                not checked
    3rd party packages:                      172
    Skipped gpg-key packages:                10
*** Unsatisfied package dependencies: NOT CHECKED
*** SUSE/Novell packages depending on 3rd party packages: 489
*** Package version checks: all up to date
*** Modified filesystem objects: NOT CHECKED
*** Files not owned by any package: NOT CHECKED
*** Summary (see above or log for details):
  Product: SUSE_SLES_SAP 11.3 SP:3 release:(none) x86_64
Statistics:
    Total packages installed:                              890
    Packages signed by SUSE/Novell:                        880
    Packages matching installed products:                  708
    Packages not created by SUSE/Novell:                   172
    Unsupported SUSE/Novell packages:                      489
    File modifications:                                    (not checked)
    Unsatisfied dependencies:                              (not checked)
    SUSE/Novell packages depending on 3rd party packages:  489
    Updates needed:                                        0
    Files not belonging to a package:                      (not checked)
Status and recommendations:
  With a number of changes, your system can receive support from SUSE/Novell.
  In order to ensure supportability, please resolve the following item(s):
    - Package(s) not created by SUSE/Novell have been found:
        - ConsoleKit-0.2.10-64.69.1.x86_64
        - ConsoleKit-32bit-0.2.10-64.69.1.x86_64
        - ConsoleKit-x11-0.2.10-64.69.1.x86_64
        - HP-CNA-FC-Emulex-Enablement-Kit-6.4.19.2-1.sles11.x86_64
        - HP-CNA-FC-hpqlgc-Enablement-Kit-4.0.0.0-1.noarch
        - HP-HANA-Bundle-Release-2015.06-0.noarch
        - HPOvAgtLc-11.14.014-1.x86_64
        - HPOvBbc-11.14.014-1.x86_64
        - HPOvConf-11.14.014-1.x86_64
        - HPOvCtrl-11.14.014-1.x86_64
        - HPOvDepl-11.14.014-1.x86_64
        - HPOvEaAgt-11.14.014-1.x86_64
        - HPOvGlanc-11.14.014-1.x86_64
        - HPOvOpsAgt-11.11.025-1.x86_64
        - HPOvPacc-11.14.014-1.x86_64
        - HPOvPerfAgt-11.14.014-1.x86_64
        - HPOvPerfMI-11.14.014-1.x86_64
        - HPOvPerlA-5.08.096-1.x86_64
        - HPOvSecCC-11.14.014-1.x86_64
        - HPOvSecCo-11.14.014-1.x86_64
        - HPOvXpl-11.14.014-1.x86_64
        - HostExplorer-sles-2.1.1-0.i386
        - OB2-CORE-A.07.00-1.x86_64
        - OB2-DA-A.07.00-1.x86_64
        - QConvergeConsoleCLI-1.0.01-03.x86_64
        - SuSEfirewall2-3.6_SVNr208-2.11.1.noarch
        - VRTSnbcfg-7.7.3.0-1463709480.x86_64
        - VRTSnbclt-7.7.3.0-1463709612.x86_64
        - VRTSnbjava-7.7.3.0-1463709502.x86_64
        - VRTSnbjre-7.7.3.0-1463709482.x86_64
        - VRTSnbpck-7.7.3.0-1463709688.x86_64
        - VRTSpbx-1.5.40.12-12.x86_64
        - VRTSpddea-9.3.0.0-0014.x86_64
        - augeas-lenses-0.9.0-3.17.2.x86_64
        - autofs-5.0.6-3.10.20.1.x86_64
        - be2iscsi-kmp-default-4.9.311.4_3.0.76_0.11-1.sles11sp3.x86_64
        - be2net-kmp-default-4.9.311.1_3.0.76_0.11-1.sles11sp3.x86_64
        - bind-libs-9.9.6P1-0.15.1.x86_64
        - bind-utils-9.9.6P1-0.15.1.x86_64
        - biosdevname-0.5.0-27.8.x86_64
        - cciss-kmp-default-4.6.28-24.sles11sp3.x86_64
        - cfg2html-linux-2.42-1.noarch
        - collectl-3.6.0-3.noarch
        - collectl-utils-3.2.0-1.noarch
        - cpio-2.9-75.80.1.x86_64
        - cpio-lang-2.9-75.80.1.x86_64
        - dsh-0.22.0-8.9.x86_64
        - elx-lpfc-kmp-default-8.3.7.39_3.0.76_0.11-1.sles11sp3.x86_64
        - fibreutils-3.2-6.x86_64
        - gconf2-2.28.0-1.8.1.x86_64
        - gconf2-lang-2.28.0-1.8.1.x86_64
        - genisoimage-1.1.10-4.3.x86_64
        - gfxboot-branding-HP-1.0-1.noarch
        - glibc-2.11.3-17.95.2.x86_64
        - glibc-32bit-2.11.3-17.95.2.x86_64
        - glibc-devel-2.11.3-17.95.2.x86_64
        - glibc-html-2.11.3-17.95.2.x86_64
        - glibc-i18ndata-2.11.3-17.95.2.x86_64
        - glibc-info-2.11.3-17.95.2.x86_64
        - glibc-locale-2.11.3-17.95.2.x86_64
        - glibc-locale-32bit-2.11.3-17.95.2.x86_64
        - glibc-profile-2.11.3-17.95.2.x86_64
        - gtk2-2.18.9-0.35.1.x86_64
        - gtk2-lang-2.18.9-0.35.1.x86_64
        - hp-ams-2.1.1-1594.4.sles11.x86_64
        - hp-e1000e-kmp-default-2.5.7_3.0.76_0.11-4.sles11sp3.x86_64
        - hp-firmware-ilo4-2.10-1.1.i386
        - hp-firmware-nic-intel-1.7.7-1.1.x86_64
        - hp-firmware-smartarray-112204add8-2.40-1.1.x86_64
        - hp-firmware-system-p79-1.60_11_26_2014-1.1.i386
        - hp-hana-1.7-3.noarch
        - hp-health-10.10-1710.29.sles11.x86_64
        - hp-igb-kmp-default-5.0.7_3.0.76_0.11-4.sles11sp3.x86_64
        - hp-ixgbe-doc-3.11.33-1.x86_64
        - hp-ixgbe-kmp-default-3.11.33_3.0.101_0.29-1.x86_64
        - hp-nx_nic-tools-4.0.593-1.noarch
        - hp-ocsbbd-1.1.43.0-1.x86_64
        - hp-qlgc-docs-1.0.1-1.noarch
        - hp-qlgc-utils-1.0.2-1.noarch
        - hp-scripting-tools-9.60-39.sles11.x86_64
        - hp-smh-templates-10.1.0-1415.23.noarch
        - hp-snmp-agents-10.10-2732.26.sles11.x86_64
        - hp-tg3sd-1.0.12-1.x86_64
        - hpahcisr-kmp-default-1.2.6-17.sles11sp3.x86_64
        - hpdiags-10.26.1874-1773.x86_64
        - hpmouse-1.2.1-1.noarch
        - hponcfg-4.4.0-0.x86_64
        - hpqlgc-nx_nic-kmp-default-4.0.593_3.0.76_0.11-1.sles11sp3.x86_64
        - hpqlgc-qla2xxx-kmp-default-8.07.00.08.11.3_k_3.0.76_0.11-1.sles11sp3.x86_64
        - hpqlgc-qlcnic-kmp-default-5.0.29.5_3.0.76_0.11-3.sles11sp3.x86_64
        - hpsa-kmp-default-3.4.8-140.sles11sp3.x86_64
        - hpsmh-7.4.2-4.x86_64
        - hpssa-2.10-14.0.x86_64
        - hpssacli-2.10-14.0.x86_64
        - hpssaducli-1.60-17.0.x86_64
        - iperf-2.0.5-4.1.x86_64
        - ipmitool-1.8.12-0.23.1.x86_64
        - java-1_6_0-ibm-1.6.0_sr16.7-10.1.x86_64
        - java-1_6_0-ibm-fonts-1.6.0_sr16.7-10.1.x86_64
        - java-1_6_0-ibm-jdbc-1.6.0_sr16.7-10.1.x86_64
        - java-1_6_0-ibm-plugin-1.6.0_sr16.7-10.1.x86_64
        - kernel-bigsmp-devel-3.0.101-0.47.71.1.x86_64
        - kernel-default-3.0.101-0.47.71.1.x86_64
        - kernel-default-base-3.0.101-0.47.71.1.x86_64
        - kernel-default-devel-3.0.101-0.47.71.1.x86_64
        - kernel-source-3.0.101-0.47.71.1.x86_64
        - kernel-syms-3.0.101-0.47.71.1.x86_64
        - kernel-trace-devel-3.0.101-0.47.71.1.x86_64
        - kernel-xen-devel-3.0.101-0.47.71.1.x86_64
        - krb5-1.6.3-133.49.100.1.x86_64
        - krb5-32bit-1.6.3-133.49.100.1.x86_64
        - krb5-client-1.6.3-133.49.100.1.x86_64
        - ksh-93u-0.31.1.x86_64
        - libaugeas0-0.9.0-3.17.2.x86_64
        - libdshconfig-0.20.10-3.3.x86_64
        - libfreebl3-3.19.2.1-19.3.x86_64
        - libgcrypt11-1.5.0-0.19.1.x86_64
        - libgnutls26-2.4.1-24.39.57.1.x86_64
        - libldap-2_4-2-2.4.26-0.35.1.x86_64
        - libldap-2_4-2-32bit-2.4.26-0.35.1.x86_64
        - libopenssl0_9_8-0.9.8j-0.77.1.x86_64
        - libopenssl0_9_8-32bit-0.9.8j-0.77.1.x86_64
        - libpng12-0-1.2.31-5.35.1.x86_64
        - librsvg-2.26.0-2.5.1.x86_64
        - libsnmp15-5.4.2.1-8.12.24.1.x86_64
        - libsoftokn3-3.19.2.1-19.3.x86_64
        - libtalloc2-32bit-3.6.3-64.1.x86_64
        - libtdb1-32bit-3.6.3-64.1.x86_64
        - libtevent0-32bit-3.6.3-64.1.x86_64
        - libtiff3-3.8.2-141.160.1.x86_64
        - libudev0-147-0.104.1.x86_64
        - makedumpfile-1.5.1-0.17.1.x86_64
        - mkinitrd-2.4.2-94.2.x86_64
        - mozilla-nspr-4.10.10-16.1.x86_64
        - mozilla-nss-3.19.2.1-19.3.x86_64
        - mozilla-nss-tools-3.19.2.1-19.3.x86_64
        - net-snmp-5.4.2.1-8.12.24.1.x86_64
        - nscd-2.11.3-17.95.2.x86_64
        - openldap2-client-2.4.26-0.35.1.x86_64
        - openssh-6.2p2-0.21.1.x86_64
        - openssh-askpass-6.2p2-0.21.1.x86_64
        - openssl-0.9.8j-0.77.1.x86_64
        - pdsh-2.26-12.1.x86_64
        - perl-SNMP-5.4.2.1-8.12.24.1.x86_64
        - postfix-2.9.4-0.23.2.x86_64
        - rear-1.17.0-1.noarch
        - release-notes-sles-11.3.43-0.16.1.x86_64
        - rpcbind-0.1.6+git20080930-6.24.1.x86_64
        - rsh-0.17-706.22.1.x86_64
        - samba-client-32bit-3.6.3-64.1.x86_64
        - sapconf-3.1-8.1.x86_64
        - sax2-8.1-561.586.2.x86_64
        - sax2-ident-8.1-561.586.2.x86_64
        - sax2-libsax-8.1-561.586.2.x86_64
        - sax2-libsax-perl-8.1-561.586.2.x86_64
        - sax2-tools-8.1-561.586.2.x86_64
        - sed-4.1.5-85.32.1.x86_64
        - sg3_utils-1.35-0.19.1.x86_64
        - snmp-mibs-5.4.2.1-8.12.24.1.x86_64
        - sysconfig-0.71.61-0.15.1.x86_64
        - tg3-kmp-default-3.137e_3.0.76_0.11-3.sles11sp3.x86_64
        - timezone-2015g-0.11.1.x86_64
        - udev-147-0.104.1.x86_64
        - xorg-x11-7.4-9.63.3.1.x86_64
        - xorg-x11-Xvnc-7.4-27.111.1.x86_64
        - xorg-x11-driver-input-7.4-13.54.1.x86_64
        - xorg-x11-libX11-32bit-7.4-5.11.15.1.x86_64
        - xorg-x11-libX11-7.4-5.11.15.1.x86_64
        - xorg-x11-server-7.4-27.111.1.x86_64
        - xorg-x11-xauth-7.4-9.63.3.1.x86_64
        - yast2-2.17.135.2-9.2.x86_64
        - yast2-http-server-2.17.17-7.1.noarch
      These packages are not part of your SUSE/Novell product.
      SUSE/Novell support engineers might ask you to direct support requests to
      the manufacturer of these packages.
    - There are broken dependencies in SUSE/Novell packages:
        - DirectFB-1.2.3-6.32.x86_64
        - Mesa-9.0.3-0.28.29.2.x86_64
        - OpenIPMI-2.0.16-0.15.1.x86_64
        - PolicyKit-0.9-14.43.1.x86_64
        - aaa_base-11-6.99.100.1.x86_64
        - acl-2.2.47-30.36.1.x86_64
        - at-3.1.8-1069.22.22.1.x86_64
        - atk-1.28.0-1.4.1.x86_64
        - atk-lang-1.28.0-1.4.1.x86_64
        - attr-2.4.43-1.18.x86_64
        - audiofile-0.2.6-142.11.42.x86_64
        - audit-libs-1.8-0.30.1.x86_64
        - audit-libs-32bit-1.8-0.30.1.x86_64
        - autoyast2-installation-2.17.73-0.7.1.noarch
        - bash-3.2-147.22.1.x86_64
        - bc-1.06-838.15.x86_64
        - binutils-2.23.1-0.23.15.x86_64
        - bridge-utils-1.4-23.18.1.x86_64
        - bzip2-1.0.5-34.253.1.x86_64
        - cairo-1.8.8-2.1.48.x86_64
        - cifs-utils-5.1-0.11.1.x86_64
        - cim-schema-2.19.1-2.7.noarch
        - cmpi-bindings-pywbem-0.4.0-6.1.78.x86_64
        - cmpi-provider-register-1.0-2.14.noarch
        - cmpi-pywbem-base-0.2.0-2.27.noarch
        - coreutils-8.12-6.25.32.33.1.x86_64
        - cpp-4.3-62.200.2.x86_64
        - cpp43-4.3.4_20091019-0.37.30.x86_64
        - cracklib-2.8.12-56.9.9.x86_64
        - cracklib-32bit-2.8.12-56.9.9.x86_64
        - crash-6.0.7-0.16.1.x86_64
        - cron-4.1-194.211.213.1.x86_64
        - cryptsetup-1.0.5_SVNr46-58.37.3.x86_64
        - cups-client-1.3.9-8.46.56.1.x86_64
        - cups-libs-1.3.9-8.46.56.1.x86_64
        - curl-7.19.7-1.42.1.x86_64
        - cyrus-sasl-2.1.22-182.20.1.x86_64
        - cyrus-sasl-32bit-2.1.22-182.20.1.x86_64
        - dbus-1-1.2.10-3.31.1.x86_64
        - dbus-1-32bit-1.2.10-3.31.1.x86_64
        - dbus-1-glib-0.76-34.22.1.x86_64
        - dbus-1-python-0.83.0-27.1.43.x86_64
        - desktop-data-SLED-11-29.22.58.noarch
        - device-mapper-1.02.77-0.13.1.x86_64
        - dhcpcd-3.2.3-44.30.1.x86_64
        - diffutils-2.8.7-143.23.1.x86_64
        - dirmngr-1.0.2-1.19.x86_64
        - dmraid-1.0.0.rc16-0.12.1.x86_64
        - dosfstools-2.11-121.30.1.x86_64
        - e2fsprogs-1.41.9-2.10.11.1.x86_64
        - ed-0.2-1001.30.1.x86_64
        - efibootmgr-0.5.4-15.35.11.x86_64
        - elfutils-0.152-4.9.17.x86_64
        - ethtool-6.2.6.39-0.24.1.x86_64
        - expat-2.0.1-88.34.1.x86_64
        - facter-1.6.18-0.3.1.x86_64
        - file-4.24-43.27.1.x86_64
        - fillup-1.42-242.21.x86_64
        - findutils-4.4.0-38.26.1.x86_64
        - fontconfig-2.6.0-10.17.1.x86_64
        - fontconfig-32bit-2.6.0-10.17.1.x86_64
        - fonts-config-20080121-25.21.noarch
        - freetype-1.3.1-1390.29.x86_64
        - freetype2-2.3.7-25.35.36.1.x86_64
        - freetype2-32bit-2.3.7-25.35.36.1.x86_64
        - fribidi-0.10.9-57.22.x86_64
        - fuse-2.8.7-0.11.1.x86_64
        - gawk-3.1.8-2.6.1.x86_64
        - gcc43-4.3.4_20091019-0.37.30.x86_64
        - gdbm-1.8.3-371.83.x86_64
        - gettext-runtime-0.17-61.40.x86_64
        - gfxboot-4.1.32-0.7.11.x86_64
        - glib2-2.22.5-0.8.14.1.x86_64
        - glib2-lang-2.22.5-0.8.14.1.x86_64
        - gltt-2.5.2-704.28.x86_64
        - gmp-4.2.3-10.99.x86_64
        - gnome-desktop-2.28.2-0.6.18.x86_64
        - gnome-desktop-lang-2.28.2-0.6.18.x86_64
        - gnome-keyring-2.28.2-1.14.30.x86_64
        - gnome-keyring-lang-2.28.2-1.14.30.x86_64
        - gpart-0.1h-565.22.x86_64
        - gpg2-2.0.9-25.33.39.1.x86_64
        - gpg2-lang-2.0.9-25.33.39.1.x86_64
        - gpgme-1.1.6-25.32.1.x86_64
        - gpm-1.20.1-452.83.x86_64
        - grep-2.7-5.7.1.x86_64
        - groff-1.18.1.1-167.18.61.x86_64
        - grub-0.97-162.172.1.x86_64
        - grub2-x86_64-efi-2.00-0.47.1.x86_64
        - gtk2-engines-2.16.1-4.26.x86_64
        - gtk2-theme-SLED-11.1-1.29.82.noarch
        - gvfs-1.4.3-0.17.21.1.x86_64
        - gvfs-lang-1.4.3-0.17.21.1.x86_64
        - gzip-1.3.12-69.23.1.x86_64
        - hal-0.5.12-23.76.1.x86_64
        - haveged-1.3-0.6.1.x86_64
        - hdparm-9.27-1.6.39.x86_64
        - hunspell-1.2.7-1.16.x86_64
        - hwinfo-15.53-0.13.1.x86_64
        - icedax-1.1.8-3.32.3.x86_64
        - icewm-1.2.36-1.35.x86_64
        - icewm-lite-1.2.36-1.18.x86_64
        - info-4.12-1.86.x86_64
        - initviocons-0.5-55.21.x86_64
        - insserv-1.12.0-25.11.47.x86_64
        - iproute2-2.6.29.1-6.36.37.1.x86_64
        - iptables-1.4.6-2.13.3.2.x86_64
        - iputils-ss021109-292.28.1.x86_64
        - jpackage-utils-1.7.5-14.6.x86_64
        - kexec-tools-2.0.3-0.15.18.x86_64
        - keyutils-1.2-107.29.15.x86_64
        - keyutils-libs-1.2-107.29.15.x86_64
        - keyutils-libs-32bit-1.2-107.29.15.x86_64
        - klogd-1.4.1-708.44.32.x86_64
        - kpartx-0.4.9-0.105.1.x86_64
        - lcms-1.17-77.16.1.x86_64
        - less-424b-10.24.1.x86_64
        - libHBAAPI2-2.2.7-0.9.1.x86_64
        - libHX13-1.23-4.13.1.x86_64
        - libacl-2.2.47-30.36.1.x86_64
        - libaio-0.3.109-0.1.46.x86_64
        - libarchive2-2.5.5-5.19.x86_64
        - libasm1-0.152-4.9.17.x86_64
        - libasound2-1.0.18-16.24.1.x86_64
        - libatk-1_0-0-1.28.0-1.4.1.x86_64
        - libattr-2.4.43-1.18.x86_64
        - libavahi-client3-0.6.23-11.32.1.x86_64
        - libavahi-common3-0.6.23-11.32.1.x86_64
        - libavahi-glib1-0.6.23-13.32.1.x86_64
        - libblkid1-2.19.1-6.62.7.x86_64
        - libblocxx6-2.1.0.342-122.6.x86_64
        - libbluetooth3-4.99-0.7.91.x86_64
        - libboost_thread1_36_0-1.36.0-12.3.1.x86_64
        - libbtrfs0-0.20-0.39.1.x86_64
        - libbz2-1-1.0.5-34.253.1.x86_64
        - libcap2-2.11-2.17.1.x86_64
        - libcdio7-0.80-6.11.x86_64
        - libcdio_cdda0-0.80-6.11.x86_64
        - libcdio_paranoia0-0.80-6.11.x86_64
        - libcom_err2-1.41.9-2.10.11.1.x86_64
        - libcom_err2-32bit-1.41.9-2.10.11.1.x86_64
        - libcroco-0_6-3-0.6.1-120.16.x86_64
        - libcryptsetup0-1.0.5_SVNr46-58.37.3.x86_64
        - libcurl4-7.19.7-1.42.1.x86_64
        - libdb-4_5-32bit-4.5.20-95.39.x86_64
        - libdb-4_5-4.5.20-95.39.x86_64
        - libdrm-2.4.52-0.7.1.x86_64
        - libdw1-0.152-4.9.17.x86_64
        - libelf0-0.8.12-1.1.52.x86_64
        - libelf1-0.152-4.9.17.x86_64
        - libesd0-0.2.41-3.1.41.x86_64
        - libesmtp-1.0.4-157.15.1.x86_64
        - libevent-1_4-2-1.4.5-24.24.1.x86_64
        - libexif-0.6.17-2.14.1.x86_64
        - libexpat1-2.0.1-88.34.1.x86_64
        - libexpat1-32bit-2.0.1-88.34.1.x86_64
        - libext2fs2-1.41.9-2.10.11.1.x86_64
        - libfuse2-2.8.7-0.11.1.x86_64
        - libgcc43-4.6.9-0.13.22.x86_64
        - libgcc_s1-32bit-4.7.2_20130108-0.19.3.x86_64
        - libgcc_s1-4.8.3+r212056-2.17.x86_64
        - libgio-2_0-0-2.22.5-0.8.14.1.x86_64
        - libglib-2_0-0-2.22.5-0.8.14.1.x86_64
        - libgmodule-2_0-0-2.22.5-0.8.14.1.x86_64
        - libgnome-desktop-2-11-2.28.2-0.6.18.x86_64
        - libgnome-menu2-2.28.0.1-1.1.213.x86_64
        - libgnomesu-1.0.0-307.10.1.x86_64
        - libgnomesu-lang-1.0.0-307.10.1.x86_64
        - libgnomesu0-1.0.0-307.10.1.x86_64
        - libgobject-2_0-0-2.22.5-0.8.14.1.x86_64
        - libgomp1-4.7.2_20130108-0.19.3.x86_64
        - libgpg-error0-1.10-0.7.29.x86_64
        - libgpgme11-1.1.6-25.32.1.x86_64
        - libgphoto2-2.4.3-3.27.1.x86_64
        - libgphoto2-lang-2.4.3-3.27.1.x86_64
        - libgsf-1-114-1.14.9-2.27.x86_64
        - libgssglue1-0.1-20.2.1.x86_64
        - libgthread-2_0-0-2.22.5-0.8.14.1.x86_64
        - libgvfscommon0-1.4.3-0.17.21.1.x86_64
        - libidl-0.8.13-1.1.57.x86_64
        - libidn-1.10-3.18.x86_64
        - libiniparser0-2.17-87.17.x86_64
        - libiniparser0-32bit-2.17-87.17.x86_64
        - libjpeg-6.2.0-879.12.1.x86_64
        - libksba-1.0.4-1.18.1.x86_64
        - liblcms1-1.17-77.16.1.x86_64
        - libldapcpp1-0.3.0-0.9.29.x86_64
        - libldb1-3.6.3-0.58.1.x86_64
        - libltdl7-2.2.6-2.131.1.x86_64
        - liblzma5-5.0.3-0.12.1.x86_64
        - liblzo2-2-2.03-12.3.1.x86_64
        - libmng-1.0.10-46.18.x86_64
        - libmpfr1-2.3.2-3.118.1.x86_64
        - libmysqlclient_r15-5.0.96-0.8.8.1.x86_64
        - libncurses5-32bit-5.6-90.55.x86_64
        - libncurses5-5.6-90.55.x86_64
        - libncurses6-5.6-90.55.x86_64
        - libnet-1.1.2.1-140.24.1.x86_64
        - libnewt0_52-0.52.10-1.35.113.x86_64
        - libnl-1.1-49.22.6.1.x86_64
        - libnscd-2.0.2-73.18.x86_64
        - libnsssharedhelper0-1.0.10-0.7.33.x86_64
        - libnuma1-2.0.7-0.9.1.x86_64
        - libpcap0-0.9.8-50.10.1.x86_64
        - libpciaccess0-7.4_0.11.0-0.4.6.1.x86_64
        - libpixman-1-0-0.24.4-0.15.1.x86_64
        - libproxy0-0.3.1-2.6.1.x86_64
        - libpython2_6-1_0-2.6.9-0.35.1.x86_64
        - libpython2_6-1_0-32bit-2.6.9-0.35.1.x86_64
        - libqt4-4.6.3-5.34.2.x86_64
        - libqt4-qt3support-4.6.3-5.34.2.x86_64
        - libqt4-sql-4.6.3-5.34.2.x86_64
        - libqt4-x11-4.6.3-5.34.2.x86_64
        - libreadline5-5.2-147.22.1.x86_64
        - libreiserfs-0.3.0.5-143.3.x86_64
        - libsblim-cmpiutil1-1.0.1-2.15.x86_64
        - libselinux1-2.0.91-4.2.1.x86_64
        - libselinux1-32bit-2.0.91-4.2.1.x86_64
        - libsensors3-2.10.6-10.15.x86_64
        - libsensors4-3.3.0-2.7.13.x86_64
        - libsepol1-2.0.41-2.2.9.x86_64
        - libslab-lang-2.27.91-6.19.106.x86_64
        - libslab0-2.27.91-6.19.106.x86_64
        - libsmbclient0-3.6.3-0.58.1.x86_64
        - libsmbios2-2.0.2-11.8.4.x86_64
        - libsnapper2-0.1.2-0.17.1.x86_64
        - libsoup-2_4-1-2.32.2-4.13.1.x86_64
        - libsqlite3-0-3.7.6.3-1.4.4.1.x86_64
        - libssh2-1-1.2.9-4.2.4.1.x86_64
        - libstdc++43-32bit-4.6.9-0.13.22.x86_64
        - libstdc++6-32bit-4.7.2_20130108-0.19.3.x86_64
        - libstdc++6-4.8.3+r212056-2.17.x86_64
        - libstroke-0.5.1-207.20.x86_64
        - libtalloc2-3.6.3-0.58.1.x86_64
        - libtasn1-1.5-1.30.1.x86_64
        - libtasn1-3-1.5-1.30.1.x86_64
        - libtdb1-3.6.3-0.58.1.x86_64
        - libtevent0-3.6.3-0.58.1.x86_64
        - libtirpc1-0.2.1-1.7.1.x86_64
        - libunique-1_0-0-1.1.2-1.1.279.x86_64
        - libusb-0_1-4-0.1.12-139.1.1.x86_64
        - libusb-1_0-0-1.0.8-8.4.2.1.x86_64
        - libuuid1-2.19.1-6.62.7.x86_64
        - libuuid1-32bit-2.19.1-6.62.7.x86_64
        - libwbclient0-3.6.3-0.58.1.x86_64
        - libwbclient0-32bit-3.6.3-0.58.1.x86_64
        - libwsman1-2.2.3-0.8.1.x86_64
        - libx86-1.1-13.17.x86_64
        - libxcrypt-3.0.3-0.6.1.x86_64
        - libxcrypt-32bit-3.0.3-0.6.1.x86_64
        - libxml2-2.7.6-0.31.1.x86_64
        - libxml2-python-2.7.6-0.31.1.x86_64
        - libxslt-1.1.24-19.23.1.x86_64
        - libzio-0.9-5.77.x86_64
        - libzypp-9.38.8-0.7.1.x86_64
        - limal-1.5.3-0.2.11.x86_64
        - limal-ca-mgm-1.5.24-0.3.2.x86_64
        - limal-ca-mgm-perl-1.5.24-0.3.2.x86_64
        - limal-nfs-server-1.5.3-0.2.11.x86_64
        - limal-nfs-server-perl-1.5.3-0.2.11.x86_64
        - limal-perl-1.5.3-0.2.11.x86_64
        - linux-kernel-headers-2.6.32-1.15.1.noarch
        - login-3.41-0.4.2.x86_64
        - logrotate-3.7.7-10.30.1.x86_64
        - lsb-release-2.0-1.2.18.noarch
        - lsof-4.80-1.28.1.x86_64
        - lsscsi-0.23-0.12.1.x86_64
        - lvm2-2.02.98-0.33.1.x86_64
        - m4-1.4.12-1.19.x86_64
        - mailx-12.5-1.9.1.x86_64
        - make-3.81-128.20.x86_64
        - man-2.5.2-17.16.x86_64
        - mc-4.6.2.pre1-121.33.1.x86_64
        - mc-lang-4.6.2.pre1-121.33.1.x86_64
        - mdadm-3.2.6-0.23.1.x86_64
        - metamail-2.7.19-1244.20.x86_64
        - mingetty-1.0.7s-92.22.x86_64
        - module-init-tools-3.11.1-1.28.5.x86_64
        - mtools-3.9.11-165.31.x86_64
        - multipath-tools-0.4.9-0.105.1.x86_64
        - ncurses-utils-5.6-90.55.x86_64
        - net-tools-1.60-725.35.1.x86_64
        - netcfg-11.2-0.5.2.noarch
        - nfs-client-1.2.3-18.38.43.1.x86_64
        - nfsidmap-0.25-0.13.1.x86_64
        - ntfs-3g-2011.4.12-0.7.8.x86_64
        - openslp-1.2.0-172.24.1.x86_64
        - openssl-certs-1.97-0.3.1.noarch
        - orbit2-2.14.17-2.7.8.x86_64
        - pam-1.1.5-0.12.1.x86_64
        - pam-32bit-1.1.5-0.12.1.x86_64
        - pam-config-0.79-2.5.58.x86_64
        - pam-modules-11-1.22.1.x86_64
        - pam_mount-0.47-13.16.1.x86_64
        - pango-1.26.2-1.3.1.x86_64
        - parted-2.3-10.40.2.x86_64
        - patch-2.5.9-252.22.2.x86_64
        - pax-3.4-135.21.x86_64
        - pciutils-3.1.7-11.11.1.x86_64
        - pciutils-ids-2013.2.11-0.7.28.noarch
        - pcre-7.8-2.18.x86_64
        - perl-5.10.0-64.72.1.x86_64
        - perl-Bit-Vector-6.4-1.14.x86_64
        - perl-Bootloader-0.4.89.61-0.7.1.x86_64
        - perl-Carp-Clan-6.00-1.16.x86_64
        - perl-Config-Crontab-1.21-73.21.x86_64
        - perl-Config-IniFiles-2.39-1.24.1.x86_64
        - perl-Crypt-SmbHash-0.12-132.17.x86_64
        - perl-Date-Calc-5.4-137.14.x86_64
        - perl-Digest-HMAC-1.01-436.17.x86_64
        - perl-Digest-MD4-1.5-1.22.x86_64
        - perl-Digest-SHA1-2.11-1.22.x86_64
        - perl-HTML-Parser-3.56-1.18.1.x86_64
        - perl-HTML-Tagset-3.20-1.22.x86_64
        - perl-Module-Build-0.2808.01-0.72.1.x86_64
        - perl-NetxAP-0.02-604.22.x86_64
        - perl-Parse-RecDescent-1.96.0-1.22.x86_64
        - perl-TermReadKey-2.30-135.22.x86_64
        - perl-Test-Simple-0.72-0.72.1.x86_64
        - perl-TimeDate-1.16-71.22.x86_64
        - perl-URI-1.37-1.22.x86_64
        - perl-WWW-Curl-4.09-2.1.72.x86_64
        - perl-X500-DN-0.29-78.22.x86_64
        - perl-XML-LibXML-1.66-1.14.x86_64
        - perl-XML-LibXML-Common-0.13-70.7.x86_64
        - perl-XML-NamespaceSupport-1.09-1.22.x86_64
        - perl-XML-Parser-2.36-1.18.x86_64
        - perl-XML-SAX-0.96-2.7.x86_64
        - perl-XML-Simple-2.18-1.15.x86_64
        - perl-XML-Writer-0.604-2.10.x86_64
        - perl-XML-XPath-1.13-74.15.x86_64
        - perl-base-5.10.0-64.72.1.x86_64
        - perl-gettext-1.05-91.95.x86_64
        - perl-satsolver-0.44.5-0.5.194.x86_64
        - permissions-2013.1.7-0.3.1.x86_64
        - pesign-0.99-0.31.12.x86_64
        - pesign-obs-integration-10.0-0.22.1.x86_64
        - pinentry-0.7.5-61.33.1.x86_64
        - pkg-config-0.23-1.22.x86_64
        - pm-utils-0.99.4.20071229-12.14.1.x86_64
        - pmtools-20071116-44.33.1.x86_64
        - popt-1.7-37.63.64.1.x86_64
        - procmail-3.22-240.8.1.x86_64
        - procps-3.2.7-151.28.1.x86_64
        - psmisc-22.7-7.3.1.x86_64
        - pth-2.0.7-102.22.x86_64
        - pwdutils-3.2.15-0.13.1.x86_64
        - python-2.6.9-0.35.1.x86_64
        - python-argparse-1.2.1-2.5.65.x86_64
        - python-base-2.6.9-0.35.1.x86_64
        - python-m2crypto-0.21.1-2.4.1.x86_64
        - python-pywbem-0.7-6.22.1.x86_64
        - python-satsolver-0.44.5-0.5.194.x86_64
        - python-xml-2.6.9-0.35.1.x86_64
        - qt3-3.3.8b-88.21.x86_64
        - reiserfs-3.6.21-1.15.1.x86_64
        - rpm-4.4.2.3-37.63.64.1.x86_64
        - rpm-python-4.4.2.3-37.63.64.2.x86_64
        - rsync-3.0.4-2.47.28.x86_64
        - ruby-1.8.7.p357-0.9.17.1.x86_64
        - rzsz-0.12.20-934.22.x86_64
        - samba-client-3.6.3-0.58.1.x86_64
        - satsolver-tools-0.17.9-0.5.2.x86_64
        - sblim-cmpi-base-1.6.1-0.5.113.x86_64
        - sblim-indication_helper-0.4.2-129.17.x86_64
        - sblim-sfcb-1.3.11-0.23.2.x86_64
        - sblim-sfcc-2.2.1-0.4.6.x86_64
        - scout-0.1.0-29.9.29.x86_64
        - scpm-1.1.7-1.19.x86_64
        - setserial-2.17-716.22.x86_64
        - sharutils-4.6.3-3.19.x86_64
        - slang-2.1.1-58.18.x86_64
        - sles-release-11.3-1.201.x86_64
        - snapper-0.1.2-0.17.1.x86_64
        - sound-theme-freedesktop-0.2-1.17.noarch
        - splashy-0.3.8-106.21.x86_64
        - startup-notification-0.9-60.13.x86_64
        - subscription-tools-1.0-0.21.1.noarch
        - suseRegister-1.4-1.35.1.noarch
        - sysfsutils-2.1.0-102.25.1.x86_64
        - syslinux-3.82-8.10.23.x86_64
        - sysstat-8.1.5-7.47.1.x86_64
        - sysvinit-2.86-215.1.x86_64
        - tar-1.26-1.2.6.1.x86_64
        - tcl-8.5.5-2.81.x86_64
        - tcpd-7.6-856.13.x86_64
        - tcsh-6.18.01-0.9.1.x86_64
        - tk-8.5.5-3.14.1.x86_64
        - tunctl-20070815-10.22.x86_64
        - unixODBC-2.2.12-198.17.x86_64
        - unzip-6.00-11.13.1.x86_64
        - update-alternatives-1.14.19-1.22.noarch
        - utempter-0.5.5-106.20.1.x86_64
        - util-linux-2.19.1-6.62.1.x86_64
        - util-linux-lang-2.19.1-6.62.1.x86_64
        - uuid-runtime-2.19.1-6.62.7.x86_64
        - vim-base-7.2-8.15.2.x86_64
        - vlan-1.9-62.24.1.x86_64
        - wget-1.11.4-1.19.1.x86_64
        - wodim-1.1.8-3.32.3.x86_64
        - xdg-menu-0.2-191.22.x86_64
        - xdg-utils-1.0.2-36.18.noarch
        - xkeyboard-config-1.5-4.44.1.noarch
        - xli-20061110-1.17.x86_64
        - xorg-x11-fonts-core-7.4-1.20.noarch
        - xorg-x11-libICE-32bit-7.4-1.15.x86_64
        - xorg-x11-libICE-7.4-1.15.x86_64
        - xorg-x11-libSM-32bit-7.4-1.18.x86_64
        - xorg-x11-libSM-7.4-1.18.x86_64
        - xorg-x11-libXau-32bit-7.4-1.15.x86_64
        - xorg-x11-libXau-7.4-1.15.x86_64
        - xorg-x11-libXdmcp-7.4-1.15.x86_64
        - xorg-x11-libXext-32bit-7.4-1.18.2.x86_64
        - xorg-x11-libXext-7.4-1.18.2.x86_64
        - xorg-x11-libXfixes-32bit-7.4-1.16.2.x86_64
        - xorg-x11-libXfixes-7.4-1.16.2.x86_64
        - xorg-x11-libXmu-32bit-7.4-1.17.x86_64
        - xorg-x11-libXmu-7.4-1.17.x86_64
        - xorg-x11-libXp-32bit-7.4-1.18.1.x86_64
        - xorg-x11-libXp-7.4-1.18.1.x86_64
        - xorg-x11-libXpm-32bit-7.4-1.17.x86_64
        - xorg-x11-libXpm-7.4-1.17.x86_64
        - xorg-x11-libXprintUtil-32bit-7.4-1.17.x86_64
        - xorg-x11-libXprintUtil-7.4-1.17.x86_64
        - xorg-x11-libXrender-32bit-7.4-1.16.2.x86_64
        - xorg-x11-libXrender-7.4-1.16.2.x86_64
        - xorg-x11-libXt-32bit-7.4-1.19.2.x86_64
        - xorg-x11-libXt-7.4-1.19.2.x86_64
        - xorg-x11-libXv-32bit-7.4-1.16.2.x86_64
        - xorg-x11-libXv-7.4-1.16.2.x86_64
        - xorg-x11-libfontenc-32bit-7.4-1.15.x86_64
        - xorg-x11-libfontenc-7.4-1.15.x86_64
        - xorg-x11-libs-7.4-8.26.44.1.x86_64
        - xorg-x11-libxcb-32bit-7.4-1.29.1.x86_64
        - xorg-x11-libxcb-7.4-1.29.1.x86_64
        - xorg-x11-libxkbfile-32bit-7.4-1.14.x86_64
        - xorg-x11-libxkbfile-7.4-1.14.x86_64
        - xorg-x11-server-dmx-7.3.99-17.11.1.x86_64
        - xorg-x11-server-rdp-7.3.99-3.22.1.x86_64
        - xterm-238-1.16.x86_64
        - xz-5.0.3-0.12.1.x86_64
        - yast2-add-on-2.17.31-0.7.49.noarch
        - yast2-bootloader-2.17.97-0.7.28.x86_64
        - yast2-branding-SLES-2.17.0-1.11.noarch
        - yast2-ca-management-2.17.26-0.5.3.noarch
        - yast2-control-center-2.17.4-0.1.76.x86_64
        - yast2-control-center-gnome-2.13.4-1.9.43.x86_64
        - yast2-core-2.17.46-0.5.1.x86_64
        - yast2-country-2.17.55-0.7.1.x86_64
        - yast2-dbus-client-2.17.0-0.1.65.x86_64
        - yast2-dbus-server-2.17.5-0.5.1.x86_64
        - yast2-dns-server-2.17.23-0.5.1.noarch
        - yast2-hardware-detection-2.17.2-2.7.1.x86_64
        - yast2-installation-2.17.108-0.7.12.noarch
        - yast2-kerberos-client-2.17.16-0.7.79.noarch
        - yast2-ldap-2.17.8-0.7.61.x86_64
        - yast2-ldap-client-2.17.38-0.7.2.noarch
        - yast2-libyui-2.21.1-2.5.93.x86_64
        - yast2-mouse-2.16.1-19.38.x86_64
        - yast2-ncurses-2.17.22-0.7.15.x86_64
        - yast2-ncurses-pkg-2.17.20-0.5.1.x86_64
        - yast2-network-2.17.199.3-0.7.4.x86_64
        - yast2-nfs-client-2.17.17-0.7.71.noarch
        - yast2-nfs-common-2.17.8-0.2.1.noarch
        - yast2-online-update-2.17.23-0.7.119.noarch
        - yast2-online-update-frontend-2.17.23-0.7.119.noarch
        - yast2-packager-2.17.107.1-0.7.1.x86_64
        - yast2-pam-2.17.3-0.5.211.noarch
        - yast2-perl-bindings-2.17.2-1.32.121.x86_64
        - yast2-pkg-bindings-2.17.61-0.7.2.x86_64
        - yast2-registration-2.17.38-0.8.43.noarch
        - yast2-registration-branding-SLE-2.17.38-0.8.43.noarch
        - yast2-samba-client-2.17.30-0.7.1.noarch
        - yast2-security-2.17.16-0.7.25.noarch
        - yast2-slp-2.17.0-0.7.55.x86_64
        - yast2-storage-2.17.145-0.7.3.x86_64
        - yast2-storage-lib-2.17.145-0.7.3.x86_64
        - yast2-sysconfig-2.17.0-1.38.noarch
        - yast2-theme-SLE-2.17.27-0.18.9.noarch
        - yast2-transfer-2.16.3-0.5.133.x86_64
        - yast2-update-2.17.25-0.7.2.x86_64
        - yast2-users-2.17.54-0.7.151.x86_64
        - yast2-xml-2.16.1-1.23.x86_64
        - yast2-ycp-ui-bindings-2.21.1-2.5.107.x86_64
        - yp-tools-2.12-0.2.5.x86_64
        - zlib-1.2.7-0.12.3.x86_64
        - zlib-32bit-1.2.7-0.12.3.x86_64
        - zypp-plugin-python-0.5-0.5.1.x86_64
        - zypper-1.6.326-0.7.2.x86_64
      According to the rpm database these packages depend on other
      packages not provided by SUSE/Novell.  Please repair dependencies by
      installing SUSE/Novell packages.

2017-11-13

HP-UX 11.3: Trusted System - Root password change

How to change an root user of HP-UX when it is a trusted system.

[chronos:root]/root # passwd
Changing password for root
Old password:
Sorry.
[chronos:root]/root # cd /tcb/files/auth/r
[chronos:root]/tcb/files/auth/r # ls -l
total 112
-rw-rw-r--   1 root       root           137 Aug 11  2010 regj
-rw-rw-r--   1 root       root           305 Nov 13 14:59 root

Of course we need to make a backup just in case.

[chronos:root]/tcb/files/auth/r # cp -p root root.old
[chronos:root]/tcb/files/auth/r # vi root
[chronos:root]/tcb/files/auth/r # diff root root.old
2c2
<       :u_pwd=:\
---
>       :u_pwd=FDKPruSmIH4vs:\

The password can now be changed.  And it won't ask for the old password.

[chronos:root]/tcb/files/auth/r # passwd
Changing password for root
Last successful password change for root: Mon Oct 23 16:24:57 2017
Last unsuccessful password change for root: Mon Nov 13 14:59:41 2017
Do you want (choose one letter only):
        pronounceable passwords generated for you (g)
        a string of letters generated (l) ?
        to pick your passwords (p) ?
Enter choice here: p
New password:
Re-enter new password:
Passwd successfully changed

2017-11-08

0516-787 extendlv: Maximum allocation for logical volume

This can only mean that LP allocation is not enough.  So MAX LPs should and need to be increased.  In this scenario, our DB2 team requires an additional 15GB

$ sudo df -m /db2/QU1/log_dir
Filesystem    MB blocks      Free %Used    Iused %Iused Mounted on
/dev/logqu1lv  24576.00   9033.01   64%      251     1% /db2/QU1/log_dir
$ sudo lslv logqu1lv
LOGICAL VOLUME:     logqu1lv               VOLUME GROUP:   qu1db2logvg
LV IDENTIFIER:      00c2d23700004c000000013cfc693a07.2 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       opened/syncd
TYPE:               jfs2                   WRITE VERIFY:   off
MAX LPs:            620                    PP SIZE:        64 megabyte(s)
COPIES:             2                      SCHED POLICY:   parallel
LPs:                384                    PPs:            768
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       maximum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    1024
MOUNT POINT:        /db2/QU1/log_dir       LABEL:          /db2/QU1/log_dir
DEVICE UID:         0                      DEVICE GID:     0
DEVICE PERMISSIONS: 432                                 
MIRROR WRITE CONSISTENCY: on/ACTIVE                           
EACH LP COPY ON A SEPARATE PV ?: yes (superstrict)                   
Serialize IO ?:     NO                                   
INFINITE RETRY:     no                     PREFERRED READ: 0
DEVICESUBTYPE:      DS_LVZ                                     
COPY 1 MIRROR POOL: mpoola                               
COPY 2 MIRROR POOL: mpoolb                               
COPY 3 MIRROR POOL: None                               

Since the requirement is 15GB or around 16000MB, I need to add up, total of 40GB and divide in with the "PP SIZE" which is 64MB.

$ echo 24576+16000 | bc
40576
$ echo 40576/64 | bc
634

Rounding off to 640 PP

$ sudo chlv -x 640 logqu1lv
$ sudo chfs -a size=+15G /db2/QU1/log_dir
Filesystem size changed to 81788928
$ sudo df -g /db2/QU1/log_dir
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/logqu1lv     39.00     23.82   39%      251     1% /db2/QU1/log_dir

So that's it.  No need for us to un-mount the file system as this can be done on the fly.

2017-11-03

Using grep and show previous line/s of matching pattern

There was a need for me to display previous lines when it matched a specific string/pattern.  And according to MAN pages of egrep there's an option for it.  Also -n helps me show what line number the matching string is located.
# man grep

OPTIONS
       -A NUM, --after-context=NUM
              Print NUM lines of trailing context after matching lines.  Places a line containing -- between contiguous groups of  matches.

       -B NUM, --before-context=NUM
              Print  NUM lines of leading context before matching lines.  Places a line containing -- between contiguous groups of matches.

       -C NUM, --context=NUM
              Print NUM lines of output context.  Places a line containing -- between contiguous groups of matches.

       -n, --line-number
              Prefix each line of output with the line number within its input file.

# egrep -B1 -i '2014|2015|2016' *root_pwd*.171026 -n
beid-root_pwd_check_all.ksh.171026-79-HOST: rhel6qual.corp.nn.net
beid-root_pwd_check_all.ksh.171026:80:Last password change                                      : Dec 02, 2016
--
centaur-root_pwd_check_all.ksh.171026-117-HOST: mgtsatstvm02.mgt.nnit.net
centaur-root_pwd_check_all.ksh.171026:118:Last password change                                  : Oct 02, 2015
--
dsbmgt01-root_pwd_check_all.ksh.171026-65-HOST: dsbdbadm01.dsb.mgt.nnit.net
dsbmgt01-root_pwd_check_all.ksh.171026:66:Last password change                                  : Jan 19, 2016
dsbmgt01-root_pwd_check_all.ksh.171026-67-HOST: dsbdbadm02.dsb
.mgt.nnit.netdsbmgt01-root_pwd_check_all.ksh.171026:68:Last password change                                  : Jan 19, 2016
--
dsbmgt01-root_pwd_check_all.ksh.171026-254-HOST: vpovportal
dsbmgt01-root_pwd_check_all.ksh.171026:255:Last password change                                 : Jul 29, 2016
--
uranus-root_pwd_check_all.ksh.171026-41-HOST: rout3sap.noc.nnit.net
uranus-root_pwd_check_all.ksh.171026:42:Last password change                                    : Jan 12, 2016

2017-10-23

Update NetBackup on Unix/Linux

Few servers who have NetBackup (NBU) clients need to be updated (fra 6.5 in this case).

[root@encore admincmd]# ./bpplclients -allunique -noheader | egrep 'nnit[q,p]iwsdb0[1,2]' | sort > /tmp/nnitpqiws.txt

[root@encore admincmd]# update_clients -ClientList /tmp/nnitpqiws.txt
There are 3 clients to upgrade.

Do you want the bp.conf file on the clients updated
to list this server as the master server? [y,n] (y)

Enter the number of simultaneous updates you wish to take place [1 - 3] (default: 3):

The upgrade will likely take 1 to 2 minutes.
Do you want to upgrade clients now? [y,n] (y)
Please be patient.

Updating client nnitpiwsdb01 -- Linux hardware running RedHat2.6.18
Updating client nnitpiwsdb02 -- Linux hardware running RedHat2.6.18
Updating client nnitqiwsdb01 -- Linux hardware running RedHat2.6.18

The update trace can be found in /tmp/update_clients.10-23-1120.27219.

[root@encore admincmd]# for x in nnitpiwsdb01 nnitpiwsdb02 nnitqiwsdb01; do bpgetconfig -s $x -L -A | awk -F'=' '{if($1~/Client.OS/){os=$2} \
                if($1~/Patch/)   {p=$2} \
                if($1~/Protocol/){v=$2}} \
                END { if(p~/^ *$/){r=v}else{r=p} \
                      printf("%-22s\t%-25s\t%s\n","'$x'",os,r)}'; done
nnitpiwsdb01             Linux 2.6.32-504.30.3.el6.x86_64        7.7.3
nnitpiwsdb02             Linux 2.6.32-504.30.3.el6.x86_64        7.7.3
nnitqiwsdb01             Linux 2.6.32-504.30.3.el6.x86_64        7.7.3

Credit to the one who posted how to get NBU client version on this forum.

2017-09-05

On uvcon - keyboard combination

Got a helping hand from my colleague today as I was having a hard time for the correct keyboard combination to release and/or steal RMC console of MC990X.

$ ssh 10.0.35.18 -l root
root@10.0.35.18's password:
HPE Integrity MC990 X RMC, Rev. 1.1.99   [Bootloader 1.1.4]
Copyright 2012-2016, SGI.   All rights reserved.
hana01-rmc RMC:r001i05c> uvcon
uvcon: tty mode disabled, use 'CTRL-C' to exit
uvcon: attempting connection to localhost...
uvcon: connection to SMN/CMC (localhost) established.
uvcon: requesting baseio console access at r001i06b...
uvcon: console access established (OWNER)
uvcon: CMC <--> BASEIO connection active
************************************************
*******  START OF CACHED CONSOLE OUTPUT  *******
************************************************
uvcon: escape codes:                           
uvcon:    ctrl-] s    steal console
uvcon:    ctrl-] r    release console
uvcon:    ctrl-] b    send break                  

uvcon:    ctrl-] c    connection status           

uvcon:    ctrl-] q    quit (if active console)    

uvcon:    ctrl-] ?|h  this help
      

So these are the following key codes:

From nxclient you can use: CTRL+ ALTGr + 9 and then <letter of your choice>
From putty you can use: CTRL + ~~ and then <letter of your choice>

Note: I am using Dansk keyboard though.

2017-08-18

AIX: New password requires a minimum of 1 elapsed week between changes.

Got an error message when I tried changing root's password subsequently.

New password requires a minimum of 1 elapsed week between changes.
Only the system administrator can change this password.

Solution is to use the NOCHECK of pwdadm command.

AIX xxxndsap01 1 7 00EA1A4B6C00
$ sudo pwdadm -f NOCHECK root; sudo chpasswd < .2017R4_root.pwd