[SOLVED] What visudo change for echo-ing a system parameter?

according to Wiki, backlight can be set by
echo 5 > /sys/class/backlight/acpi_video0/brightness
but only as root. What change to do with visudo to allow user to set value?
Last edited by dabbi2000 (2012-02-03 08:13:22)

The standard way to do that using sudo would be with tee.  But you certainly don't want to grant special permissions to tee.  I think you would need to create a script:
#!/bin/bash
echo 5 > /sys/class/backlight/acpi_video0/brightness
Store it in /usr/bin, make it writable by root only, and configure sudoers to allow this script.
Keep in mind I'm no security guru.  There may be serious considerations with this method that I'm not aware of.

Similar Messages

  • What has changed for OLAP Universe in BOXI3.1 SP2

    All,
    I would like to understand what has changed in BOXI3.1 SP2 in comparison with BOXI3.1 base version for OLAP universes.
    We design Universe on top of MSAS 2005 cubes and create webi reports.
    Based on BOXI3.1 SP2 what's new document- the enhancements seem to affect the Universe Designer- providing a developer with more control and options.
    I am interested in learning if the release has any features that improves performance of BO against MSAS cubes.
    Any feedback would be much appreciated.
    Edited by: ramaks on Dec 11, 2009 11:02 PM

    Hi,
    Here is the list of feature we have added in SP2 for OLAP universes:
    <li>Definition and Where editors enabled
    <li>Prompt editor
    <li>MDX dictionary
    <li>New parameters and controls at universe generation time
    <li>Refresh Structure (aka Universe Update or Universe Life Cycle Management)
    <li>Universe SDK enhancements.
    You will find in attachment a PDF that describes the enhancements.
    Regards
    Didier

  • Trying to identify what to change for user who has permissions on a library but gets no search results from the library

    We are running SP 2010 service pack 2.
    Search is working for people in general.
    Yesterday user Y asked me why they (user Y) does not get results when they search for documents in the library. They get results back when searching other libraries.
    The library has a limited number of users who can access.
    The user is explicitly added to the library's permissions with Read permission.
    When I look inside the library at specific documents, the user is listed as having Contribute,Limited Access privs on each document.
    As an admin, I have accessed the site and performed searches and gotten results. Others on the site with various permissions get results back.
    So  it appears that search is working.
    What other things can I check - via powershell perhaps - to help identify and resolve user Y's dilemma?

    What we found is this.
    At the site level, only 4 users have access. At the library level, 3 more users were added directly and given read permission.
    These three users could see the contents of the library, read the documents of the library, but when they attempted to search the library, got "Access Denied".
    I was able to negotiate for a resolution of this problem for us to create a new SharePoint group for the site, give it Read permissions,
    and add that group to the library permissions. I informed the owner that he could check other libraries and lists and remove that group if there were things there that should not be accesible.
    I also warned him that if he were to put something confidential in, say, the announcements section, he would need to remove the group from that list as well if he didn't want the people to see that.
    So, the users now can see the results page, which is returned as a URL immediately under the site.
    There were a couple other work arounds that we could have tried - moving the shared library to its own subsite with different permissions than the parent site, or having the users use the enterprise search and to refine the results down to the specific library.
    Thank you for your question!.

  • SLD change for Portal 7.0 system

    Hi Experts,
    Need to change existing SLD for the time being in Portal system 7.0 which has totally 5 server nodes
    In the visual admin, should I have to mention the new SLD entries in SLD data supplier for one server node ( cluster > server node 1 > services) (or ) in the rest of four server nodes togeather?
    Is changing the SLD entry in one server node enough?
    I tried to chnage in the global configuration , but dont see any entries for mentioning the SLD details.
    I will appreciate your help and suggestion
    Thanks in advance

    Hi ,
    Changed the SLD in server node 0 and it got reflected in other server nodes automatically.
    In content admin, even the SLD connection test is working fine.
    Now there is a problem in Jc0 connections.
    Only the SSO -Jco connection test is getting successful but the Jco metadata connection fails with the error"
    why the username/password Jco only fails.
    the backend system is exist in the new sld as technical system with all logon groups
    I will appreciate your help
    Thanks in advance

  • What DVD Require for AIX IBM

    Dear All,
    Please Suggest me We want install SAP 2005 On AIX IBM
    What DVD Change for AIX IBM Os.
    We want to install SAP on AIX IBM Operating System so We have all sap DVD for windows
    IS any difference for AIX IBM Os.
    Thanks
    Kumar

    "SAP 2005" is not a product. Contact you SAP Sales Representative to help you define which SAP product is best suited for your business needs

  • Diagnostics?-What I paid for

    Can anyone tell me what a good set of software tools is used to determine all of the speed settings and characteristics of things like "am I getting 800FSB?" I'm really new at this and I'd like to at least know if I'm getting what I paid for. Thankfully, the system is stable and I'm not upgrading bios until it's all ironed out as I don't have the complete skill set or patience -really- to deal with a ton of instability issues. I know about some software tools like cpu-z, MBM, speedfan and wpcuid(31a). Is this all I need to find out this info? I'm still most concerned about my sata drive (only drive in system) as I don't think it installed correctly, but it is working at least. here's the stats:
    Winxp sp1
    865PE fis2r
    antec true 430 dual fan -damn that's a lot of wires-
    seagate 120 GB SATA 'cuda
    lite on Combo dvd/cdrw -nice drive btw-
    Intel p4 2.8
    geil 2x 512 pc3200 value ram (nice blue spreaders!)
    MSI gf5600 vtdr128 --should I set agp aperture in bios to 128??--
    no tweaking yet, just out of box and stable...
    standard cooling minus 1 side fan that wont seem to work
    feelin' noobalicious

    Intel have an excelent utility to test the CPU, if you really got the one you paid for and not an overclocked one.
    http://support.intel.com/support/processors/tools/frequencyid/download.htm

  • What is the best way to have Mac setup for sync-ing 2 calendars?  Any way to change? When we 1st got our Macbook we unknowingly set it up wrong--as 2 separate users, with separate everything. Good for contacts and email, bad for calendar, photos, music.

    What is the best way to have Mac setup for sync-ing 2 calendars?  Any way to change?  When we first got our Macbook we unknowingly set it up as 2 separate users, with separate everything.  Now I have an iphone and I want to sync calendars but not contacts or email.  Any direction you could give would help! thx

    Anyone...anyone? Bueller...Bueller?

  • What to do for automatically change over of PHASE from 1 to 2  in case of multilevel method of depreciation.

    Hi all
    As per the statutory requirement we want to maintain Multilevel method of depreciation in which we have maintained two phases given as below-
    Dep/int.
    phase
    base method
    decl. bal method
    prd cont
    mutilev. Method
    change. Me
    change over % rate
    ordinary dep
    1
    ZMR1
    0
    001
    Z02
    2
    0.3
    ordinary dep
    2
    0011
    0
    001
    001
    0
    0
    Because asset need to depreciate upto 70% of its net book value on the basis of SLM percentage base as per phase 1.
    After that it must shift to phase 2 ,where depend upon remaining useful of that asset , balance value of asset need to be spread over.
    But while testing in, it is not automatically shifted to phase 2 directly once asset reaches its 70% (ie.once condition given phase one get exhausted)
    Then pls guide me what to do for automatically change over of PHASE from 1 to 2 ??
    Thanks and regards
    Manjusha  G.

    Hi Manjusha,
    To meet your requirement, you have to mention changeover in T code AFAMA-changeover method "2" and the changeover % 70 and in second line you can give phase 2 changeover within planned life and give your depreciation methods after changeover.
    Refer the sample screenshot.
    Hope it solves..
    Regards,
    G.Sethuraman

  • Can anybody explain what is support for ADF Project and to solve the Issues

    Hi,
    I am new to ADF and i am currently associated to ADF Support Project.
    Can anybody explain what is support for ADF Project and to solve the Issues when the ADF Project is in Live.
    we are getting the Tickets for the Issues.
    Thanks in advance.

    I agree with Timo.
    It depends on the size of the project, user base, technologies, etc. We use lot of technologies in fusion middleware stack. We get tickets in many areas.
    In your case, it could be anything like user training issues (user may not know how to use the some system features), browser issues like blank screen, bugs in code like JBO errors (failed to validate, another user has changed row, failed to lock the record, NullPointerException, IllegalArgumentException etc), business logic issues, page may not render properly, performance issues, partial commit issues, application server issues, authentication issues. If you use web services you might get web services related problems.

  • Firefox crashing when i wanna open or close a tab or a window, also while wanna open any page, now what to do for solving the problem?

    Firefox crashing when i wanna open or close a tab or a window, also while wanna open any page, now what to do for solving the problem?

    Disable McAfee siteadvisor and check the problem still persist or not?

  • Color issue with pdf from Indesign. I have a special cmyk mix for a bcard in Indesign. When I export the pdf the cmyk mix has changed Just started today 1.13.15 Running Yosemite 10.10.1 Any help on what to look for would be greatly appreciated.

    I have a special cmyk mix for a bcard in Indesign. When I export the pdf the cmyk mix has changed Just started today 1.13.15 Running Yosemite 10.10.1 Any help on what to look for would be greatly appreciated.

    Thank you Peter. Someone else must have been on my computer because I do not change the settings. You pointed me in the right direction.
    Thanks again.
    Patrick

  • The answer helped me.But still, what are the settings that I have to change for the behavior of the mouse pointer towards finder? Also the mouse pointer sometimes  doesn't accept my command and start clicking itself.what is the problem and how to fix it?

    The answer helped me.But still, what are the settings that I have to change for the behavior of the mouse pointer towards finder? Also the mouse pointer sometimes  doesn't accept my command and start clicking itself.what is the problem and how to fix it?

    If the mouse clicks something on its own then it looks like you have a hardware problem with the trackpad or possibly the battery that is right underneath the trackpad.
    I have read that the battery can swell and that would put pressure on the trackpad.

  • What procedures exist for change raw devices to filesystem?

    What procedures exist for change raw devices to filesystem?
    I understand that only you can:
    - Backup Full (System with raw device) and Restore in System with Filesystem
    - Export/Import
    Specifically I want to know:
    A backup (created in MaxDB 7.5 with DB in Rawdevices) can be restored on another System, with DB in file system??
    Someone could give me details of the procedure?
    Someone knows another method?
    Greetings to all.

    > Specifically I want to know:
    > A backup (created in MaxDB 7.5 with DB in Rawdevices) can be restored on another System, with DB in file system??
    No problem as long as
    - the target systems database version is at the same patchlevel (or higher)
    - the target database is big enough
    - the target system has the same endianess (you can e. g. not import a backup from Windows to HP-UX)
    A SAPDB/MaxDB backup has no information about the source filesystem setup, it contains only pages. There has "just" to be enough space to restore them.
    Markus

  • My mac book air no longer supports the audio speakers on my panasonic tv when playing movies? what has changed in the last week for this not to work any more?

    I used to be able to plug my mac book air to my tv via mini dvi to hdmi cable to tv and watch movies.
    The audio no longer projects through the tv? in system preferences, sound, driver for sound output is not supported for my panasonic tv.
    Just a couple weeks ago this was not a problem.  I just plugged in my computer to the tv and it worked.  what has changed?

    Have you tried a PRAM reset?
    http://support.apple.com/kb/HT1379
    Ciao.

  • What has changed in the B1iC for 8.81?

    Hi guys
    Does anyone know what has changed, or is there some documentation floating around, with the B1iC Dashboards in 8.81.
    I had managed to get everything up and running on my laptop running 8.8, I have since upgraded to 8.81 PL02 and the dashboards don't want to run, the services all appear to be running etc.
    I've noticed for example, on the Cockpit tab of the General Settings you dont have the URL input box anymore, surely this has got to somewhere?
    Can someone please point me in the right direction
    Many thanks
    Hayden

    Frank, thanks for the reply and the info.
    However, I'm having trouble getting this resolved.
    SAP Note 1549532 appears to provide more useful information - however it looks like you need a PhD in computer science to actually understand the SAP instructions and and find the data needed even for the temporary workaround.
    Sadly I fear that if you are not a IT professional you will not be able to do this, I will have to wait until SAP release further documentation or the patch they talk about to make this work again so I can demo it.
    Thanks again
    Hayden

Maybe you are looking for