LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ? default user name on xubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/default-user-name-on-xubuntu-485030/)

Tym52 09-19-2006 01:21 PM

? default user name on xubuntu
 
I just installed Xubuntu and have been unable to login. During the install I was prompted to create a password but I never saw what the user name was. I have tried root and administrator as user names using the password set during install both failed. Is there a default user name that I should use?

b0uncer 09-19-2006 01:34 PM

As far as I know, having installed both Kubuntu and Ubuntu (so I don't think Xubuntu is so different), you really do pick up a username during the setup. Ubuntu's policy is that the root account (loginname root) is locked by default, i.e. the password is set to unknown, so to enable it you'll need the user account you created during the setup, which has sudo rights.

During the setup you give your name, a preferred username, password for that account (twice) and possibly some other information. After the installation you use that username you gave then, to log in -- with your password. That's the only "working" (in the sense: you can log in with it) account on the machine after the installation, others including root have passwords set to something nobody knows.

If you've managed to forget the account name (loginname), I suggest you boot using the "rescue mode" a.k.a. single user mode, which should bring you into a root account by default. Then simply read /etc/group to determine the username you created yourself (you should know it) and set it's password using passwd or create a new account. By the way, after this you know why you want to set your bootloader a password -- if you don't, basically anyone can use the single user mode to do whatever they like with your computer.

Tym52 09-20-2006 07:58 AM

Thanks BOuncer

The real problem was that I installed the wrong option. Not thinking I installed the OEM option instead of the Text and the text gave me the option to put in a user name.


All times are GMT -5. The time now is 07:28 PM.