Jump to content

Kubuntu login as root.


lszanto

Recommended Posts

Depending on where you're doing this, (I'm assuming X) you need to 'su' to root and start X. There is no password for root by default in kubuntu, you'll want to change that immediately. In a terminal window type:
[code]% su[/code] (Without the percent sign of course, that signifies a user prompt.)
It'll ask you for the root password, then run X via:
[code]# startx[/code](again don't type the hash, that's the root prompt)
I'm not too terribly familiar with ubuntu and I don't work with X too much, but you could try what they suggest here too.
http://www.kubuntu.org/faq.php#root
Link to comment
Share on other sites

The flavors of Ubuntu do not allow logging in as root, nor switching to root. To access root privileges, use the "sudo" command:

[code]$ sudo <command>[/code]

You'll then be asked for a password.

So, for example, to run "ifconfig", a program normally only accessible to superusers, you execute this command:

[code]$ sudo ifconfig[/code]
Link to comment
Share on other sites

[quote author=Daniel0 link=topic=120749.msg500098#msg500098 date=1168296286]
You can "unlock" the root user by setting a password using [tt]passwd[/tt]. Then you should be able to login from the login screen and to su into it.
[/quote]

I thought I tried that once upon a time, but I don't think it worked. I could be wrong, though - it's been ages since I used any Ubuntu systems.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.