John R Pierce wrote:
> Ivan Arteaga wrote:
>
>> Hello,
>>
>> I have a server running CentOS 4.7 and I want to add a new USB-HD for
>> backup some data. I made the file system as ext3 with the command:
>> /
>> mkfs -t ext3 /dev/sdb1/
>>
>> After that I did add a new Volume Group and Logical Volu
Thanks guys,
I have done my changes in the sudoers file.
what i did is ; added a group with same access as root.
how i am able to use sudo. but there is a problem.
my machine is responding very slow for the sudo. It takes almost 3 minutes
to open a small file with command
sudo vim filename.con
Ivan Arteaga wrote:
> Hello,
>
> I have a server running CentOS 4.7 and I want to add a new USB-HD for
> backup some data. I made the file system as ext3 with the command:
> /
> mkfs -t ext3 /dev/sdb1/
>
> After that I did add a new Volume Group and Logical Volume
> (/VolGrup01-LogVol01) /on that
Hello,
I have a server running CentOS 4.7 and I want to add a new USB-HD for
backup some data. I made the file system as ext3 with the command:
/
mkfs -t ext3 /dev/sdb1/
After that I did add a new Volume Group and Logical Volume
(/VolGrup01-LogVol01) /on that file system and mounted it as /back
> I do not use ftp much lately, but my bro did and noticed we cannot ftp to
> the server since the upgrade.
>
> Using VSFTP.
> Tried rebooting but nothing.
>
> Looks like it goes through the whole process and then 'bam'.
> Could not find an error log that listed the error anywhere.
>
> Worked great
I do not use ftp much lately, but my bro did and noticed we cannot ftp to
the server since the upgrade.
Using VSFTP.
Tried rebooting but nothing.
Looks like it goes through the whole process and then 'bam'.
Could not find an error log that listed the error anywhere.
Worked great before 5.4 updat
On 10/28/2009 08:39 AM Anne Wilson wrote:
> The big update caused one of the rare re-starts on my mail server, so I saw
> the startup messages that I had forgotten about.
>
> Oct 28 10:50:04 borg2 python: [3424]: warning: python-dbus not installed.
> Oct 28 10:50:04 borg2 python: hp-systray[3424]
> m.r...@5-cent.us wrote:
>> This is irritating: I've got a server I just upgraded to 5.4, then
>> rebooted, only to discover that it just *sits* there at the grub boot
>> menu. I looked at grub.conf, and uncommented hiddenmenu (which should
>> have been done long ago).
>>
>> It *still* sits there
On Wed, Oct 28, 2009 at 10:39:41PM +0530, Truejack wrote:
>
>Need a scripting help to sort out a list and list all the duplicate lines.
>
>My data looks somethings like this
>
>host6:dev406mum.dd.mum.test.com:22:11:11:no
>host7:dev258mum.dd.mum.test.com:36:17:19:no
A key to your
m.r...@5-cent.us wrote:
> This is irritating: I've got a server I just upgraded to 5.4, then
> rebooted, only to discover that it just *sits* there at the grub boot
> menu. I looked at grub.conf, and uncommented hiddenmenu (which should have
> been done long ago).
>
> It *still* sits there when I r
Dear Ryan.
>>> iptables -A OUTPUT -p UDP -d $IP1-j DROP
>>> iptables -A OUTPUT -p TCP -d $IP1 -j DROP
>>> iptables -A OUTPUT -p UDP -d $IP2 -j DROP
>>> iptables -A OUTPUT -p TCP -d $IP2 -j DROP
>>
>> That's what I am doing atm. Thanks for the update.
>
> BTW, if you have some complex chain of
On Wed, Oct 28, 2009 at 16:36, Marcus Moeller wrote:
>> You would have to specify the required match space across multiple
>> rules, maybe something like this:
>>
>> iptables -A OUTPUT -p UDP -d $IP1-j DROP
>> iptables -A OUTPUT -p TCP -d $IP1 -j DROP
>> iptables -A OUTPUT -p UDP -d $IP2 -j DRO
Hi all,
does it work to define iptables rules with a fqdn as destination
instead of an IP address? Or is it useful to resolve the name first
using e.g. nslookup, writing the result to a variable which is then
used within the -d statement?
Best Regards
Marcus
__
Dear Ryan.
>> is there a way to combine iptables parameters like: iptables -A OUTPUT
>> -p UDP & -p TCP -d $IP1 & -d $IP2 ?
>
> Each of those parameters is called a "match", in IPTables-speak. You
> can specify multiple matches in one rule, but all matches are combined
> with an implicit logical A
> On Wed, 28 Oct 2009, m.r...@5-cent.us wrote:
>
>> This is irritating: I've got a server I just upgraded to 5.4, then
>> rebooted, only to discover that it just *sits* there at the grub boot
>> menu. I looked at grub.conf, and uncommented hiddenmenu (which should
>> have been done long ago).
>>
>>
On Wed, Oct 28, 2009 at 15:32, Marcus Moeller wrote:
> is there a way to combine iptables parameters like: iptables -A OUTPUT
> -p UDP & -p TCP -d $IP1 & -d $IP2 ?
Each of those parameters is called a "match", in IPTables-speak. You
can specify multiple matches in one rule, but all matches are co
> m.r...@5-cent.us wrote:
>>> Need a scripting help to sort out a list and list all the duplicate
>>> lines.
>>>
>>> My data looks somethings like this
>>>
>>> host6:dev406mum.dd.mum.test.com:22:11:11:no
>>> host7:dev258mum.dd.mum.test.com:36:17:19:no
>>> host7:dev258mum.dd.mum.test.com:36:17:19:no
m.r...@5-cent.us wrote:
>> Need a scripting help to sort out a list and list all the duplicate lines.
>>
>> My data looks somethings like this
>>
>> host6:dev406mum.dd.mum.test.com:22:11:11:no
>> host7:dev258mum.dd.mum.test.com:36:17:19:no
>> host7:dev258mum.dd.mum.test.com:36:17:19:no
>> host17:de
> Need a scripting help to sort out a list and list all the duplicate lines.
>
> My data looks somethings like this
>
> host6:dev406mum.dd.mum.test.com:22:11:11:no
> host7:dev258mum.dd.mum.test.com:36:17:19:no
> host7:dev258mum.dd.mum.test.com:36:17:19:no
> host17:dev258mum.dd.mum.test.com:31:17:19
On Wed, 28 Oct 2009, m.r...@5-cent.us wrote:
> This is irritating: I've got a server I just upgraded to 5.4, then
> rebooted, only to discover that it just *sits* there at the grub boot
> menu. I looked at grub.conf, and uncommented hiddenmenu (which should have
> been done long ago).
>
> It *stil
This is irritating: I've got a server I just upgraded to 5.4, then
rebooted, only to discover that it just *sits* there at the grub boot
menu. I looked at grub.conf, and uncommented hiddenmenu (which should have
been done long ago).
It *still* sits there when I reboot. Any clues, folks?
On 10/28/2009 12:36 PM, Les Mikesell wrote:
> Does anyone know if the just-released vmware server 2.0.2 was supposed
> to fix the glibc incompatibility with RHEL/Centos 5.4? (It didn't on
> the first box where I tried it...).
>
I upgraded server first, then (glibc glibc-common glibc-devel
glibc-
Does anyone know if the just-released vmware server 2.0.2 was supposed
to fix the glibc incompatibility with RHEL/Centos 5.4? (It didn't on
the first box where I tried it...).
--
Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentO
Hi all,
is there a way to combine iptables parameters like: iptables -A OUTPUT
-p UDP & -p TCP -d $IP1 & -d $IP2 ?
Best Regards
Marcus
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Andrew Hull wrote:
> Karanbir Singh wrote:
>
> Karanbir,
> Thank you so much for taking the time to write that reply. Reading about
> the process of pushing out updates gave me a new appreciation for what
> you and the rest of "the team" does for me "the consumer".
>
> Thank you, thank you, tha
Les Mikesell a écrit :
>
> Personally, I'd run backuppc (http://backuppc.sourceforge.net/ or the
> epel package) and take the whole tree because (a)it will compress the
> files and link all duplicates so it doesn't waste that much space, (b)
> when you need a copy you'll have it instead of fin
I think it can be optimized, and if programing language doesn't matter:
#!/usr/bin/python
file="test.txt"
fl = open(file,'r')
toParse = fl.readlines()
fl.close()
dublicates = []
firstOne = []
for ln in toParse:
ln=ln.strip()
lnMap = ln.split(':')
target = lnMap[2]
if target in firs
John Doe a écrit :
> From: Niki Kovacs
>> Let's say I want to backup a bunch of configuration files with rsync, in
>> a script.
>
> See --files-from=FILE in rsync manpage
>
One general remark: I have one more reason to love this distro. I'm
posting a message about a rather quirky rsync option
Niki Kovacs wrote:
> rsync -av /etc/httpd/conf/httpd.conf destinationfolder/
>
> I get something like :
>
> destinationfolder/httpd.conf
>
> QUESTION (at last) : is there a way rsync can somehow add the full file
> path, so the end result is more like :
>
> destinationfolder/etc/httpd/conf/ht
On 2009-10-28 18:09, Truejack wrote:
> Need a scripting help to sort out a list and list all the duplicate lines.
>
> My data looks somethings like this
>
> host6:dev406mum.dd.mum.test.com:22:11:11:no
> host7:dev258mum.dd.mum.test.com:36:17:19:no
> host7:dev258mum.dd.mum.test.com:36:17:19:no
> ho
>
>From: Truejack
>To: centos@centos.org
>Sent: Wed, October 28, 2009 6:09:41 PM
>Subject: [CentOS] Scripting help please
>
>Need a scripting help to sort out a list and list all the duplicate lines.
>
>My data looks somethings like this
>
>host6:dev406mum.dd.mum.test.com:22:11:11:no
>host7
James Pearson a écrit :
>
> Does the -R option help?
>
Bingo! That's the one I've been looking for.
Thanks very much!
Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
From: Niki Kovacs
> Let's say I want to backup a bunch of configuration files with rsync, in
> a script.
See --files-from=FILE in rsync manpage
JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
2009/10/28 Neil Aggarwal :
> I dont know how to do this in a script.
Could be a job for awk.
Bit too busy at work to look into it further at the moment though.
Ben
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/cento
On Wed, Oct 28, 2009 at 12:18 PM, Niki Kovacs wrote:
> Hi,
>
> I have a bit of a tricky question about rsync.
>
> Let's say I want to backup a bunch of configuration files with rsync, in
> a script.
>
> What I don't want to do : a full snapshot of /etc.
> What I want to do : backup only those file
Niki Kovacs wrote:
> Hi,
>
> rsync -av /etc/httpd/conf/httpd.conf destinationfolder/
>
> I get something like :
>
> destinationfolder/httpd.conf
This is normal because your copying a file not a tree
>
> QUESTION (at last) : is there a way rsync can somehow add the full file
> path, so the end res
Niki Kovacs wrote:
>
> QUESTION (at last) : is there a way rsync can somehow add the full file
> path, so the end result is more like :
>
> destinationfolder/etc/httpd/conf/httpd.conf ?
>
> Any suggestions ?
Does the -R option help?
James Pearson
__
On Wed, Oct 28, 2009 at 5:18 PM, Niki Kovacs wrote:
> Hi,
>
> I have a bit of a tricky question about rsync.
>
> Let's say I want to backup a bunch of configuration files with rsync, in
> a script.
>
> What I don't want to do : a full snapshot of /etc.
> What I want to do : backup only those files
I wonder if you can do this in two steps:
1. Parse out the unique values from the thrid column into
a file.
2. Run the processor on the script to print where the
third column matches one of the values identified.
I dont know how to do this in a script.
I would write a simple Java progra
On Wed, Oct 28, 2009 at 3:38 PM, wrote:
>> On Wed, Oct 28, 2009 at 12:32 PM, lostson
>> wrote:
>>> Hello
>>> I threw together some Seamonkey 2.0 rpms for i386 and you can grab
>>> them from here
>>>
>>> http://lostsonsvault.org/dls/centos/
>>>
>>> I dont have a 64 bit one yet but if someone
Hi,
I have a bit of a tricky question about rsync.
Let's say I want to backup a bunch of configuration files with rsync, in
a script.
What I don't want to do : a full snapshot of /etc.
What I want to do : backup only those files I need, in an otherwise
empty directory tree.
In my script, I'd
Need a scripting help to sort out a list and list all the duplicate lines.
My data looks somethings like this
host6:dev406mum.dd.mum.test.com:22:11:11:no
host7:dev258mum.dd.mum.test.com:36:17:19:no
host7:dev258mum.dd.mum.test.com:36:17:19:no
host17:dev258mum.dd.mum.test.com:31:17:19:no
host12:dev
The Release notes indicate that fencing support for the Cisco MDS 9124
and 9134 Fabric Switches have been added as a Technology Preview. I'd
love to use this but it doesn't seem to be visible as a choice when
using the web interface for configuring the cluster. I'm not averse to
doing it by han
Karanbir Singh wrote:
> This is now normal, but it hasent been like this in the past. Over the
> last 8 months the updates for CentOS-5 have come from a mostly automated
> system and one of the fallouts is that this system will nominate and
> track update state on a few external mirrors before d
-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :
http://lists.centos.org/pipermail/cent
> On Wed, Oct 28, 2009 at 12:32 PM, lostson
> wrote:
>> Hello
>> I threw together some Seamonkey 2.0 rpms for i386 and you can grab
>> them from here
>>
>> http://lostsonsvault.org/dls/centos/
>>
>> I dont have a 64 bit one yet but if someone would like to rebuild the
>> src.rpm for 64 I will
Yeah! I agree you !!
You also can edit it and quit with :wq! in the Vi command ~~
On Wed, Oct 28, 2009 at 10:06 PM, Robert Spangler
wrote:
> On Wednesday 28 October 2009 04:11, vijay shanker wrote:
>
> > This file MUST be edited with the 'visudo' command as root.
>
> NO, it MUST not be edited
On Wednesday 28 October 2009 04:11, vijay shanker wrote:
> This file MUST be edited with the 'visudo' command as root.
NO, it MUST not be edited with 'visudo'.
YES, you should use 'visudo'.
You can edit sudoer with vi or vim and save the changes too. Just read what
it tells you you need to do
On Wed, Oct 28, 2009 at 12:32 PM, lostson wrote:
> Hello
> I threw together some Seamonkey 2.0 rpms for i386 and you can grab
> them from here
>
> http://lostsonsvault.org/dls/centos/
>
> I dont have a 64 bit one yet but if someone would like to rebuild the
> src.rpm for 64 I will
> gladly hos
On Oct 28, 2009, at 2:59, Mogens Kjaer wrote:
> If your locale is UTF8, íéèæøå would be multibyte characters.
>
> If your characters are one byte only, they are not UTF-8.
That was the key: the file was not UTF-8.
> vim knows how to handle this correctly:
Yes, it apparently does. It almost app
On Oct 27, 2009, at 19:28, ken wrote:
> E.g., create a file with vi with just one German/Greek/French word,
> say,
> Έντελέχεια (Entylecheia, an ancient Greek word). If the
> name of the
> file is "nonenglish", then, after you do your save in vim, run the
> shell
> commands
>
> touch temp;
Jerry Geis wrote:
> I have been trying to find out if the /etc/aliases file
> can accept wildcards in the user name
>
> I was hoping that a line like or similiar:
>
> machine*: myaccount
>
> would take any name matching machine* and forward onto the myaccount
> mailbox.
>
> man aliases didnt r
> machine*: myaccount
>
> would take any name matching machine* and forward onto the
> myaccount
> mailbox.
Would putting a wildcard in /etc/mail/virtusertable
solve the problem?
Neil
--
Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
CentOS 5.4 KVM VPS $55/mo, no setup fe
Ken:
You can set the machine up to use VNC for the
console.
Then, give the person a normal login which they will
use to login to the machine from the console interface.
Basically, it will be just like they are sitting at
the machine a logging in with a user account.
I would also require the VNC
On Wed, Oct 28, 2009 at 12:32 PM, lostson wrote:
> Hello
> I threw together some Seamonkey 2.0 rpms for i386 and you can grab
> them from here
>
> http://lostsonsvault.org/dls/centos/
>
> I dont have a 64 bit one yet but if someone would like to rebuild the
> src.rpm for 64 I will
> gladly hos
On Wed, Oct 28, 2009 at 3:14 AM, Jerry Geis wrote:
> I have been trying to find out if the /etc/aliases file
> can accept wildcards in the user name
>
> I was hoping that a line like or similiar:
>
> machine*: myaccount
>
> would take any name matching machine* and forward onto the myaccount
> mai
Jerry Geis writes:
> I have been trying to find out if the /etc/aliases file
> can accept wildcards in the user name
>
> I was hoping that a line like or similiar:
>
> machine*: myaccount
>
> would take any name matching machine* and forward onto the myaccount
> mailbox.
>
> man aliases didnt
On 10/28/2009 12:32 PM, lostson wrote:
>Hello
>I threw together some Seamonkey 2.0 rpms for i386 and you can grab
> them from here
>
>http://lostsonsvault.org/dls/centos/
>
>I dont have a 64 bit one yet but if someone would like to rebuild the
> src.rpm for 64 I will
> gladly host i
The big update caused one of the rare re-starts on my mail server, so I saw
the startup messages that I had forgotten about.
Oct 28 10:50:04 borg2 python: [3424]: warning: python-dbus not installed.
Oct 28 10:50:04 borg2 python: hp-systray[3424]: warning: Qt/PyQt 4
initialization failed.
Oct 28
Hello
I threw together some Seamonkey 2.0 rpms for i386 and you can grab
them from here
http://lostsonsvault.org/dls/centos/
I dont have a 64 bit one yet but if someone would like to rebuild the
src.rpm for 64 I will
gladly host it, thanks.
LostSon
___
From: ken
> At work I've been asked to set up vnc for a remote user (a vendor
> sysadmin to install 3d party software we've purchased). Of course I'm a
> bit skittish about allowing root access to this. Is there a way to
> configure vnc so that root cannot log in through it...? Or do I have to
Hi,
On 10/28/2009 03:26 AM, Kevin White wrote:
> I haven't paid close enough attention in the past to see if this was
> "normal"...for the updates to appear before the repodata. It does make
> sense that that would be the case, to allow things to propagate.
This is now normal, but it hasent been
Hi,
On Tue, Oct 27, 2009 at 9:35 PM, Gšötz Reinicke - IT Koordinator
wrote:
> we run an "old" mailserver system which was set up a couple of years
> ago. The systme dose "everything" what we need(ed). Over the last days I
> noticed an unnormal increase of the system load up to 10 and lots of
> us
At work I've been asked to set up vnc for a remote user (a vendor
sysadmin to install 3d party software we've purchased). Of course I'm a
bit skittish about allowing root access to this. Is there a way to
configure vnc so that root cannot log in through it...? Or do I have to
use some other util
On 10/28/2009 01:33 AM John R Pierce wrote:
> hadi motamedi wrote:
>> Thank you very much for your reply . Can you please do me favor and
>> let me know where I have to check for the scripts that may wipe out
>> these files on reboot ? How can I check if /var/spool on transient
>> storage ?
>>
Alle,
Does anyone know a good HOWTO on translating OpenLDAP ACLs to CentOS
Directory Server ACIs?
Best Regards,
Camron
--
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com
__
Thanks Ivan;
I am done with my desired changes
:)
Regards,
Vijay Shanker Dubey
Ph: +91-9818311884
On Wed, Oct 28, 2009 at 1:40 PM, Ivan Varbanov <
burnbrain.mailing.li...@gmail.com> wrote:
> Try with visudo
>
> On Wed, Oct 28, 2009 at 9:59 AM, vijay shanker wrote:
>
>> Hi all,
>>
>> I am pla
yes got it
This file MUST be edited with the 'visudo' command as root.
above line is in comments of sudoers file.
:)
Thanks larry
Regards,
Vijay Shanker Dubey
Ph: +91-9818311884
On Wed, Oct 28, 2009 at 1:38 PM, Larry Ivan Brower wrote:
> You should be using visudo for editing the file
>
>
Try with visudo
On Wed, Oct 28, 2009 at 9:59 AM, vijay shanker wrote:
> Hi all,
>
> I am planning to edit sudoers files in /etc.
>
> when i open this wiht vim command and change some thing it said "this file
> is read only"
>
> Is this okay to change the status of sudoers files. or any implicati
Hi all;
One thing more does there any tool in GNOME which can be used to edit
sudoers file.
:)
Thanks..
Regards,
Vijay Shanker Dubey
Ph: +91-9818311884
On Wed, Oct 28, 2009 at 1:29 PM, vijay shanker wrote:
> Hi all,
>
> I am planning to edit sudoers files in /etc.
>
> when i open this wiht
Hi all,
I am planning to edit sudoers files in /etc.
when i open this wiht vim command and change some thing it said "this file
is read only"
Is this okay to change the status of sudoers files. or any implication?
please point
Regards,
Vijay Shanker Dubey
Ph: +91-9818311884
71 matches
Mail list logo