Re: [CentOS] Trouble removing files in chrooted sftp

2017-01-11 Thread Myyrä , Timo
Ah, forgot to mention that the SELinux is not enabled on this server. So thats not causing this. Timo 2017-01-11 22:23 GMT+02:00 Clint Dilks : > Hi > > On Thu, Jan 12, 2017 at 12:07 AM, Myyrä, Timo wrote: > > > I just did a bit of testing on

Re: [CentOS] Firefox Issue

2017-01-11 Thread ken
On 01/09/2017 01:51 PM, m.r...@5-cent.us wrote: Always Learning wrote: On Fri, 2017-01-06 at 12:54 -0500, m.r...@5-cent.us wrote: James B. Byrne wrote: On Thu, January 5, 2017 17:23, Always Learning wrote: Cyber attacks are gradually replacing armed conflicts. Better fight with bits than

Re: [CentOS] Ghostscript update?

2017-01-11 Thread Ian Mortimer
On Wed, 2017-01-11 at 13:58 -0500, m.r...@5-cent.us wrote: > - systemdict /getenv {pop //false} put > Which, if I understand what I'm reading, just has added the systemdict > line. The leading "-" means removed not added. > I added that, and tried to run evince, which did not crash, but did

Re: [CentOS] Missing Dependency python-yubico SOLVED

2017-01-11 Thread Mark LaPierre
On 01/10/17 23:40, Ian Mortimer wrote: > On Tue, 2017-01-10 at 11:12 -0500, Mark LaPierre wrote: > >> Hey all, I'm trying to install the fedora-packager group so that I can >> build Fedora source packages into RPMs that I can install. I'm >> getting >> this error: >> >> Error: Package:

Re: [CentOS] Trouble removing files in chrooted sftp

2017-01-11 Thread Clint Dilks
Hi On Thu, Jan 12, 2017 at 12:07 AM, Myyrä, Timo wrote: > I just did a bit of testing on OpenBSD and there the above setup seems to > work and I can remove the files just fine over sftp. > So this thing should work but there's still something causing it to fail on >

Re: [CentOS] Ghostscript update?

2017-01-11 Thread m . roth
Leonard's summary of the fix (and I note this is just for CentOS 6) is diff -up /usr/share/ghostscript/8.70/Resource/Init/gs_init.ps.new.bad /usr/share/ghostscript/8.70/Resource/Init/gs_init.ps --- /usr/share/ghostscript/8.70/Resource/Init/gs_init.ps.new.bad 2017-01-04 11:20:37.0 +0100

Re: [CentOS] How to avoid "firstboot" in CentOS 7 kickstart

2017-01-11 Thread Valeri Galtsev
On Wed, January 11, 2017 9:36 am, Gordon Messmer wrote: > On 01/11/2017 05:22 AM, Tru Huynh wrote: >> %post >> # workaround required but should be handled by anaconda. imho >> systemctl disable initial-setup-graphical.service > First of all, thanks everybody who answered, I'm going through all

Re: [CentOS] Allow execution of commands via ssh but not to login

2017-01-11 Thread Bernard Fay
I made my search on google way to complicated for nothing :( Thanks John and Seb! authorized_keys will do the job. On Wed, Jan 11, 2017 at 10:40 AM, seb wrote: > Hi, > > you can use the option command your /home/user/.ssh/authorized_keys . > > for example : > >

Re: [CentOS] How to avoid "firstboot" in CentOS 7 kickstart

2017-01-11 Thread isdtor
> Has this been tested? My understanding is that systemctl doesn't work in > chroots, and can't be used in %post. I've certainly used it that way in Fedora. chroot /mnt/systemimage systemctl --no-reload disable ... ___ CentOS mailing list

[CentOS] Allow execution of commands via ssh but not to login

2017-01-11 Thread Bernard Fay
Hi, Is there a way to allow a user to execute commands via ssh, for example: "ssh user@server ls", but disallow the same user to login on this server with "ssh user@server" ? Thanks, Bernard ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Allow execution of commands via ssh but not to login

2017-01-11 Thread seb
Hi, you can use the option command your /home/user/.ssh/authorized_keys . for example : command="cd /some_where; other command , ssh-rsa key ." Le 11/01/2017 à 16:34, Bernard Fay a écrit : Hi, Is there a way to allow a user to execute commands via ssh, for example: "ssh user@server

Re: [CentOS] Allow execution of commands via ssh but not to login

2017-01-11 Thread John Hodrien
On Wed, 11 Jan 2017, Bernard Fay wrote: Hi, Is there a way to allow a user to execute commands via ssh, for example: "ssh user@server ls", but disallow the same user to login on this server with "ssh user@server" ? Google "ssh restrict to single command". First hit covers using the command

Re: [CentOS] How to avoid "firstboot" in CentOS 7 kickstart

2017-01-11 Thread Gordon Messmer
On 01/11/2017 05:22 AM, Tru Huynh wrote: %post # workaround required but should be handled by anaconda. imho systemctl disable initial-setup-graphical.service Has this been tested? My understanding is that systemctl doesn't work in chroots, and can't be used in %post. Regardless of that,

Re: [CentOS-es] Migración de CentOS 6 a CentOS 7 - web php

2017-01-11 Thread Alex ( Servtelecom )
El tema de las \r\n\r\n era culpa de que no se exporto bien la base de datos desde la consola, lo he probado desde el phpmyadmin y ahora si que se ve bien todo! Tema cerrado 100% Gracias a todos! Firma Alexandre Andreu Cases - Servtelecom El 11/01/17 a las 11:49, Miguel González escribió:

Re: [CentOS] Microcode.service error when booting 7.3.1611

2017-01-11 Thread Albert McCann
> -Original Message- > From: CentOS [mailto:centos-boun...@centos.org] On Behalf Of John Hodrien > Sent: Wednesday, January 11, 2017 8:11 AM > To: CentOS mailing list > Subject: Re: [CentOS] Microcode.service error when booting 7.3.1611 > > On Wed, 11 Jan 2017, Albert

Re: [CentOS] How to avoid "firstboot" in CentOS 7 kickstart

2017-01-11 Thread Tru Huynh
On Wed, Jan 11, 2017 at 04:47:49AM +, Ian Mortimer wrote: > On Tue, 2017-01-10 at 16:02 -0600, Valeri Galtsev wrote: > > > My question is: how do you avoid "firstboot" screen in latest CentOS > > 7.3 > > kickstart. > > ... > > Here are relevant lines from my kickstart that I assume should

Re: [CentOS] Microcode.service error when booting 7.3.1611

2017-01-11 Thread John Hodrien
On Wed, 11 Jan 2017, Albert McCann wrote: Anyone else seeing this, or know what the secret fix is? It's not secret: https://bugzilla.redhat.com/show_bug.cgi?id=1411232 jh ___ CentOS mailing list CentOS@centos.org

[CentOS] Microcode.service error when booting 7.3.1611

2017-01-11 Thread Albert McCann
In 7.3.1611, running kernel "3.10.0-514.2.2.el7.centos.plus.x86_64 #1 SMP Wed Dec 7 19:10:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux" with microcode_ctl-2.1-16.1.el7_3.x86_64, I'm seeing the following error when booting: systemd[1]: [/usr/lib/systemd/system/microcode.service:10] Trailing

Re: [CentOS] Firefox Issue

2017-01-11 Thread Always Learning
Goeiemiddag Leonard, > On Tue, 2017-01-10 at 12:00 +, Always Learning wrote: > > (4) The 'extra' Apache Virtual Host file contains > > > > > > Why do you add dummy.domain.com:80 here as the match is done on the > ServerName? > > > DocumentRoot /prod/web/domains/dummy/ > >

Re: [CentOS] HSM

2017-01-11 Thread J Martin Rushton
Interesting - the ARC seems to do just that at first glance. I may have a look at it this evening. On 11/01/17 11:05, Andrew Holway wrote: > ZFS also does some fun things here if you want to build an SSD & spinning > disk array - http://zfsonlinux.org/ > > > On 11 January 2017 at 11:56, J

Re: [CentOS] Trouble removing files in chrooted sftp

2017-01-11 Thread Myyrä , Timo
I just did a bit of testing on OpenBSD and there the above setup seems to work and I can remove the files just fine over sftp. So this thing should work but there's still something causing it to fail on CentOS's side. One difference between our CentOS and OpenBSD is that OpenBSD uses newer openssh

Re: [CentOS] HSM

2017-01-11 Thread Andrew Holway
ZFS also does some fun things here if you want to build an SSD & spinning disk array - http://zfsonlinux.org/ On 11 January 2017 at 11:56, J Martin Rushton < martinrushto...@btinternet.com> wrote: > Hmm, don't you just love changing terminology! I've been using HSM > systems at work since '99.

Re: [CentOS] HSM

2017-01-11 Thread J Martin Rushton
Hmm, don't you just love changing terminology! I've been using HSM systems at work since '99. BTW, DMAPI is the Data Management API which was a common(ish) extension used by amongst others SGI and IBM. Back to lvmcache. It looks interesting. I'd earlier dismissed LVM since it is block

Re: [CentOS-es] Migración de CentOS 6 a CentOS 7 - web php

2017-01-11 Thread Miguel González
Estupendo que hayas contestado con (parte de) la solución, siempre le puede servir otros! Saludos! Miguel On 01/11/17 11:42 AM, Alex ( Servtelecom ) wrote: > Tema solucionado! nada que ver con versiones ni mala programación, era > tan simple como activar el short_open_tag = On del php.ini >

Re: [CentOS-es] Migración de CentOS 6 a CentOS 7 - web php

2017-01-11 Thread Alex ( Servtelecom )
Tema solucionado! nada que ver con versiones ni mala programación, era tan simple como activar el short_open_tag = On del php.ini ahora solo me queda ver que tengo que activar para que detecte los \r\n\r\n que no se porque se muestran en la web y no deberían de mostrarse Gracias por todo

Re: [CentOS] HSM

2017-01-11 Thread Andrew Holway
HSM also stands for "Hardware security module" Maybe lvmcache would be interesting for you? HSM is more popularly known as "tiering". Cheers, Andrew On 11 January 2017 at 11:15, J Martin Rushton < martinrushto...@btinternet.com> wrote: > I think there may be some confusion here. By HSM I was

Re: [CentOS] HSM

2017-01-11 Thread J Martin Rushton
I think there may be some confusion here. By HSM I was referring to Hierarchical Storage Management, whereby there are multiple levels of storage (fast+expensive <-> slow+cheap) and files migrate up or down. Originally it was used to keep data on tape with the metadata residing on disk though it

Re: [CentOS] HSM

2017-01-11 Thread Andrew Holway
Dogtag? http://pki.fedoraproject.org/wiki/PKI_Main_Page On 11 January 2017 at 10:30, J Martin Rushton < martinrushto...@btinternet.com> wrote: > Purely from interest, is there any current FOSS implementation of HSM? > I note that XFS has dropped support for DMAPI, have other filesystems? > >

Re: [CentOS] Reliable way of having both LAN and WIFI on headless box

2017-01-11 Thread Gary Stainburn
On Tuesday 10 January 2017 22:20:08 Kahlil Hodgson wrote: > I'd be looking at your logs to see if there is any indication why the > wifi does not come up during boot > > > sudo journalctrl -b# current boot > > sudo journalctrl -b -1 # previous boot > > Kal Thanks for this. I'll give this a

Re: [CentOS] Reliable way of having both LAN and WIFI on headless box

2017-01-11 Thread Gary Stainburn
On Tuesday 10 January 2017 20:59:12 Eliezer Croitoru wrote: > NetworkManger should work pretty nice and good as required. > Just run the right cronjob every minute to make sure the connection is up > or down and find out if it's possible to reconnect. > NetworkManager is kind of does all you need

Re: [CentOS] HSM

2017-01-11 Thread John R Pierce
On 1/11/2017 1:30 AM, J Martin Rushton wrote: Purely from interest, is there any current FOSS implementation of HSM? I note that XFS has dropped support for DMAPI, have other filesystems? having dealt with various HSM implementations at a API level, where we were using them to secure our own

[CentOS] HSM

2017-01-11 Thread J Martin Rushton
Purely from interest, is there any current FOSS implementation of HSM? I note that XFS has dropped support for DMAPI, have other filesystems? Regards, Martin signature.asc Description: OpenPGP digital signature ___ CentOS mailing list

Re: [CentOS] Firefox Issue

2017-01-11 Thread Leonard den Ottolander
Hello Paul, On Tue, 2017-01-10 at 12:00 +, Always Learning wrote: > (4) The 'extra' Apache Virtual Host file contains > > Why do you add dummy.domain.com:80 here as the match is done on the ServerName? > DocumentRoot /prod/web/domains/dummy/ > ServerName 1.2.3.4 >