SU & SUDO
Scott
geekboy at angrykeyboarder.com
Sat Oct 7 00:47:38 UTC 2006
On Friday 06 October 2006 01:35 am, bluszcz at jabberpl.org
(bluszcz at jabberpl.org) spake thusly:
>
> Ok, but what then with kde stuff? I heard, that some parts of kde are
> hacked by kubuntu devs - to use sudo instead of su.
>
> Simply passwd root doesn't break this functionality?
Enabling a root password and thereby allowing you to use "su" instead
of "sudo" doesn't disable sudo, it just gives you both options.
kdesu and has been patched to use sudo instead of su. But if you'd
rather (for consistency sake) use your root password in kdesu you can
alter your sudoers file directing sudo to ask for the root password
instead of the user password.
Open a Terminal and type
sudo visudo
Scroll down to the line that reads
Defaults !lecture,tty_tickets,!fqdn
Append "rootpw" to the end of the line. So it now looks like this:
Defaults !lecture,tty_tickets,!fqdn,rootpw
Exit and you're done.
Once you've done that, kdesu will seemingly function like you'd like it
to.
I know, I've done all this myself.
However as others have pointed out, you really should give sudo more
time. I've been a Linux user since 1998 and have never used sudo till
I discovered Ubuntu 18 months ago. I got used to it and now much
prefer it to su.
I still like having a root password, it does come in handy at times for
certain things, hence my enabling it.
And since I use multiple operating systems I'd like to not have to
remember when and when not to use the root/admin password. From time
to time I use a certain OS that comes from the state of Washington. It
only gives you the root/admin password option.
--
Scott
http://angrykeyboarder.com
© 2006 angrykeyboarder™ & Elmer Fudd. All Wights Wesewved
More information about the kubuntu-users
mailing list