You are not logged in.
after the current -Syu gksudo is not working in my openbox set up for shutdown/suspend/hibernate. when run in terminal it says
sudo: sorry, a password is required to run sudo
but already in wheel group and sudoers file updated one modified accordingly.
Does any one have the same issue?
Last edited by kgas (2010-08-13 18:53:24)
Offline
Hi all,
after today's update the gksudo doesn't work; or the password seems to be different to the user one.
Any advice on how to resolve the issue?
Offline
Can you paste sudoers please.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
I had to update the .pacnew file to reallow the wheel group.
Since you cant use sudo visudo, become root with su first then visudo
Offline
Merged the 2 threads on the same issue to keep all the discussion together
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
a workaround is to create command alias that solved this issue for now.
Offline
1. "su", must be root
2. "cd /etc"
3. "cp visudo visudo.old" just for security
4. "cp visudo.pacnew visudo", use new file
5. Edit file with "visudo"
6. For me, I uncommented :
"%wheel ALL=(ALL) NOPASSWD: ALL" to allow members of group wheel to execute any command
"%sudo ALL=(ALL) ALL" to allow members of group sudo to execute any command
7. And save ":wq" under vim
Offline
"%wheel ALL=(ALL) NOPASSWD: ALL" would allow users in group wheel to run commands sans password, wouldn't it?
And for "%sudo ALL=(ALL) ALL", would I have to create the sudo group?
Offline
"%wheel ALL=(ALL) NOPASSWD: ALL" would allow users in group wheel to run commands sans password, wouldn't it?
And for "%sudo ALL=(ALL) ALL", would I have to create the sudo group?
Yes.
For me using gnome gksudo is broken. Sudo is fine.
Luckily I don't use gksudo that often as I don't run GUI apps with privs and I only tested it after reading this thread.
I think a bug report is needed.
Last edited by loafer (2010-08-13 21:10:43)
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Its already been reported:
Offline
"%wheel ALL=(ALL) NOPASSWD: ALL" would allow users in group wheel to run commands sans password, wouldn't it?
Aha, needed for "sudo pacman -Syu", other wise I a was dead/blocked after upgrade. And yes I am speaking about problem with "sudo".
And for "%sudo ALL=(ALL) ALL", would I have to create the sudo group?
Correct, I was forced to created it
- but not sure that is realy needed.
I don't use "gksudo" -> happy "awesome" user.
Last edited by rider (2010-08-13 22:20:05)
Offline
As I mentioned creating command alias solves the problem but something is wired.
Cmnd_Alias SHUTDOWN_CMDS=/sbin/halt,/sbin/reboot,/usr/sbin/pm-suspend,/usr/sbin/pm-hibernate
<user> ALL=(ALL) ALL
<user> ALL=(ALL) NOPASSWD:SHUTDOWN_CMDS <--- Note: Without password
with this still gksudo is required to get the work done. no other modification to sudoers file.
creating a sudo group and uncomment %sudo did not solve the issue.
This is for the records.
Offline
So just to clear it, this is a bug (gksudo not working) and should be fix?
Offline
Same issue here. gksudo doesn't work, normal sudo works fine. I replaced the sudoers with the sudoers.pacnew file and edited it with visudo. Probably a gksu bug.
Offline
I had the same problem.
@rider: I assume you mean sudoers, not visudo?
I replaced the old sudoers file with the .pacnew one, enabled the wheel group, and everything is good to go.
Offline
@nagus : actually both of them.
Visudo Manual : visudo edits the sudoers file in a safe fashion, analogous to vipw(8). visudo locks the sudoers file against multiple simultaneous edits, provides basic ...
Offline
Hi all,
I have replaced the old file by the new file, edited it to allow wheel; made sure my users were part of wheel 'Group'.
Now when trying to run a gksudo command, the window pop up to ask for my password but the answer is "sudo: sorry, a password is required to run sudo"
It is my user password, I made sure I wasn't typing it wrong or with Caplock on...
Any idea on how to resolve the issue?
Last edited by sweetthdevil (2010-08-26 10:59:58)
Offline
Hi all,
I have replaced the old file by the new file, edited it to allow wheel; made sure my users were part of wheel 'Group'.
Now when trying to run a gksudo command, the window pop up to ask for my password but the answer is "sudo: sorry, a password is required to run sudo"
It is my user password, I made sure I wasn't typing it wrong or with Caplock on...
Any idea on how to resolve the issue?
You could try using gksu instead.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
You could try using gksu instead.
Yes, but the issue is I do not want other user to have the root password; and I have script using gksudo for them to do couples of task.
thanks for your reply
Offline
I had the same problem and solved it very simply with the following:
sudo pacman -R libgksu -c
sudo pacman -S gksu
Offline
I had the same problem and solved it very simply with the following:
sudo pacman -R libgksu -c
sudo pacman -S gksu
Sorry, this did NOT in fact fix the problem.
Offline
I also don't know why this thread is solved. if you check out the bug report, it is clear that the problem is not in fact solved. A new copy of gksu package will need to be released, either that or users will have to downgrade.
Offline
irishjava, instead of multiposting, please use the Edit functionality. It is there for a reason.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
pardon me.
Offline
irishjava, don't worry. I use gksduo only for shutdown/reboot/suspend actions (see my post #12) in openbox set up.Even there are alternatives for that. Since my issues ends there I marked it solved. Some others created sudo group and got their issues solved. shortly I will dump the gksudo too.
Offline