KDEsu and sudo

I’m trying to get KDEsu to use sudo instead of su as described here. However, the command given in this post doesn’t seem to have any effect. Specifically, I’m still getting prompted for root’s password rather than my non-root user’s password. Regular sudo from the command line works fine. Help please!

kwriteconfig --file kdesurc --group super-user-command --key super-user-command sudo

did you make sure you did 2 - and not a single?

Try the one above

That did it. Thanks!