Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
yes you do, it's impossible to install without both, root isn't even created, it's just there in the config files on the installation media.
When you installed ubuntu you WILL have entered details for a personal user account with a password. If you really can't remember what these details were, try this... on the boot screen hit e to edit the options, select the default entry and then move to the long kernel line. then e to edit that. stick a "1" on the end, exit and then b to boot the system. This will then shortly let you run "useradd myusername" and then "passwd myusername" to set a user. then reboot and log in.
---------- Post added 02-10-11 at 02:58 PM ----------
Quote:
Originally Posted by 0men
Hey, Welcome to the forums !
You dont have a root account ?
Thats okay, just jump in a terminal and type
"passwd root" and you should be able to set the root password
Then, when you want to use root to change system settings just use
su -
Hope this helps.
no no, never do this. this is totally wrong, especially for ubuntu which does not use a model where root has a password. To become root on ubuntu you should run "sudo -i" for a login shell, or "sudo <command name> to run a single command.
Last edited by acid_kewpie; 10-02-2011 at 08:59 AM.
you should have been created a user and set a password while installing Ubuntu. When you boot Ubuntu it should show an authentication screen and then you can choose the user and type the password. If you forgot your password you can boot on recovery mode and then when you have the command line you type passwd theusername and then type a new password.
theusername = the username shown in the authentication screen.
Under Ubuntu you don't need to get root access you can use the sudo command to get root previleges
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.