set up a root password

John Culleton john at wexfordpress.com
Sat Sep 20 19:43:31 UTC 2008


On Tuesday 05 August 2008 04:45:21 am Girard Henri wrote:
> >From time to time this question is asked !
>
> It should be better to write it down on kubuntu or ubuntu doc
> I think it's somewhere anyhow because i found it one day :)
> x...buntu family use sudo with an user at installation
> I don't like it though i am using it for few years now
> i like to decide myself what i have to do... open mind !!
> then you use sudo and you are ask for your password !
> if you want to create a root passwd and work as root
> do this :
> but if you break your linux one day don't complain :) lol
> in a shell :
> sudo passwd root
> and you are asked for your password and an unix one :)
> then you should get "ok"
> su root and password and you become root
> to install it in gdm or kdm go to /etc/gdm or kdm  .conf
> and change allowrootlogin=false to true
> save and restart the manager
> /etc/init.d/gdm or kdm restart
> then you should be able to work as root
> often it doesn't work so well
> for kdm_kde4 you have to find it in /usr/lib/kde4/apps/kdm.conf
> but i am not sure where exactly it is as i don't use it .. it's
> crap on my computer !
> on ubuntu i use gdm and installed kde4.1 after from ppa..
> wish you good enjoying :)
>
> Le mardi 05 août 2008 à 10:05 +0200, Ulrich Grün a écrit :
> > 2008/8/5 Gordon Schulz <gordon.schulz at gmail.com>:
> > > On Tue, 05 Aug 2008 00:15, Sadik AYTAC <osaytac at gmail.com> 
wrote:
> > >> During install I was not asked to set up a root password and
> > >> the user I've set up does not have admin privilages..  How do
> > >> I get the root?
> > >
> > > What others already said... But if you are like me and don't
> > > like the whole sudo thing - 'sudo passwd' will allow you to set
> > > a seperate root password.
> >
> > But then you still need to use sudo, since every application that
> > needs root-privileges, will ask for your sudo passwd.
> > This behaviour could probably be changed as well, but I don't
> > know how.
> >

I can't find allowrootlogin=false 
I use kde.
I am past the age of consent. (Born 1932).
I have used some version of Linux since about 1996. Before that I had 
Unix, Xenix, Coherent etc. 
I'll try booting up in repair mode or whatever and changing it there.
There are 1001 reasons to hang on to my old partition from a different 
distro.  This may be one of them.

-- 
John Culleton




More information about the kubuntu-users mailing list