kdesu patch

Waldo Bastian bastian at kde.org
Tue Jun 4 18:43:51 BST 2002


On Wednesday 05 June 2002 12:32 am, Stephan Kulow wrote:
> > I always wondered if it's a good idea to hardcode "root" into some
> > binary. "root" is just a convention, and I've frequently seen
> > administrators renaming "root" to "ruth" or something ;) So checking for
> > UID=0 is a better idea.
>
> Feel free to rewrite kdesu, but for now "root" is the default user if you
> call "kdesu kcontrol"

Unless the ADMIN_ACCOUNT env.var. is set to something else.

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com





More information about the kde-core-devel mailing list