[CentOS] Cronjob and sudo

2015-02-12 Thread Matt
I need to remove empty files out of a directory that are over 6 hours old so I created this script and put it in cron.hourly. #!/bin/sh cd /var/list sudo -u matt find /var/list -mmin +360 -empty -user matt -exec rm {} \; I want to run it as matt rather than root for just an added bit of safety.

Re: [CentOS] Cronjob and sudo

2015-02-12 Thread Larry Martell
On Thu, Feb 12, 2015 at 1:32 PM, Matt matt.mailingli...@gmail.com wrote: I need to remove empty files out of a directory that are over 6 hours old so I created this script and put it in cron.hourly. #!/bin/sh cd /var/list sudo -u matt find /var/list -mmin +360 -empty -user matt -exec rm {}

Re: [CentOS] Cronjob and sudo

2015-02-12 Thread Valeri Galtsev
On Thu, February 12, 2015 12:45 pm, Valeri Galtsev wrote: On Thu, February 12, 2015 12:32 pm, Matt wrote: I need to remove empty files out of a directory that are over 6 hours old so I created this script and put it in cron.hourly. #!/bin/sh cd /var/list sudo -u matt find /var/list -mmin

[CentOS] Securing SSH wiki article outdated

2015-02-12 Thread Warren Young
Hi, just a quick note to whoever is maintaining this page: http://wiki.centos.org/HowTos/Network/SecuringSSH The procedure is missing the firewall-cmd calls necessary in EL7: firewall-cmd --add-port 2345/tcp firewall-cmd --add-port 2345/tcp --permanent Also, it may be worth mentioning

Re: [CentOS] Cronjob and sudo

2015-02-12 Thread Mauricio Tavares
On Thu, Feb 12, 2015 at 1:32 PM, Matt matt.mailingli...@gmail.com wrote: I need to remove empty files out of a directory that are over 6 hours old so I created this script and put it in cron.hourly. #!/bin/sh cd /var/list sudo -u matt find /var/list -mmin +360 -empty -user matt -exec rm {}

Re: [CentOS] Cronjob and sudo

2015-02-12 Thread Matt
I need to remove empty files out of a directory that are over 6 hours old so I created this script and put it in cron.hourly. For what it's worth, we no longer have requiretty in the package in Fedora, so eventually that change will probably make it down to CentOS. Overall, security benefit

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Alex ( Servtelecom )
nono, no tengo configurado ese repo pero no especifican que paquete lo produce exactamente? El 12/02/15 a las 18:49, Peter Q. escribió: No hay necesidad de reportarlo, si alguien mas lo hizo, no estarás utilizando los repos de testing en centos, porque bugzilla dice que se produce con los

Re: [CentOS] Cronjob and sudo

2015-02-12 Thread Matthew Miller
On Thu, Feb 12, 2015 at 12:32:12PM -0600, Matt wrote: I need to remove empty files out of a directory that are over 6 hours old so I created this script and put it in cron.hourly. For what it's worth, we no longer have requiretty in the package in Fedora, so eventually that change will probably

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread José Luis Respeto Alvarez
Buenas tardes, hace años que no es necesario un cliente para conectar a irc: http://webchat.freenode.net/ Un saludo! El 12 de febrero de 2015, 16:31, Alex ( Servtelecom ) alex.and...@servtelecom.com escribió: No suelo utilizar IRC, por eso actudo a esta lista que creo que tendria que ser

Re: [CentOS] Cronjob and sudo

2015-02-12 Thread Eero Volotinen
You can disable requiretty for one user also: https://linuxreference.wordpress.com/2010/11/22/disable-requiretty-in-etcsudoers/ -- Eero 2015-02-12 20:32 GMT+02:00 Matt matt.mailingli...@gmail.com: I need to remove empty files out of a directory that are over 6 hours old so I created this

Re: [CentOS] Cronjob and sudo

2015-02-12 Thread Valeri Galtsev
On Thu, February 12, 2015 12:32 pm, Matt wrote: I need to remove empty files out of a directory that are over 6 hours old so I created this script and put it in cron.hourly. #!/bin/sh cd /var/list sudo -u matt find /var/list -mmin +360 -empty -user matt -exec rm {} \; I want to run it as

Re: [CentOS] Thread moderation and list etiquette (Reference - Another Fedora Decision)

2015-02-12 Thread Les Mikesell
On Thu, Feb 12, 2015 at 10:51 AM, Brian Mathis brian.mathis+cen...@betteradmin.com wrote: CentOS is unquestionably one of the most used Linux distros in the world, and yet the mailing list is relatively quiet. To me this is a symptom of a problem, and I feel that it's partially a result of the

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Ricardo González
Yo de ti me cambiaria de distro o seguiria con CentOS 6. CentOS 7 es una distro que esta repleta de bugs, es más, en agosto reporte un fallo en CentOS 7 el cual me informaron de que dicho bug lo reportase en bugzilla de redhat. Lo hice, reporte el fallo y aún sigue sin ser resuelto, solo fué

Re: [CentOS] Thread moderation and list etiquette (Reference - Another Fedora Decision)

2015-02-12 Thread Andrew Holway
On 12 February 2015 at 19:08, Les Mikesell lesmikes...@gmail.com wrote: On Thu, Feb 12, 2015 at 10:51 AM, Brian Mathis brian.mathis+cen...@betteradmin.com wrote: CentOS is unquestionably one of the most used Linux distros in the world, and yet the mailing list is relatively quiet. To me

Re: [CentOS] Why the command 'service ntpd stop' cause the time reversed?

2015-02-12 Thread David chen
Hi guys, I don't use virtual machine. The 192.168.0.191 is an internal ntpd server configured by administrator, so i can not see what ntp server it synchronizes to or what is its time reference. But i have added a new line server 192.168.0.191 into file /etc/ntp.conf on ntpd client machines,

[CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Alex ( Servtelecom )
Hola compañeros llevo desde que salio CentOS 7 utilizando en mi Portátil ya que busco algo estable y no sufrir de verionitis Desde que salio que tengo el mismo bug que no hay manera de que se solucione, a la que llevo 1h trabajando el escritorio se vuelve inestable, se queda congelado

[CentOS] test, and H/W

2015-02-12 Thread m . roth
Hi, folks, This is a test post; to make it of interest, here's an issue you might want to be aware of, those with not brand new hardware. We've got a few Dell PE R415s. A 2TB b/u drive on one was getting full, so I went to replace it with a 3TB drive (a WD Red, not that it matters.) We got the

Re: [CentOS] test, and H/W

2015-02-12 Thread m . roth
John R Pierce wrote: On 2/12/2015 12:32 PM, m.r...@5-cent.us wrote: I finally talked to Dell, and was told, and I quote, ... three terabyte drives aren't supported the raid controller installed in this server, the SAS 6 i/r. the SAS 6/iR is a LSI SAS 1068E chip, kind of an old chip (the 1068

Re: [CentOS] Securing SSH wiki article outdated

2015-02-12 Thread m . roth
Warren Young wrote: Hi, just a quick note to whoever is maintaining this page: http://wiki.centos.org/HowTos/Network/SecuringSSH The procedure is missing the firewall-cmd calls necessary in EL7: firewall-cmd --add-port 2345/tcp firewall-cmd --add-port 2345/tcp --permanent Also, it

Re: [CentOS] Why the command 'service ntpd stop' cause the time reversed?

2015-02-12 Thread Andrew Holway
I've seen situations where people have put ntpdate in a cronjob to get around issues with big time jumps at boot or dodgy clocks under virtualization. There are much better solutions to this problem, so let us know if this is the case for you. put tinker panic 0 in your ntp.conf. This stops

Re: [CentOS] ntptrace ***Request timed out with stock C6 ntpd

2015-02-12 Thread Peter Lawler
On 12/02/15 23:26, Patrick Bervoets wrote: Following the recent ntp posts I decided to check my setup with ntptrace. localhost: stratum 3, offset -0.20, synch distance 0.016330 81.95.117.62: timed out, nothing received ***Request timed out am guessing here, but from the man page: For

[CentOS] firewalld default policy = allow = no affect.

2015-02-12 Thread dE
Hi! I'm running CentOS 7. Looking at the default policies of various zones, I've come to realize that only the drop zone has an affect, that's because this's the only one which drops unmatched packets. ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] test, and H/W

2015-02-12 Thread John R Pierce
On 2/12/2015 12:32 PM, m.r...@5-cent.us wrote: I finally talked to Dell, and was told, and I quote, ... three terabyte drives aren't supported the raid controller installed in this server, the SAS 6 i/r. the SAS 6/iR is a LSI SAS 1068E chip, kind of an old chip (the 1068 stuff was long ago

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Alex ( Servtelecom )
Y como deshabilito ese sensor? no lo veo por ningún sitio ;( KDE lo he intentado muchísimas veces de utilizarlo pero no acabo de hacerme con el, y mira que lo he intentado pero no, no puedo jejejej Lo que me comentas de que es un problema de gnome, bien en la versión 20 alguna cosa han hecho

Re: [CentOS-es] Mapping teclas en putty

2015-02-12 Thread José Luis Respeto Alvarez
Buenos días, Desconozco como mapear teclas en Putty, en el apartado Terminal - Keyboard no hay nada para este fin. Una cosa que seguro puedas hacer es instalar cualquier programita para windows que te permita mapear la tecla F1 como tecla intro, al fin y al cabo creo que haría lo mismo, lo único

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Recursos
En mi caso, como experiencia de centos: *Uso Centos 5.5 y normalmente lo configuro como Servidor de archivos y de usuarios. *Las versiones de Centos más actuales los use, después los usuarios me indicaban que estaba lento las trasferencia de archivos, la mayoría de los archivos son

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Alex ( Servtelecom )
Si, no he estado acertado en mis palabras, perdón jejjeje Lo que, si instalo CentOS y no Fedora es por la estabilidad en las versiones que me ofrece CentOS y diseño web's y me es muy cómodo que lo que diseño en mi portátil, al subirlo al servidor de producción que también esta en CentOS 7 no

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Ernesto Pérez Estévez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/02/15 08:38, Alex ( Servtelecom ) wrote: En mi caso depende de que versiones necesite utilizo CentOS 5 6 o 7 pero en este caso se trata de mi Portátil personal que tengo instalado CentOS 7 No quiero utilizar ni fedora ni nada ya que lo

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Jorge Sanchez
Parece que a mas de uno le funciono deshabilitar un applet de sensores y reiniciar gnome. si te sigue dando problemas tal vez puedas usar KDE o Xfce. ahi mismo hablan que el error es de gnome y no de ellos. El día 12 de febrero de 2015, 10:38, Alex ( Servtelecom ) alex.and...@servtelecom.com

[CentOS] ntptrace ***Request timed out with stock C6 ntpd

2015-02-12 Thread Patrick Bervoets
Following the recent ntp posts I decided to check my setup with ntptrace. localhost: stratum 3, offset -0.20, synch distance 0.016330 81.95.117.62: timed out, nothing received ***Request timed out service ntpd status ntpd (pid 3018) is gestart... grep server /etc/ntp.conf | grep -v #

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Alex ( Servtelecom )
En mi caso depende de que versiones necesite utilizo CentOS 5 6 o 7 pero en este caso se trata de mi Portátil personal que tengo instalado CentOS 7 No quiero utilizar ni fedora ni nada ya que lo utilizo para trabajar y no para pruebas como es el caso de fedora, necesito estabilidad para no

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Roberto Bermúdez
Saludos Alex No se la experiencia del resto, pero en lo personal yo uso mucho actualmente Centros 5.5 para mis servidores que en la mayoría son precios, correo y firewall y en menor cantidad otro tipo de servidores pero todos me trabajan muy bien y muy estables; todo depende también del hardware

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Jorge Sanchez
freenode #gnome-hispano El día 12 de febrero de 2015, 12:15, Alex ( Servtelecom ) alex.and...@servtelecom.com escribió: Si jejeje, utilizo mucho la virtualización y también uso mock para recompilar paquetes, es más, tengo otro CentOS 7 virtualizado para estas cosas. La base de mi portátil el

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Alex ( Servtelecom )
No suelo utilizar IRC, por eso actudo a esta lista que creo que tendria que ser suficientemente valida, prefiero obtener respuesta a traves de esta lista ya que tampoco tengo un cliente para conectar al IRC, pero gracias igualmente Continuo esperando por esta lista :)

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread William Moreno
Alguna idea, creéis que con la 7.1 aumentaran las versiones de tal manera que se solucione el problema?? Este problema es el mismo que mucha gente se quejaba con Fedora 19 que es la referencia que utiliza CentOS 7. Espero vuestras respuestas para poder reportar los desarrolladores de

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Ernesto Pérez Estévez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/02/15 09:41, Alex ( Servtelecom ) wrote: se que dirás que trabaje en maquinas virtuales pero prefiero trabajar con sistema físico no, para nada, cada quien decide, aunque efectivamente el uso de virtualización es totalmente necesarioe n

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Alex ( Servtelecom )
Si jejeje, utilizo mucho la virtualización y también uso mock para recompilar paquetes, es más, tengo otro CentOS 7 virtualizado para estas cosas. La base de mi portátil el CentOS 7 esta intacta y solo tiene instalado un apache y un mysql por comodidad, todo lo demás lo hago con virtualización

[CentOS] info/EL5: subversion / mod_dav_svn

2015-02-12 Thread Leon Fauster
Just to point out that EL5 does not get this patch: https://rhn.redhat.com/errata/RHSA-2015-0165.html A NULL pointer dereference flaw was found in the way the mod_dav_svn module handled REPORT requests. A remote, unauthenticated attacker could use a specially crafted REPORT request to

Re: [CentOS] Packages not available in CentOS 7

2015-02-12 Thread Brian Mathis
It sounds like you are trying to blindly install a set of packages from CentOS 5 to CentOS 7. This is not going to work as there are numerous changes between those versions. You need to understand and consider what packages you need for your application and then track down the necessary ones

[CentOS-es] Ayuda samba windows xp

2015-02-12 Thread César Martinez
Saludos amigos acudo a ustedes para ver si me pueden ayudar con una consulta, monte un servidor con Centos 6.6. con samba-3.6.23-12.el6.x86_64, en esta red hay equipos con windows Xp, 7 y 8, las máquinas que se conectan a través de samba con Widnows 7 y 8 trabajan perfectamente pero las que

Re: [CentOS] Thread moderation and list etiquette (Reference - Another Fedora Decision)

2015-02-12 Thread Brian Mathis
Hi Jim, Thanks for putting in the effort here. It's never a good situation to have to moderate, but sometimes it is necessary. From my perspective, this kind of thing happens far more often than the current example, though maybe not with such intensity. This situation forces me to evaluate if

Re: [CentOS] Why the command 'service ntpd stop' cause the time reversed?

2015-02-12 Thread John R Pierce
On 2/12/2015 12:27 AM, David chen wrote: i have added a new line server 192.168.0.191 into file /etc/ntp.conf on ntpd client machines, and the output to execute command ntpstat is as follows: synchronised to NTP server (192.168.0.191) at stratum 3 time correct to within 80 ms polling

Re: [CentOS-es] Bug horrible en CentOS 7 Desktop

2015-02-12 Thread Peter Q.
No hay necesidad de reportarlo, si alguien mas lo hizo, no estarás utilizando los repos de testing en centos, porque bugzilla dice que se produce con los paquetes de testing. On Feb 12, 2015 9:31 AM, Alex ( Servtelecom ) alex.and...@servtelecom.com wrote: No suelo utilizar IRC, por eso actudo a