You are not logged in.

#1 2006-10-11 20:43:53

Wauzenplauz
Member
From: Starnberg, BY, Germany
Registered: 2006-10-11
Posts: 21
Website

Trouble with sudo password after latests upgrade

Hi,
first of all, this is my first post in the forum. I have used Arch for a while now on my 64-Bit AMD and it runs really smooth. This my decision to switch from SUSE to Arch has been proven right. wink
However, after latest update via

pacman -Syu

the behaviour of sudo has changed. Now every user in the wheel group can run commands wihtout providing any password. Before the update everything was fine and password were needed (default settings in sudoers file).
These are the packages which have been updated:

[10/11/06 22:06] upgraded libxv (1.0.1-1 -> 1.0.2-1)
[10/11/06 22:06] upgraded libxvmc (1.0.2-1 -> 1.0.3-1)
[10/11/06 22:06] upgraded mesa (6.5.1-1 -> 6.5.1-2)
[10/11/06 22:06] upgraded vim (7.0.66-1 -> 7.0.118-1)
[10/11/06 22:06] upgraded xf86-video-vesa (1.2.1-1 -> 1.2.1-2)

Any idea what happened?

Offline

#2 2006-10-12 00:33:02

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: Trouble with sudo password after latests upgrade

If you haven't update the sudo package (which shouldn't matter anyway as pacman should create a .pacnew file), then I would guess that maybe you hadn't logged out and back in since making changes to the sudoers file?!?  Can you look at the modified time on that file and see if it coincides with any of the recent updates you've done?

Either way, it should be a quick fix...just re-edit the sudoers file and require a password (if that's the functionality you want).

Offline

#3 2006-10-12 08:22:54

Wauzenplauz
Member
From: Starnberg, BY, Germany
Registered: 2006-10-11
Posts: 21
Website

Re: Trouble with sudo password after latests upgrade

Thank you, elasticdoc,
the issue seems to be solved. What puzzles me is that I tried in vain different things to solve the problem under KDE.

· opening a new shell did not work
· opening a different terminal (xterm instead of konsole) did not work
· in a second shell doing

su -; su - <user>; sudo ls

did not work
· logging out of KDE and logging back in did not work
· restart of KDM/KDE did not work
· editing the sudoers file and definitely requiring a password did not work either, however, disabling the wheel group as sudoers immidiately had the desired effect, that sudo has been disabled, even in the same shell

It seems that in my case a reboot of the machine has been the only way to solve the issue.
Thank you for your help  smile

Offline

Board footer

Powered by FluxBB