SU & SUDO
Raphaël Pinson
raphink at ubuntu.com
Fri Oct 6 08:50:42 UTC 2006
On 10/6/06, bluszcz at jabberpl.org <bluszcz at jabberpl.org> wrote:
>
> On Fri, Oct 06, 2006 at 03:10:08AM -0500, Hawkwind wrote:
> > On 10/6/06, Dave <dsterken at gmail.com> wrote:
> > >
> > >I would like to be able to disable the SUDO command and enable SU but I
> > >can't find the conf files for it, would someone be so kind as to point
> me
> > >in
> > >the right direction? Thanks in advance.
> >
> >
> >
> > One quick way is to do:
> >
> > sudo passwd or sudo su passwd
> >
> > This should allow you to set a password, then you can use su - to log
> into
> > root traditionally.
>
> 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?
It won't break the functionality. KDE apps will still ask for your own
password with kdesu. This will be so unless you rebuild kdebase/kdelibs
without the patches, but I doubt you want to do that ;)
passwd root simply affects a password to the root account, while it doesn't
have one by default. Note that it is not recommended to do so, because it
adds another user with super cow powers, and your primary user already has
them through sudo.
There are ways to get a root prompt without affecting a password to the root
account:
* sudo su : logs you as root
* sudo -i : equivalent of sudo su
* sudo -s : permanent sudo, logs you as root but keeps your own ~ so you
keep your settings and paths
--
----------------------------------------------------------------------------------------
Raphaël Pinson - raphink at ichthux.com
http://www.raphink.info
Ichthux - http://www.ichthux.com - Linux for Christians
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20061006/130cffd0/attachment.html>
More information about the kubuntu-users
mailing list