Re: [CentOS] non-privaledged reboot ???
On Sat, 2007-07-07 at 22:51 -0700, Robert - eLists wrote: Greetings On centos 5, if I ssh in as a regular non-superuser account and go to the sbin dir to issue a reboot command, it wont do it as says you must be superuser If you are on the console logged in as a non-superuser account and do the same thing, it will reboot. Is this a feature, or a bug? If you're at the console you can usually just push the reset or power button *anyways*, so it's a non-bug. I believe you can edit the appropriate entries in /etc/pam.d if you really want to change this. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] non-privaledged reboot ???
Not necessarily true. Lots of people use remote KVM's :) So just because someone has access to the console does not mean they have physical access to the server. -matt On 7/8/07, Ignacio Vazquez-Abrams [EMAIL PROTECTED] wrote: On Sat, 2007-07-07 at 22:51 -0700, Robert - eLists wrote: Greetings On centos 5, if I ssh in as a regular non-superuser account and go to the sbin dir to issue a reboot command, it wont do it as says you must be superuser If you are on the console logged in as a non-superuser account and do the same thing, it will reboot. Is this a feature, or a bug? If you're at the console you can usually just push the reset or power button *anyways*, so it's a non-bug. I believe you can edit the appropriate entries in /etc/pam.d if you really want to change this. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum download with erros pertaining libpurple
Gregory P. Ennis wrote: Has anyone else had problems with a recent yum download with libpurple on an X64 machine? whats an X64 machine ? Error: Missing Dependency: libmeanwhile.so.1 is needed by package libpurple libmeanwhile is provided in the repo.. - KB -- Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Seeking pointers to info about LVM migration and performance
On 7/6/07, John R Pierce [EMAIL PROTECTED] wrote: umount /dev/sdb1 tunefs -j /dev/sdb1 vi /etc/fstab(and, change ext2 to ext3 on the mount line for this filesystem) mount /dev/sdb1 and voila, its EXT3 now, with journalling. Thanks, John, but is that really the whole answer? Once it's ext3 it can be put into a volume group with no further ado? I would think that (particularly with a striped LVM such as Johnny mentioned) there has to be something else invovled. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Seeking pointers to info about LVM migration and performance
Bart Schaefer wrote: On 7/6/07, John R Pierce [EMAIL PROTECTED] wrote: umount /dev/sdb1 tunefs -j /dev/sdb1 vi /etc/fstab(and, change ext2 to ext3 on the mount line for this filesystem) mount /dev/sdb1 and voila, its EXT3 now, with journalling. Thanks, John, but is that really the whole answer? Once it's ext3 it can be put into a volume group with no further ado? I would think that (particularly with a striped LVM such as Johnny mentioned) there has to be something else invovled. You would need to copy the info off, create partitions, then PVs, then VG(s), LVs ... then use mke2fs -j to make the file systems on the LVs ... then copy the files back. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] non-privaledged reboot ???
Matt Shields schrieb am 08.07.2007 14:32: On 7/8/07, Ignacio Vazquez-Abrams [EMAIL PROTECTED] wrote: On Sat, 2007-07-07 at 22:51 -0700, Robert - eLists wrote: Greetings On centos 5, if I ssh in as a regular non-superuser account and go to the sbin dir to issue a reboot command, it wont do it as says you must be superuser If you are on the console logged in as a non-superuser account and do the same thing, it will reboot. Is this a feature, or a bug? If you're at the console you can usually just push the reset or power button *anyways*, so it's a non-bug. I believe you can edit the appropriate entries in /etc/pam.d if you really want to change this. Not necessarily true. Lots of people use remote KVM's :) So just because someone has access to the console does not mean they have physical access to the server. That's true, but you can push CRTL-ALT-DEL and the computer reboots, even if you're not logged in. Greets René -- GEEKCODE: GIT$ d- s+: a- C+++ UL$ P+ L++ E--- W+++ N+ !o K- w+ O- M-- V- PS+ PE Y+ PGP++ t++ 5++ X+ R tv+ b DI D++ G e+ h--- r++ y+++ PGP-Key and more available at http://www.standfest.net My Blog is at http://www.gaudidiecher.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Seeking pointers to info about LVM migration and performance
On 7/7/07, Johnny Hughes [EMAIL PROTECTED] wrote: Bart Schaefer wrote: - What kind of performance can we expect from an LVM group as compared to mounting the RAID array directly? OK, the answer to this question is ... RAID and LVM can be used together, or individually. Thanks for confirming that, though in this case it's a hardware RAID so I wouldn't expect LVM to need to treat it as anything other than big disk. If you have 2 or more drives that are the same in the machine, you can Stripe your LVM. Could you clarify that are the same? The primary point of this excercise is to make the filesystem resizable. It's already impossible to buy exactly the configuration of new hardware that's already attached; we wouldn't want to be limited to adding identical extents every time we expanded the storage. LVM done this way is quite fast ... but obviously you would need to provide another way to protect your data. Presumably using hardware RAIDs as the physical volumes would take care of that. Thanks for the information. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] non-privaledged reboot ???
On Sun, 8 Jul 2007, René Standfest wrote: Matt Shields schrieb am 08.07.2007 14:32: On 7/8/07, Ignacio Vazquez-Abrams [EMAIL PROTECTED] wrote: On Sat, 2007-07-07 at 22:51 -0700, Robert - eLists wrote: Greetings On centos 5, if I ssh in as a regular non-superuser account and go to the sbin dir to issue a reboot command, it wont do it as says you must be superuser If you are on the console logged in as a non-superuser account and do the same thing, it will reboot. Is this a feature, or a bug? If you're at the console you can usually just push the reset or power button *anyways*, so it's a non-bug. I believe you can edit the appropriate entries in /etc/pam.d if you really want to change this. Not necessarily true. Lots of people use remote KVM's :) So just because someone has access to the console does not mean they have physical access to the server. That's true, but you can push CRTL-ALT-DEL and the computer reboots, even if you're not logged in. Can't C-A-D be filesystem trapped to prevent the system from rebooting with that key combo? If so, that could negate that option if the fs is configued as such. Scott Greets René -- GEEKCODE: GIT$ d- s+: a- C+++ UL$ P+ L++ E--- W+++ N+ !o K- w+ O- M-- V- PS+ PE Y+ PGP++ t++ 5++ X+ R tv+ b DI D++ G e+ h--- r++ y+++ PGP-Key and more available at http://www.standfest.net My Blog is at http://www.gaudidiecher.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Seeking pointers to info about LVM migration and performance
On 7/8/07, Johnny Hughes [EMAIL PROTECTED] wrote: Well ... if you are using hardware RAID, then striping LVM will likely not give you any benefit speed wise. (Unless multiple controllers are used and read/write can be done in parallel). The speed benefit happens if LVM can stripe the sectors to SATA or SCSI drives where simultaneous read/writes can happen. With hardware RAID, the controller normally handles all that, so LVM striping is not normally done. What we have is a hardware RAID enclosure that already has all the drives it can handle, and is approaching capacity. So what we're currently considering is adding an entire additional RAID device and using LVM to combine them into a VG as a pair of SCSI drives. So it appears we could configure them as either striped or linear, and LVM2 would handle growing even a striped configuration if we add a third RAID later. A performance boost from LVM striping would be a bonus, but what I'm really asking is whether there's a penalty for LVM linear. I hadn't considered, though, that we could also rotate larger drives into the existing RAID and then grow the filesystem once they were all upgraded. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] non-privaledged reboot ???
Scott Ehrlich schrieb am 08.07.2007 21:01: On Sun, 8 Jul 2007, René Standfest wrote: Matt Shields schrieb am 08.07.2007 14:32: On 7/8/07, Ignacio Vazquez-Abrams [EMAIL PROTECTED] wrote: On Sat, 2007-07-07 at 22:51 -0700, Robert - eLists wrote: Greetings On centos 5, if I ssh in as a regular non-superuser account and go to the sbin dir to issue a reboot command, it wont do it as says you must be superuser If you are on the console logged in as a non-superuser account and do the same thing, it will reboot. Is this a feature, or a bug? If you're at the console you can usually just push the reset or power button *anyways*, so it's a non-bug. I believe you can edit the appropriate entries in /etc/pam.d if you really want to change this. Not necessarily true. Lots of people use remote KVM's :) So just because someone has access to the console does not mean they have physical access to the server. That's true, but you can push CRTL-ALT-DEL and the computer reboots, even if you're not logged in. Can't C-A-D be filesystem trapped to prevent the system from rebooting with that key combo? If so, that could negate that option if the fs is configued as such. You can change the behavior ov C-A-D in /etc/inittab. I changed it to ca::crtlaltdel:/bin/echo Nix da! to prevent a reboot if I push the keycombo faulty. Greets René -- GEEKCODE: GIT$ d- s+: a- C+++ UL$ P+ L++ E--- W+++ N+ !o K- w+ O- M-- V- PS+ PE Y+ PGP++ t++ 5++ X+ R tv+ b DI D++ G e+ h--- r++ y+++ PGP-Key and more available at http://www.standfest.net My Blog is at http://www.gaudidiecher.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Simple Question about Resolving Names without suffix with bind
Yes, it works. The DNS search suffix matters. Thank you all! On 7/8/07, Steven Haigh [EMAIL PROTECTED] wrote: On 08/07/2007, at 1:24 PM, Gregory P. Ennis wrote: On Sat, 2007-07-07 at 12:58 +0800, Wei Yu wrote: Hi I am trying to use Bind as named. And I have successfully set up a chrooted bind. Anyway, I cannot have it resolve www directly. For example, when I am using nslookup, when enter www.example.com, it will resolve. But when enter www, it will not. I want to have www resolve to www.example.com, what should I do? I have already set $ORIGIN in the zone file, but it does not work. Thanks. If you have created a zone file for example.com in /var/named/chroot/var/named/example.zone All you need to do is to add the entry below to your zone file www A ###.###.###.### This is what I did anyway, and it is working great!! Not quite This will only add a www record to your domain... What I think the original poster wants is to use the DNS Seach suffix functions of DHCP. This will add the prefix automatically when the host tries to search for a DNS entry... $ cat /etc/resolv.conf search example.com nameserver x.x.x.x nameserver x.x.x.x This will get you the desired results. You set it in your dhcpd.conf file as so: option domain-name example.com; -- Steven Haigh Email: [EMAIL PROTECTED] Web: http://www.crc.id.au Phone: (03) 9017 0597 - 0404 087 474 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Zijing 15# 1404B Tsinghua Univ. +86 -10 -51537235 Zig ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] DTLS for Centos?
Is DTLS available for Centos? Either Centos 4 or 5. DTLS is TLS over UDP. Highly valued to protect SIP traffic. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos