Re: [CentOS] OT: Scripting with sudo password
You can use expect man expect. You can also export ssh key of regular user to do remote then su to root put everything on expect. On 11/14/07, James A. Peltier <[EMAIL PROTECTED]> wrote: > Completely off topic, but I'm sure someone out there is using scripts > that require a sudo password of some sort, so I'll ask. > > What are people doing to automate tasks that required sudo passwords in > order to run? sudo without a password is not an option for me, but I > would like to be able to enter the password once have it saved and then > read back when sudo is required. > > something like > > run_on_all_hosts perform_sudo_command > script prompts for password > script lauches on all hosts and passes password when required. > > Any examples? > > -- > James A. Peltier > Technical Director, RHCE > SCIRF | GrUVi @ Simon Fraser University - Burnaby Campus > Phone : 778-782-3610 > Fax : 778-782-3045 > Mobile : 778-840-6434 > E-Mail : [EMAIL PROTECTED] > Website : http://gruvi.cs.sfu.ca | http://scirf.cs.sfu.ca > MSN : [EMAIL PROTECTED] > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- sometimes truth is stranger than fiction -bad religion- http://www.bloglines.com/blog/mailist ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell Wireless WLAN Card Utility - mini-pci wireless card 1390
or for $15 bucks at e-bay you can buy an Intel Pro/Wireless, its worth it, :) On 11/18/07, Alain Spineux <[EMAIL PROTECTED]> wrote: > On Nov 18, 2007 8:40 PM, Andrew Allen <[EMAIL PROTECTED]> wrote: > > Is there any way I can find a driver and/or get the above wireless card > > working in CentOS 5 on my Dell laptop (Inspiron 1501). I've installed > > ipw2200 from RPMForge, but it now appears that this won't work because > > the card is not an Intel PRO/Wireless card. Dell seem to support only MS > > Windows Vista now so I don't think there's much chance of getting a > > driver from them - so am I on a fruitless 'crusade' in trying to get > > wifi in CentOS 5 in this case? Any helpful advice much appreciated > > please? > > You can try ndiswrapper. > This software let you use the native windows driver. This is not > working with all > the driver but must of them. And you have some luck with your DELL 1390 : > > http://www.linuxquestions.org/questions/susenovell-60/10.2-64-broadcom-wifi-with-ndiswrapper-514676/ > > Install ndiswrapper, copy the windows drivers at the good place and voila. > > Find and read the appropriate documentation for installing ndiswrapper > on centos ( or fedora ) > > A tips: Try first without any encryption. > > > > > Thanks, > > Andy > > > > ___ > > CentOS mailing list > > CentOS@centos.org > > http://lists.centos.org/mailman/listinfo/centos > > > > > > -- > Alain Spineux > aspineux gmail com > May the sources be with you > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- sometimes truth is stranger than fiction -bad religion- http://www.bloglines.com/blog/mailist ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What is equivalent to MS OUTLOOK ?
I'm using Evolution as MUA backend is MSExchange. On 12/12/07, Indunil Jayasooriya <[EMAIL PROTECTED]> wrote: > Hi All, > > I am looking for an open source email client package that is equivalent to > MS OUTLOOK. > > Clients are running Windows XP and Vista and Linux. So the package should be > able to run on both Windows And Linux. > > Mail server is running Ms Exchange. So this client pkg should be able to > access Global Address book of the MS Exchange Server just as MS OUTLOOK. > > What about evolution ? > > Pls see, below URL > > http://www.gnome.org/projects/evolution/ > > Can it do fulfil my requirements? or do you know any other pkg that can > fulfil these requirements? > > > > -- > Thank you > Indunil Jayasooriya > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > -- ^^^ sometimes truth is stranger than fiction -bad religion- http://www.bloglines.com/blog/mailist ^^^ I don't think the computers will take over the world. I have a bucket of water. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Turning Wireless Radio on and off: how?
Have you try checking your bios if the wireless is default to off? On 1/7/08, Mark Weaver <[EMAIL PROTECTED]> wrote: > Hi all, > > I've got a Dell Inspiron 1501 with a Broadcom 1390 Wlan mini card > (integrated) wireless lan chipset. I've got an init script setup to > activate the wireless connection at boot time, however when the system > boots the adapter doesn't connect. I'm not able to get a connection > until after the desktop is done loading and I run the script from the > command line. > > After some log review apparently as the system is booting the radio for > the wireless lan card is "off", so I need to know how to turn the > wireless radio on just before the init script for the adapter fires off. > > How can I turn on/off the wireless lan radio? > > I'm using ndiswrapper and the dell windows driver for this wireless card. > > > thanks, > > Mark > ___ > 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] African IP addresses list
> how terribly shocking... > I suggest also blocking China, 'cause they're commies, and France because > they eat frogs What about those who eat alligators. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hardware serial number access from (a) command(s)
dmidecode should work in any Linux: man dmidecode DMIDECODE(8) DMIDECODE(8) NAME dmidecode - DMI table decoder SYNOPSIS dmidecode [OPTIONS] DESCRIPTION dmidecode is a tool for dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format. This ta‐ ble contains a description of the system's hardware compo‐ nents, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe for the actual hardware. While this is a good point in terms of report speed and safeness, this also makes the presented information possibly unreliable. ^^^ sometimes truth is stranger than fiction -bad religion- http://www.bloglines.com/blog/mailist ^^^ I don't think the computers will take over the world. I have a bucket of water. On Mon, Jul 28, 2008 at 1:34 PM, Stephen Harris <[EMAIL PROTECTED]> wrote: > On Mon, Jul 28, 2008 at 11:26:30AM -0700, MHR wrote: > > Over the weekend, I had to make a technical support call on one of my > > DVD burners, and at one point the recorded message mentioned I should > > have my serial number handy. I thought there was a way to read that > > from at least one piece of software on the system, but I couldn't > > remember one and man -k on a number of subjects was unrevealing. > > On a Dell, "dmidecode" will give you the serial number of the system. > (I can see motherboard, chasis, memory sticks on my machine). > > Doubt if you can get the serial number of the DVD burner. > > -- > > rgds > Stephen > ___ > 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] ls and rm: "argument list too long"
Satchel Paige - "Don't look back. Something might be gaining on you." On Fri, Oct 17, 2008 at 4:36 AM, Laurent Wandrebeck <[EMAIL PROTECTED]> wrote: > 2008/10/17 Jussi Hirvi <[EMAIL PROTECTED]>: >> Since when is there a limit in how long directory listings CentOS can show >> (ls), or how large directories can be removed (rm). It is really annoying to >> say, for example >> >>rm -rf /var/amavis/tmp >> >> and get only "argument list too long" as feedback. >> >> Is there a way to go round this problem? >> >> I have CentOS 5.2. >> >> - Jussi > try something like: > for i in /var/amavis/tmp/* > do >rm -rf $i > done it should be: for i in `ls /var/amavis/tmp` do rm $i done ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] HA Storage Cookbook?
> > > > If you have a "real" SAN (HP EVA), you can buy block-level > replication-software for that. > But the software is not exactly cheap (six-figure-sum budget expected). > What does downtime cost for you? HP-EVA controller runs on WIN2K, and you have all the inherent problems of why we are staying away from winbloze... ssu scripting is a pain in the neck ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos