Do you have to be root to run dhcpcd?

By reading the wiki, I found out that I can connect to my school's wireless as follows:
ifconfig wlan0 up
iwconfig wlan0 essid GTwireless key (...)
dhcpcd wlan0
I then wrote a script containing #!/bin/bash and those three commands. It may not be the best way (and if it's not, please tell me a better way), but it works.
I'd like to run the script without being in superuser mode. Is it possible for a regular user to be able to run dhcpcd?
Last edited by djseomun (2008-11-13 19:54:44)

djseomun wrote:Is it possible for a regular user to be able to run dhcpcd?
Just configure sudo to do that, if you think you will need it often. Best way is Mr.Elendig's advice.
HTH.

Similar Messages

  • Can you have 2 apple tv's running concurrently on the same network

    can you have 2 apple tv's running concurrently on the same network

    Welcome to the Apple Community mafugman.
    Yes, we often have more.

  • How do you have a single test case run on multiple platforms in both a Deploy/Test build and via MTM?

    I am wanting to have a scheduled nightly build execute my testcases for multiple platforms/configurations.  I have multiple VMs running in these environments but the method Microsoft provided
    (without digging into customizing the build template) doesn't provide any functionality for this.  This is a basic use case for automation that I can't believe they would miss.  Has anyone run into this and found a solution.  Is it just that
    you have to completely customize the template?
    For a more complete use case...
    I have 4 customers that have different configurations and different OS platforms on top of a generic configuration.  I want the build/deploy/test build to automatically run my 152 test
    cases to at minimum those 5 environments.  I want this to run every morning at 1am and the tests should in the different environments in parallel (ie all of customer 1 tests run at the same time as customer 2 tests...). I also don't want to have to create
    152 * 5 test cases since that will bloat things and cause more management/maintenance headaches.

    I am wanting to have a scheduled nightly build execute my testcases for multiple platforms/configurations.  I have multiple VMs running in these environments but the method Microsoft provided
    (without digging into customizing the build template) doesn't provide any functionality for this.  This is a basic use case for automation that I can't believe they would miss.  Has anyone run into this and found a solution.  Is it just that
    you have to completely customize the template?
    For a more complete use case...
    I have 4 customers that have different configurations and different OS platforms on top of a generic configuration.  I want the build/deploy/test build to automatically run my 152 test
    cases to at minimum those 5 environments.  I want this to run every morning at 1am and the tests should in the different environments in parallel (ie all of customer 1 tests run at the same time as customer 2 tests...). I also don't want to have to create
    152 * 5 test cases since that will bloat things and cause more management/maintenance headaches.

  • Can you have two different tempo's running simultaneously?

    I am sure someone out there has had this following problem:
    You create a melody, love it at the tempo its in, but you realize everything else (particularly the drums) must operate at a different tempo. In my case, the melody is running at 60 bmp and I need everything else to run at least at 80 bpm. Setting the region containing the melody to play according to the project tempo changes its speed so this and its reverse do not work. Time stretching did not work as well. I realize that I am essentially asking for two tempos to operate in sync which seems impossible but maybe someone can help? Please remember I am new to this so there may be something I don't know or haven't tried.
    Thank you for the time and help.

    Aside from not being able to have 2 tempo's at the same time in the same project, I think you are maybe talking about time signatures.
    There is also a half-time feel, for example if you had a 120bpm metronome going you could play at half time which would mean, essentially, what you were playing would also fit a 60bpm metronome.
    If you had 2 tempo's, one would always be chasing the other. It's not really going to work. You can have, though, a 5/4 signature where, say, the bass and guitar play in 5/4 and the rest of the band play in 4/4. It's odd and jazzy but in this example every 20 beats would begin the cycle again.
    This is the only thing I can really think of without hearing what you mean.

  • On the mac book do you have to close out apps or things that you have opened like the iPhone or iPad?

    I am new to the mac book i only have an iphone and ipad and i wasnt sure if you have to close all things out like you would do for an iphone or ipad? i am trying to download the adobe flash but it keeps telling me to close safari and i did then when i go back to it it still keeps telling to close safari am i doing something wrong?

    You do not have to quit your apps when you shut down your MB. If you do not shut them down, all the apps that are open when you shut down will reopen when you next power up.
    The question of installing flash is a different issue. After you download anything that is to be installed in Safari, you have to quit Safari before running the installer.

  • How do I get more memory on my IMAC .I have 1 GIG and to run LION you need 2 GIGS?

    How do I get more memory on my IMAC .I have 1 GIG and to run LION you need 2 GIGS?

    Depends on the Mac; what model and processor is it?
     > 'about this Mac' > 'more info'
    In the first section (hardware overview) post this info;
    Nothing below that is reqd, especially not the serial number.

  • While installing the latest iTunes version I get the following msg:"Service Apple Mobile Device failed to start.Verify that you have sufficient privileges to start system services. I already tried it from the installer Running it as Administrator

    While installing the latest iTunes version I get the following msg:"Service Apple Mobile Device failed to start.Verify that you have sufficient privileges to start system services. I already tried it from the installer Running it as Administrator and still get the same message.  I click "ignore" and finish the installation but when I try to open it I get this "Runtime Error! R6034 An application has made an attempt to load the C runtime library incorrectly."  I already uninstalled iTunes and all other applications involved and re-installed itunes from the itunes site and the problem persists. Please help!

    Solving MSVCR80 issue and Windows iTunes install issues.

  • I have a php module which runs fine in Firefox and all other browsers but not Safari. It always run twice - I see a small ? in upper right corner which is causing it to run twice but NO idea why? Help - thank you

    I have a php module which runs fine in Firefox and all other browsers but not Safari. It always run twice - I see a small ? in upper right corner which is causing it to run twice but NO idea why? I read it MAY have something to do with am image it cannot load but I see them all loaded.  Help - thank you

    Could you share a link to the page?
    Seeing it in context and in our browsers is much easier to debug.
    If not, make sure to run the validator here The W3C Markup Validation Service and clear out any problems. HTML errors, especially structural ones, will cause all kinds of display problems in various browsers/versions/platforms.

  • I have a new Dell computer running windows 7 and am unable to download itunes. The message I recieve after trying to run the download is: This installation package could not be opened. Verify that the package exists and that you can access it.   Any ideas

    I have a new Dell computer running windows 7 and am unable to download itunes. The message I recieve after trying to run the download is: This installation package could not be opened. Verify that the package exists and that you can access it.   Any ideas?

    Hello tcampbell1549,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    Have a nice day,
    Mario

  • Can you have two copies of Encore CS6 running on the same computer?

    I'd love to be able to have two copies of Encore on the same computer. While one copy is encoding and burning, I'd love to get another project started and encoding on the same computer and maybe, if possible, even start burning to a separate external burner. But first, I'd love to just be able to have two copies of Encore open on the same computer. I tried copying the Encore CS6 folder to a different drive and then running it but it says there's another Encore in session and this may cause issues with the hardware.
    Windows 8.1 Pro
    X99 5930k 6-core
    32 GB Ram
    GTX 970 4GB GPU
    Thanks!

    I can't imagine Encore being able to run 2 instances.
    Build from Encore to an image (iso), and get ImgBurn. You can run multiple instances of ImgBurn and burn as many DVD/BDs as you have burners (including externals via USB or whatever). Send him a donation; his product is fantastic.
    http://www.imgburn.com/
    John Smith re avoiding unwanted addons in the download/install:
    http://forums.adobe.com/thread/1322583

  • How many Management agents can you have running simultaneously on a host?

    Hi all,
    I've scoured the Oracle documentation and not been able to find a definitive answer to this question, how many Oracle management agents can you have on a single managed host target? Can you for example run an 11g agent and a 12c agent simultaneously (whilst migrating to 12c without upgrading the present OEM instance) If so can you run two 12c agents, each pointing to a different OMS? I’ve seen examples of an agent for each database instance on a host managed target, so a host with three Oracle database instances has three Oracle Management agents all pointing to the same OMS with each agent is monitoring just one of the database instances. There must be resource considerations here for memory, cpu and network traffic etc? I’ve always understood it to be one Oracle Management Agent per managed host
    Thanks

    I don't think there's any data on impact or performance since it's not a recommended configuration. If you have host/configuration monitoring enabled on both agents, they will be running the same queries/scripts against the host/inventory, etc. so they will likely have contention at some point. If you monitor the same databases, you will definitely see contention and increased overhead as there will be multiple agents running the same queries. You might also see problems w/ any of the server generated alerts (tablespace, etc) if you change thresholds as the agents send that to the database, and then the database will be out of sync with the other agents.
    What exactly is the goal for having multiple agents? Is it short term or long term?

  • You have insufficient privileges for the current operation-Getting error running OAF page in R12

    I have a custom OAF page in R11 which is working fine.
    Same page is giving below errors in R12.
    Any suggestions how to resolve this issue..please advice.
    [167]:STATEMENT:[fnd.framework.webui.OAPageSecurity]:MAC validation status = false   
    [167]:STATEMENT:[fnd.framework.webui.OAPageSecurity]:Request parameters validation status = false   
    [167]:ERROR:[fnd.framework.webui.OAPageSecurity]:You cannot run a page which is not SelfSecured when the MAC fails.   
    [169]:ERROR:[fnd.common.Message.auto_log]:FNDFND_INSUFF_PRIVILEGES   
    [169]:ERROR:[fnd.framework.OAException]:You have insufficient privileges for the current operation. Please contact your System Administrator.   
    [170]:EVENT:[fnd.framework.webui.OAPageContextImpl]:OAF LOG: Event : Redirect Page, in: oracle.apps.fnd.framework.webui.OAPageContextImpl: OA.jsp?akRegionCode=FNDDIALOGPAGE&akRegionApplicationId=0&transactionid=817211813&oapc=10&oas=YyMjRI6buFwrYehD8b25iQ..&retainAM=Y&addBreadCrumb=S&OAMC=G   
    [170]:PROCEDURE:[fnd.profiles.Profiles]:getProfileOptionValue:  name=JTF_PF_MASTER_ENABLED; levelID=10001; levelValue=0; levelValueApplID=0   
    [170]:EVENT:[jtf.activity.CorePageObject]: PATBE START currentPageObject : PAT STATUS:false   
    [170]:EVENT:[jtf.activity.CorePageObject]: PATBE END currentPageObject : return factory.dummyProxyUser():   
    [322]:EXCEPTION:[fnd.framework.webui.OAPageBean]:java.lang.NullPointerException   
    Thanks in Advance
    Sridevi K

    Hi Sridevi,
    The custom page is a selfsecured page?
    ie, it will be accessed without login?
    What is the profile option fnd_debuging_level 's value set to.
    I Could see one your other thread
    Re: You have insufficient privileges for the current Operation error
    you mentioned that you did tried setting the profile options
    Framework Validation Level
    FND Function Validation LEvel
    FND Validation Level
    to none, still you are facing the issue,
    At what level you tried the profile options.
    Thanks,
    With regards,
    Kali.
    OSSi.    

  • One or more ActiveX controls could not be displayed because either:1 your current security settings prohibit running ActiveX controls on this page, or 2. You have blocked a publisher of one of the controls.

    hi All,
    i have one of the requirement for an application, we do upload some release not in file server and that is used in application link to see the note. in this note i have converted the Excel into .HTM format(web page). this was working fine, but from last
    two days all of a sudden we are recieving error as above.
    one or more ActiveX controls could not be displayed because either:1 your current security settings prohibit running ActiveX controls on this page, or 2. You have blocked a publisher of one of the controls.
    could anyone please help me on this.
    Thanks and Regards,
    krishnamurthy

    Hi,
    Actually Arnavsharma provided a operable method for you. But no luck, it's not invalid.
    Here I also offer you an method you can try.Please delete the extra (parasite) zone from the Zones subkey :
    Click Start , click Run , type regedit , and then click OK
    Expand the following registry subkey
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones
    Delete the extra (parasite) zone from the Zones subkey
    Note: The parasite zone is a pseudo-graphic number listed before zone number 0. The pseudo-graphic number looks like a miniature upper case "L"
    Close the registry editor
    Thanks!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I have a 2010 macbook pro running OSX 10.6.8 and I would like to interface my macbook to a HD tv. I purchased a interface cable but cannot seem to communicate with the TV. Do you have any instructions or tips that I can use to accomplish this task? Do I

    I have a 2010 macbook pro running osx 10.6.8 and would like to interface my mac to my HD tv. Are any instructions available to reliably make this connection and if so what is needed on my part. Is the software compatible or do I have to upgrade to a later version OS. Thank You,
    Gene

    I purchased a mini to HDMI cable and tried to connect to the TV but the TV is not recognizing the computer. I attempted to set sound and display settings under the "my Preferences" utility with no success.  Again, I'm not sure if I need to upgrade my OS software Any Suggestions?

  • Is it better for your battery if you let it run down all the way and then charge it? Or to charge it whenever you have the opportunity?  Which is better for the life of the battery?

    I was wondering it the life of the battery would last longer if you let the battery run down all the way and then charge it? Or to charge it whenever you have the opportunity even if it doesn't have a low battery?  Which is better for the life of the battery and prolong the life of the battery?

    I've had a iPhone 4s since March 2012, and it's battery is pretty useless now.  I was using the app Battery Doctor (Battery Saver, Battery Life) by Beijing Kingsoft Internet Security software, which encourages the user to charge more often, whenever battery life drops below 100% full and greater than 20% full, and gives ratings according to the number of full, partial & overcharges done, but I'm concerned that charging like that actually results in worse battery life??
    I now have an new iPhone 5 and don't want the battery to only last as short as the last one did
    Any advice/comments please

Maybe you are looking for

  • Function Module for Job reschedule

    Hello Experts, Is there a function module for job rescheduling as i need to create a automation program where i need to select all jobs from excel sheet and reschedule at different time. Thanks and Regards, Nikhil Kanegaonkar.

  • WBS or Proj.Defination at Vendor Line item

    Hi, can anybody help me by providing information as - IS it possible to populate the WBS or project defination field to Vendor line item during logistic invoice verification. as in our case we need the project wise vendor outstanding. Or is there any

  • Facebook not loading in safari

    My facebook won't load from my book mark in Safari? Any ideas how to fix this? Can see it has been a recurring problem.

  • How do i get rid of my emails showing up as fractions all the time

    Hi, I have two computers and they both continiously receive emails that show up as fractions for the text. It has gotten so bad that I have to forwared the email - then in the next screen i have to convert the text to arial to just read it. Also all

  • !!!! Scott Kelby's taken over my keyword list

    Hi. Coming home from a shooting session today, I imported my files as usual, but when I should start tagging them, I found that most of my keywords were missing from the keyword list (approx. 45 of 50 categories missing). Instead, I found keywords li