Re: [CentOS] Group permission problems [RESEND]

2011-12-13 Thread Marc Deop
On Tuesday, December 13, 2011 12:10:47 PM Michael Velez wrote: > $ groups michael > michael: michael, smbusers > This seems to be ok but these: > $ groups > michael adm > > $ id > uid=500(michael) gid=500(michael) groups=4(adm), 500(michael) Say otherwise. Might sound stupid but... did you ma

Re: [CentOS] max user processes - is /etc/security/limits.conf the best place to change?

2011-12-14 Thread Marc Deop
On Wednesday 14 December 2011 18:41:13 Alexander Farber wrote: > in CentOS 6.1 is /etc/security/limits.conf > the best place to change the number of > max user processes for a daemon process? > > (I'm asking because the ".../security/..." part > of the path sounds a bit strange) What's wrong with

Re: [CentOS] NFS options in fstab

2011-12-29 Thread Marc Deop
On Thursday 29 December 2011 14:35:34 Daniel Bird wrote: > retry=n The number of minutes to retry an NFS mount operation in the > foreground or background before giving up. The default > value for forground mounts is 2 minutes. The default > value for background mounts is 1

Re: [CentOS] what percent of time are there unpatched exploits against default config?

2011-12-29 Thread Marc Deop
On Thursday 29 December 2011 14:59:14 Reindl Harald wrote: > the hughe difference is: while having the same password (for the key) > it can not be used directly for brute-force und you need the password > and at least one time access to the key file Explain me how having a key protected by a passw

Re: [CentOS] Need help in writing a shell/bash script

2011-12-30 Thread Marc Deop
On Friday 30 December 2011 11:41:47 m.r...@5-cent.us wrote: > Hey, supergiantpotato (and btw, this list is plain text, not unicode, and > most of us don't read Japanese...), You are not using "plain text" and "unicode" correctly here. I've read pleasantly his emails in *plain text* encoded in *AS

Re: [CentOS] what percent of time are there unpatched exploits against default config?

2012-01-01 Thread Marc Deop
>Agreed. I don't even label as idiots the idiots who post here, asking us >to tell them how to do the job they were hired for, without any indication >that they've read man pages, or googled for an answer. Last time I checked you *were* in this list therefore you are calling yourself an idiot. J

Re: [CentOS] an actual hacked machine, in a preserved state

2012-01-03 Thread Marc Deop
On Tuesday 03 January 2012 07:57:47 Les Mikesell wrote: > On Tue, Jan 3, 2012 at 4:28 AM, Bennett Haselton > wrote: > > > > But assuming the attacker is targeting my production system, suppose > > they find a vulnerability and obtain the ability to run commands as root > > on the system. Then wo

Re: [CentOS] Write to USB pendrives horribly slow

2012-01-12 Thread Marc Deop
On Tuesday 10 January 2012 16:17:54 wwp wrote: > Hello there, > > > since I installed CentOS6 few months ago (kept up-to-date using yum), > I'm facing very poor performances when writing to USB pendrives. > > The hardware: a Dell Latitude E6500 laptop (Intel Core Duo P8600 > @2.40Ghz), 4Go RAM +

Re: [CentOS] defense-in-depth possible for sshd?

2012-01-13 Thread Marc Deop
On Thursday 12 January 2012 18:56:04 Bennett Haselton wrote: > Or is there a reason that an exploit against OpenVPN would be less > powerful than an exploit against sshd? Not really. The thing is that the tools are there but you have to use them *CORRECTLY* The OpenVPN server and the SSH server

Re: [CentOS] Is avahi essential?

2012-01-14 Thread Marc Deop
>ARP: In a traditional ethernet network, when you try to connect to a >machine on your local network with the number 10.20.30.40 then your >machine will send out an ARP broadcast packet "whois 10.20.30.40" and >then the machine in question will respond with its MAC address and then >the machines ca

Re: [CentOS] sshd: listen on ip1:port1 and ip2:port2

2012-01-24 Thread Marc Deop
On Tuesday 24 January 2012 14:06:25 Peter Eckel wrote: > don't do it unless there really is no other way, or the next guy who has to > figure out in a hurry what the system does will really, really hate you ... +1 I've been there... Regards ___ CentOS

Re: [CentOS] timeconfig

2012-02-01 Thread Marc Deop
On Tuesday 31 January 2012 14:08:20 Roberto Alvarado wrote: > cp -f /usr/share/zoneinfo/YOURTIMEZONE /etc/localtime > And you have to do that every time you update the glibc package. Any better way to configure time properly? Regards ___ CentOS mailin

Re: [CentOS] Bash scripting - Remotely ran commands break while loop

2012-02-03 Thread Marc Deop
ot breaking the while loop and it seems to be working but > it makes me nervous. > Curious I found this very same problem some days ago and wrote about it in my blog hehe :) All the options you have described in the thread will usually work but I suggest you to think about another option.

Re: [CentOS] script regular expression

2012-02-10 Thread Marc Deop
On Thursday 09 February 2012 23:38:51 sheraz naz wrote: > > #/bin/bash > > for i in $(cat certificates.txt) > > do > > echo $i > > done > > Bad practice. > > Try: > while read i;do echo $i;done < certificates.txt > -- That's the right solution, but don't forget to always quote your vari

Re: [CentOS] LDAP encryption, not sure.

2012-02-15 Thread Marc Deop
On Wednesday 15 February 2012 08:46:02 Fajar Priyanto wrote: > Say the case is like this. CompB is set to have LDAP authentication. > A ---> SSH ---> CompB ---> Local LDAP:389 ---> SASLAUTHD --> Global LDAP: 636 > > 1. Password on the SSH session would be encrypted, isn't it? > 2. How about when i

Re: [CentOS] Ways To Practice Breaking My System?

2012-02-22 Thread Marc Deop
On Wednesday 22 February 2012 10:27:56 Jobst Schmalenbach wrote: > I am glad to see I am NOT the only one doing this ... +1 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Please I'd like to install 2 websites on my un managed VPS on CentOS6

2012-02-23 Thread Marc Deop
On Thursday 23 February 2012 12:25:12 Wuxi Ixuw wrote: > Am I asking stupid questions to get no answers? > They're not stupid, just way too general. We could answer something like "apache gives me this error: blablabla" Regards ___ CentOS mailing lis

Re: [CentOS] Please I'd like to install 2 websites on my un managed VPS on CentOS6

2012-02-24 Thread Marc Deop
On Friday 24 February 2012 00:17:15 Wuxi Ixuw wrote: > This is a fortune ! > Sure you deserve but it i s beyond my ability. > But thanks for offering By the love of God, haven't you noticed that everybody is writing *below* your emails? Please, do not top-post (as you've been already told). A

Re: [CentOS] build rpm from tar.xz tarball

2012-02-29 Thread Marc Deop
On Wednesday 29 February 2012 02:11:25 fakessh @ wrote: > What is the correct procedure to build an rpm with this type of package > tar.xz AFAIK the %setup macro should be able to handle the decompression. If not, just do it yourself within the %prep section Regards PS: there's an rpm-list ( rp

Re: [CentOS] Is there a way to _remove_ dependencies from an RPM built from source?

2012-02-29 Thread Marc Deop
On Sunday 26 February 2012 20:39:03 Michael Lampe wrote: > So I can build, but the resulting RPM cannot be installed -- if not > forced. (No problems then as everything is there.) Why don't you add the files needed as dependencies to the spec file? (it's one of the beautis of the rpm system over

Re: [CentOS] [SOLVED] CUPS LAN printing problem (from Vista)

2011-07-19 Thread Marc Deop
On Monday 18 July 2011 20:59:18 Keith Roberts wrote: > On Mon, 18 Jul 2011, Keith Roberts wrote: > > > To: CentOS mailing list > > From: Keith Roberts > > Subject: Re: [CentOS] CUPS LAN printing problem (from Vista) > > > > On Mon, 18 Jul 2011, m.r...@5-cent.us wrote: > > > >> To: CentOS mailin

Re: [CentOS] lots of small files in a folder on Linux centos

2011-07-25 Thread Marc Deop
as follows (correct me if I'm wrong please)? 1- m5sum the file we need 2- look for the first letter of the hash 3- get into the directory 4- now we look for our file Is this right? I understand this would improve the searching of files when there's a lot of them. Thanks to anyone that

Re: [CentOS] non PAE support

2011-07-27 Thread Marc Deop
at if the installation just can't proceed if it detects you do not have a PAE processor? Regards, Marc Deop ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] non PAE support

2011-07-27 Thread Marc Deop
Unfortunately I do not have such system available :( The pentium M I'm using is PATA based an my other systems are SATA. I might be able to get an external hard drive or something like that... I'll look into it, thanks for the info anyway :) Regards Marc Deop On Wednesday 27 July

Re: [CentOS] running X as root in centos 6

2011-07-27 Thread Marc Deop
ols than to > spend the time putting out warning signs? If you need to get into X as root means that *you* are doing something *wrong*. It has nothing to do with an "underlying problem". Regards, Marc Deop ___ CentOS mailing list CentOS@

Re: [CentOS] non PAE support

2011-07-27 Thread Marc Deop
was no PAE support... I stopped trying. Then came this thread and was just wondering if it could be done. Just for the *fun* of it. Regards Marc Deop PS: sorry for the offtopic ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mail

Re: [CentOS] Adding the [SOLVED] Tag to break threads -- multiple factors

2011-07-28 Thread Marc Deop
Regards, Marc Deop On Thursday 28 July 2011 11:14:38 ken wrote: > On 07/28/2011 09:59 AM Tony Mountifield wrote: > > In article > > , > > Rudi Ahlers wrote: > >> On Thu, Jul 28, 2011 at 3:19 PM, Keith Roberts wrote: > >>> Is that why it's frowne

Re: [CentOS] Intel HD graphics & CentOS 6: Error inserting i915

2011-07-31 Thread Marc Deop
On Saturday 30 July 2011 16:40:45 Timo Neuvonen wrote: > (==) Using config file: "/etc/X11/xorg.conf" > FATAL: Error inserting i915 > (/lib/modules/2.6.32-71.29.1.el6.x86_64/kernel/drivers/gpu/drm/i915/i915.ko): > No such device > (EE) No devices detected. You need at least a 2.6.38 kernel. Fro

[CentOS] MySQL package to install on CentOS/RedHad 6.x

2011-08-02 Thread Marc Deop
I can see Oracle has packages for RedHad 5 but not for 6... Should I install the rpm for redhad even though they are built against 5? Or should I install the generic rpm package from Oracle? anyone knows the differences? Thanks in advance Regards, Marc Deop

Re: [CentOS] MySQL package to install on CentOS/RedHad 6.x

2011-08-03 Thread Marc Deop
On Tuesday 02 August 2011 11:20:17 John R Pierce wrote: > whats wrong with the packages built into CentOS 6 ? > I thought it was pretty much obvious was takling about a more updated version of MySQL. I was wrong. The thing is that I'd like to have the latest release ;) Regards

Re: [CentOS] rpmbuild environment CentOS5 vs CentOS6

2013-07-24 Thread Marc Deop
On Wednesday 03 July 2013 08:03:51 Kahlil Hodgson wrote: > make sure you have rpmdevtools > > yum install rpmdevtools > > then run > > rpmdev-setuptree > > to setup the ~/rpmbuild tree structure > > Hope this helps > > K > > > Kahlil (Kal) Hodgson GPG: C9A02289

Re: [CentOS] Question about dump on MySQL

2014-08-11 Thread Marc Deop Argemí
On Tuesday 12 August 2014 08:15:16 Alan McRae wrote: > echo "select * from users where id=20;" | mysql -u user -ppass -Ddb > > Alan McRae > > On 12/08/2014 08:10, Rodrigo Pichiñual Norin wrote: > > I need export an registers of a data base from command line. > > > > It is possible with mysqldump

Re: [CentOS] Change bash colours like in VIM

2011-08-18 Thread Marc Deop i Argemí
On 17/08/2011 23:51, Dotan Cohen wrote: > In VIM one can easily change colours with ":set backgorund=dark". This > doesn't actually change the background, but rather uses a colour > scheme that is designed for a dark background. Is there any quick > command like this for bash? I don't want to edit

Re: [CentOS] which firewall to automatically block bandwidth abusers?

2011-08-18 Thread Marc Deop i Argemí
On 18/08/2011 4:13, Craig White wrote: > On Wed, 2011-08-17 at 21:50 +0200, Rudi Ahlers wrote: >> Hi, >> >> I'm looking for a firewall (preferably on Linux / UNIX) that could >> automatically block bandwidth abusers as soon as a connection goes >> over a certain speed, or limit - i.e. either more t

Re: [CentOS] Change bash colours like in VIM

2011-08-18 Thread Marc Deop i Argemí
On 18/08/2011 12:26, Keith Roberts wrote: > On Thu, 18 Aug 2011, Marc Deop i Argemí wrote: > >> To: CentOS mailing list >> From: Marc Deop i Argemí >> Subject: Re: [CentOS] Change bash colours like in VIM >> >> On 17/08/2011 23:51, Dotan Cohen wrote: >>&

Re: [CentOS] Not receiving root mail

2011-08-22 Thread Marc Deop i Argemí
On 22/08/2011 15:29, Anne Wilson wrote: > On Monday 22 Aug 2011 13:12:54 Always Learning wrote: >> Once your email is out on the Internet is needs a genuine Internet email >> address. xxx.lan is known only to your internal system and it is not an >> Internet email address. >> > Exactly - and my pro

Re: [CentOS] Not receiving root mail

2011-08-23 Thread Marc Deop i Argemí
On 23/08/2011 11:46, Tony Mountifield wrote: > In article > , > Anne Wilson wrote: >> On 22 August 2011 20:50, Dennis Jacobfeuerborn wrote: >>> One of the first things I do after the installation of a system is a yum >>> install postfix followed by a yum remove sendmail. No need to deal with >>>