Prompt For Chrooted Users

Report
Question

We have a requirement to allow SSH access to a server in order to provide a secure link to one of our legacy systems. I would like to chroot these accounts.

I have this working except for one small detail, the user's prompt in the SSH session. Each user has their shell set to /bin/bash in /etc/passwd. However, instead of getting the prompt defined in their .bash_profiles we see this:

-bash-4.1$

when we are expecting this:

[username@hostname dir]$

So, before I go messing around moving files I would some information from you as tio what I have overlooked. Do I need to move something like…

CentOS 10 hours ago 2 Answers

CentOS Linux For AArch64 Beta2

Report
Question

We are pleased to announce the second public beta release of CentOS Linux 7 for the AArch64 platform.

This release contains fixes and code updates provided in the RHELSA source code recently published to git.CentOS.org as well as rolling previous updates into the installer.

We intend to have a 'Gold' release very soon unless a blocker bugs are reported, so please test this release.

Improvements since the initial Beta ================================== The 4.1rc kernel has been removed in favor of the 3.19 kernel as it contains some additional functionality by default. The 4.x kernel will be available later as a -plus kernel.

Installation/Everything ISO

CentOS-Announce 11 hours ago 0 Answers

CESA-2015:1207 Critical CentOS 7 Firefox Security Update

Report
Question

CentOS Errata and Security Advisory 2015:1207 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2015-1207.html

The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename )

x86_64: f61ea750633f5b444eaae0e52cbc430febc0a68534166659d7ac8fcfac2c89e1 firefox-38.1.0-1.el7.CentOS.i686.rpm 2a8f94561cb77d12c8b02adcb7c689a36cd36b4b9f9e91328a5e4d287491049c firefox-38.1.0-1.el7.CentOS.x86_64.rpm

Source: 1b7b07cf869c0b06c2b23f919d6ea9bab648c270f56ceea33da8c7453c80ab69 firefox-38.1.0-1.el7.CentOS.src.rpm

CentOS-Announce 11 hours ago 0 Answers

CESA-2015:1207 Critical CentOS 6 Firefox Security Update

Report
Question

CentOS Errata and Security Advisory 2015:1207 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2015-1207.html

The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename )

i386: b5882e3695d34f9318074874468b2c427eade13ad481866ae314f6edcadfb7db firefox-38.1.0-1.el6.CentOS.i686.rpm

x86_64: b5882e3695d34f9318074874468b2c427eade13ad481866ae314f6edcadfb7db firefox-38.1.0-1.el6.CentOS.i686.rpm b7f8d8f7fe4dde69f71355177bd859e08551a11513e7f293ef7bb6beb094eb13 firefox-38.1.0-1.el6.CentOS.x86_64.rpm

Source: 05d27d1ca3378334c19eeb53bc8b5a6a7a64dbae179a17da7841753d596bd430 firefox-38.1.0-1.el6.CentOS.src.rpm

CentOS-Announce 12 hours ago 0 Answers

CESA-2015:1207 Critical CentOS 5 Firefox Security Update

Report
Question

CentOS Errata and Security Advisory 2015:1207 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2015-1207.html

The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename )

i386: 45f2fad91b980fd2cc21a9752193b8dbee248a1e0436ccd0eb7d8d4b297f476a firefox-38.1.0-1.el5.CentOS.i386.rpm

x86_64: 45f2fad91b980fd2cc21a9752193b8dbee248a1e0436ccd0eb7d8d4b297f476a firefox-38.1.0-1.el5.CentOS.i386.rpm dc491eab91a8cad5f0678902bad27f9e2b3966892ea79151ac0ee50b77f972fa firefox-38.1.0-1.el5.CentOS.x86_64.rpm

Source: 03dd6f3a55de8b5349cc18ca8887da8e527190591eadcb80f688b30ca11f1f56 firefox-38.1.0-1.el5.CentOS.src.rpm

CentOS-Announce 12 hours ago 0 Answers

CentOS 7 Server Forgets IPv6 Address On Reboot

Report
Question

My CentOS 7 server has started to forget its IPv6 address on a reboot. This causes problems with services being unable to start up.

It's easy enough to fix each time (ip addr add ...), but it would be nice to be able to convince it to retain that information. Presumably, there's a file somewhere under /etc/sysconfig that should contain this information - does anyone know where it should be stored?

Thanks,

Dave...

CentOS 14 hours ago 2 Answers

Live Migration Using Shared Storage In Different Networks

Report
Question

Hi!

I am building a KVM cluster that needs VM live migration.

My shared storage as well as the KVM hosts will be running CentOS.

Because 10 Gbps Ethernet switches are very expensive at the moment I will connect the KVM hosts to the storage by cross-over cables and create private networks for each connection (10.0.0.0/30 and 10.0.0.4/30).

The following diagram shows the topology

Management Management Management VLAN VLAN VLAN | | | +----+-----+ 10 Gbps +----+----+ 10 Gbps +----+-----+ | KVM Host |-----------| Storage |-----------| KVM Host | +----+-----+ +----+----+ +----+-----+ | | | Public Public Public VLAN VLAN VLAN

My question is: will…

CentOS-Virt 17 hours ago 2 Answers

Ntpd New Version

Report
Question

Hi All, Currently CentOS site contains the below version of ntpd. ntp-4.2.6p5-3.el6.CentOS.x86_64.rpm :- 16 mar 2015.

Does anybody have any information about when the new version of ntpd is expected to release containing new vulnerabilities fixes?

Thanks Vijendra.

CentOS 18 hours ago 4 Answers

Missing Bnx2x Firmware Files In Xen4CentOS CentOS6 Kernel 3.18.12-11

Report
Question

Hi folks

As mentioned in the subject, kernel-3.18.12-11 is missing firmware files required to run Broadcom/Qlogic network cards, driven by bnx2x driver. While in the source-rpm, there is a bnx2/bnx2x firmware tgz being applied during the rpm build, along with a patch adding these firmware files to firmware/Makefile, neither the tgz nor the patch contain the required firmware files. In 3.18, the driver bumped to version 1.710.51-0, requiring the following firmware files/versions to work:

firmware: bnx2x/bnx2x-e2-7.10.51.0.fw firmware: bnx2x/bnx2x-e1h-7.10.51.0.fw firmware: bnx2x/bnx2x-e1-7.10.51.0.fw

I helped myself by either copying the required firmware-files to the target-machines' /lib/firmware/bnx2x dir and ultimately by adding the files to the source-rpm…

CentOS-Virt 2 days ago 1 Answer

7.1 Install With Areca Arc-1224

Report
Question

I must be doing something horribly wrong and I hope somebody can help.

The Areca arc-1224 is not supported by the Areca driver included driver in 7.1 so I have to supply that when starting the install. Documentation provided by Areca and in the Red Hat install guide say the same thing, put the driver on an accessible medium then append inst.dd on the boot command, choose the driver and now the drives show up. So far so good.

There's already a possible glitch, however. The USB memory stick is mounted as sda1, shifting the hard drives off by one letter.

So I…

CentOS 2 days ago 11 Answers