Monday, March 30, 2009

how to fix sudo command in zenwalk 6

What you wait from sudo command is that it gives you the power of root for a single command. But you'll notice that it does not work properly in Zenwalk 6. To fix it;

check your group by opening your start menu > system > control panel > user profiles > list users > your_username > hit ok > note groupname value

open Terminal

type

su

and login (then you become root)

type

mousepad /etc/sudoers



edit the line after

# Uncomment to allow people in group wheel to run all commands

comment as

%your_groupname_value ALL=(ALL) ALL
and save. Voila.

2 comments: