sudo seems to be fussy. Try using the whole path as you have written it in /etc/sudoers when calling shutdown.
Code:sudo /sbin/shutdown -k
sudo seems to be fussy. Try using the whole path as you have written it in /etc/sudoers when calling shutdown.
Code:sudo /sbin/shutdown -k
Can you copy and paste the exact rules you have in sudoers?
Code:# User alias specification User_Alias SHUTDOWNUSERS = user # Cmnd alias specification Cmnd_Alias SHUTDOWNCMNDS = /sbin/shutdown, /sbin/reboot, /sbin/halt # User privilege specification root ALL=(ALL:ALL) ALL ## original root SHUTDOWNUSERS ALL = NOPASSWD: SHUTDOWNCMNDS
Strange. If I copy and paste that into /etc/sudoers.d/shutdown, then I can run shutdown via sudo without a password. In other words, it works for me. I'm not sure what to suggest.
Yeees!
- When I tried to install gentoo, bootup failed. I didn't know why, but this happened earlier also (because of incorrect driver on liveCD for example - no problem), the solution is using systemrescuecd instead of original gentoo installation iso. That one failed also... Ugh!
- There is something really strange. Back to xubuntu installation CD, boots up, trying to backup existing system - failure.
- Try to clear all and reinstall: boots up, but cannot create new partition table - bang! The original partition table is confused. Where are my partitions? Nowhere, but there are only two of my originals (/dev/sda1 /dev/sda2) and some extras something like *root* stuff, gear, gadget, etc.
- I've dusted a very old Debian installer CD, and created the partitions by fdisk of that.
- Back to xubuntu installer CD, and installed a completely new system. Now it works perfect.
I have got a new question than:What happened?
Bookmarks