Still not working: sudoers file has no effect
Hi guys,
I've recently added the following lines via visudo to the sudoers file when installing yaourt:
schorsch ALL=NOPASSWD: /usr/bin/pacman
schorsch ALL=NOPASSWD: /usr/bin/pacdiffviewer
However I'm still asked a password when using pacman and yaourt. Even when I manually type "sudo pacman -Ss foo" I have to enter my password. What's wrong?
Here's my complete sudoers file:
# sudoers file.
# This file MUST be edited with the 'visudo' command as root.
# Failure to use 'visudo' may result in syntax or file permission errors
# that prevent sudo from running.
# See the sudoers man page for the details on how to write a sudoers file.
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
# Runas alias specification
# User privilege specification
root ALL=(ALL) ALL
schorsch ALL=NOPASSWD: /usr/bin/pacman
schorsch ALL=NOPASSWD: /usr/bin/pacdiffviewer
# Uncomment to allow people in group wheel to run all commands
%wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
TIA,
Blackhole
Last edited by blackhole (2009-03-11 07:37:08)
First, please stay with your config and then try to run pacdiffviewer with sudo, I'm quite sure, that it doesn't ask for a password. If so, I understood it right
Mine:
# sudoers file.
# This file MUST be edited with the 'visudo' command as root.
# Failure to use 'visudo' may result in syntax or file permission errors
# that prevent sudo from running.
# See the sudoers man page for the details on how to write a sudoers file.
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
Defaults !lecture,tty_tickets,!fqdn,insults
# Runas alias specification
# User privilege specification
root ALL=(ALL) ALL
army ALL=(ALL) ALL
army ALL=NOPASSWD: /sbin/reboot
army ALL=NOPASSWD: /sbin/halt
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
I guess you FIRST have to give yourself the right to use sudo and THEN allow yourself the useage of sudo without a password for specific commands.
Last edited by Army (2009-03-11 09:33:39)
Similar Messages
-
I downloaded the pokemon yellow version app for my ipod touch more than a month ago and it is still not working. It has not worked for anybody who bought it. Why is it off of the app store now and how do I get my money back?
That message is usually due to a bad cable.
Not Charge
- See:
iPod touch: Hardware troubleshooting
iPhone and iPod touch: Charging the battery
If you can’t charge your iPhone, iPad, or iPod touch
- Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
- If a 5G iPod
Iphone 5 lightning port charging problem - SOLUTION!
- Try another charging source
- Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
- Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar
or send it in to Apple. See:
Service Answer Center - iPod -
'm having a problem with downloading and installing the new version of itunes for windows (11.1.4) I have done everything the troubleshooting article has said and it is still not working properly. I have even done a repair to see if that works and it has not. Has anyone else found a new way to get it working?
Try Troubleshooting issues with iTunes for Windows updates.
tt2 -
my ipad mini is not syncing music onto in, my ipad has been replaced to see whether the issue is to do with the ipad but its still not working.
ive tried everything and ive been to the store which was when i was given a new ipad mini. i have a a windows PC please help thanksAre you attempting to sync music from your iTunes Music Library on your PC?
What options do you have set on the Music Tab for your iPad in iTunes?
What happens when you sync?
Any error messages? -
[Window Title]
Microsoft Windows
[Main Instruction]
iTunes has stopped working
[Content]
A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
[Close program]
This is what I got... sorry, not very tech savvy to copy the error message onto here...
Have tried uninstalled and re-installed iTune, updated the new version of 10.6... many times over still not working!!!
I share the frustrations of many here. HELP!!!!!Hi there Nok Saensanoh,
I would recommend taking a look at the troubleshooting steps found in the article below.
iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
http://support.apple.com/kb/ts1717
-Griff W. -
Hello, it's been 5 days now since my imessage has not working..and i have chatted to the costumer for two times. I took thier advice and instructions just to enable to send and receive on it but unfortunately until now its still NOT working. Is there anybody who could help me please?
Try this even if you have already. Just make sure to follow the steps specifically.
Go to settings > Facetime > send and recieve > tap on your apple id and sign out. If your not signed in then that will work as well.
Go to settings > Messages > sent and recieve > tap on your apple id and sign out.
Restart the iPad by doing the slide to power off setup. Just hold the power button on the top right till it turns off.
After the iPad has been restarted:
Go to settings > Facetime > and sign in
Go to settings > Messages > and sign in
Wait about 3 min then restart the iPad again. Same instructions as above.
When you restart you should be able to use messages again. If not then call support again and talk to someone higher than the first level support they have. -
my ipod touch 4th gen home button has stopped working i have taken of the screen and tried pushing the button underneath and still not working please help
Try a reset:
Hold the Sleep and Home button down until you see the Apple logo. -
I am trying ot install my cs6 online. it says that my code has been redeemed but i took it off of one of my laptops to download it onto this one. it is still not working. please help
Find your serial number quickly
Download CS6 products
Activation & Deactivation Help
Mylenium -
My iPhone says Searching in the top right hand side and has been like this for 2 days. Already had a replacement sim yesterday, still not working. Apple advised me to restore my phone by connecting to iTunes. When trying to do this it's not allow
Are you on a Windows PC? Do you have anti-virus software running on it? Here are some help articles for you to troubleshoot with:
Resolve iOS update and restore errors
Resolve iOS update and restore errors in iTunes -
How can I upload my RAW files from my Nikon D750 to my MAC computer? I now have Camera Raw 8.7.1. and updated my camera and still not working:(
Which version of mac os x do you have?
Which version of photoshop are you using?
Do you get any message when you try to open the files into photoshop?
Did you use Nikon Transfer to get the files from your camera to computer?
Did you try the File>Get Photos From Camera in Adobe Bridge? -
I have got Acrobat 10.1.13 for Mac running Yosemite - and the 'advanced search' feature has stopped functioning - it doesn't install the search window, nothing happens - so I uninstalled acrobat, reinstalled it - but it still not working?
It's a 3rd party app. You really should contact Adobe Support and/or post in the Adobe Forums
Mac OS X (10.6.6)
Use Software Update or the OS 10.6.8 combo update to update your OS. Also, update everything SU has to offer for your computer. When done, repair permissions and restart your computer. -
My Yahoo mail account has suddenly stopped working. Have deleted and re installed but still not working. Recently updated iOS could this be related?
Try resetting the Yahoo password. Yahoo not infrequently has problems.
-
Has anyone any ideas other than the Apple shop to fix the tilt issue, reset back to factory default, still not working, changed the locking position, and more or less given up. Seen lost of notices around Temple Run and how this seems to happen after installing that particular app.
You have indicated you did a restore with no affect. You don't mention specifically if it is not working with multiple applications or not. I have had one or two apps that quit recognizing the tilt. If it is just one or two apps, delete and re-download/install those apps. If it is with all apps, then you are indeed looking at a trip to Apple to get it fixed. Or you can contact them through one of the options here: http://www.apple.com/support/contact/
-
Your apple ID has been disabled i have changed my password 6 times still not working
your apple ID has been disabled i have changed my password 6 times still not working been trying to fix it for 3 hours now itunes is a joke
Jim,
This is what I posted on May 15th and it worked like a charm:
Just got off the phone with Apple Support. I have been working on this same issue for 2 weeks now. I was told to go to www.apple.com/support/itunes. Then under "Get Customer Service" choose ITunes Store Account and Billing. Then choose "Managing your account" option. You will see an option where you can email, choose this. This brings up a form that you need to fill out and submit. Just tell them that you have reviewed your account (assuming you have) and you see no fraudulent activities. Then ask them to enable your account. You should have your account enabled within 24 hours.......at least that is what I was told. I just filled out the form and submitted it. -
My iphone 4s has been dying within 4 hrs of being fully charged without even using it...i have already done all the battery saving tips n still not working do i need a new battery?
go to apple and get your battery looked at by a apple genius
Maybe you are looking for
-
Can't share photos using shared Photo Stream with iCloud Control Panel for Windows
BACKSTORY: My friend took pictures of my family. I want to see the pictures he took. We live about 2.5 hours apart by car. Gas prices are too high for me to just drive down with an external hard drive to get the pictures and I might as well throw my
-
AOA How to remove the text from cells of JPanel. Just to refresh the GUI. regards
-
Inspection lot 08 with reference to a process order
Hi Dear gurus: I need to create a special lot class 08 (stock transfer), with reference to an order process. Any good idea would be apreciated.
-
Problems with the Lenovo Vibe x S960
I had bought Lenovo vibe x Almost 1 month ago and I am Experiencing lot of problems with this phone. Although having a 1.5Ghz processor it lags in many apps and games like asphalt 8, fast n furious, robocop etc. experienced lot of problems especially
-
Uninstal/Remove MP is not possible after a few steps
Hello all, My issue is a combination of errors. 1) I created and imported a MP to extend user class - after that - i create a few views to show the new fields that was added in the class. The first problem is that, after imported, ETL jobs warnings w