lszanto Posted January 2, 2007 Share Posted January 2, 2007 I am very new to kubuntu/linux as I only installed it yesterday and I need to know how to login as root so I can edit files on my ipod when its plugged in, any help is appreciated. Quote Link to comment Share on other sites More sharing options...
c4onastick Posted January 2, 2007 Share Posted January 2, 2007 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 Quote Link to comment Share on other sites More sharing options...
neylitalo Posted January 2, 2007 Share Posted January 2, 2007 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] Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted January 8, 2007 Share Posted January 8, 2007 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 Link to comment Share on other sites More sharing options...
neylitalo Posted January 8, 2007 Share Posted January 8, 2007 [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. Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted January 9, 2007 Share Posted January 9, 2007 I believe Ubuntu's wiki says the that and since Kubuntu is just Ubuntu with KDE instead of Gnome it will work (providing it's correct). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.