Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
07-13-2006, 10:22 AM
|
#1
|
LQ Newbie
Registered: Jul 2006
Posts: 8
Rep:
|
username & password problem ubuntu
Feeling very green just downloaded most recent ver. of ubuntu all was well until log in and it denied access. Tried any and all password and username combos to no avail. Unsure of how to proceed. Do we uninstall then re-install? if so how? Maybe someone can suggest how to get around this. really want in Azmike I believe I posted in the wrong forum please excuse my error
Last edited by azmike; 07-13-2006 at 11:47 AM.
|
|
|
07-13-2006, 12:30 PM
|
#2
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
1) Boot up with the live CD
2) mount your hard drive install (you need to mount the / partition of the hard drive install, something like /dev/hda2 for the primary drive, second partition)
3) type chroot /mnt/hda2 or whatever you called the mounted drive. This will make you be the root user of the hard drive install. Then cd /mnt/hda2 (change directory to the drive you just chrooted into).
4) ls /home and see if there's a username you recognize. If there is then type passwd username where username is of course, your username. This should let you set a new password.
4b) If you don't see a user you like, type adduser username and it should create you a /home directory for that user and prompt you for a password.
5) Type exit
6) Unmount the drive
7) reboot into your hard drive install.
|
|
|
07-13-2006, 12:40 PM
|
#3
|
Member
Registered: Oct 2005
Location: Knoxville, Tn (USA)
Distribution: OpenSUSE, Ubuntu
Posts: 250
Rep:
|
If you installed the most recent version of Ubuntu (version 6.06), then you have to create a user name and password during the installation. This is what you should use. Are you saying that you've forgotten this password?
Quote:
type chroot /mnt/hda2 or whatever you called the mounted drive.
|
Chroot should work because the root account on Ubuntu is disabled as everything is done via sudo.
~Justin
|
|
|
07-13-2006, 02:02 PM
|
#4
|
LQ Newbie
Registered: Jul 2006
Posts: 8
Original Poster
Rep:
|
This is great
I could have never imagined the excellent info I have been presented . Thank you very much fyi you give me strength to carry on.
|
|
|
07-14-2006, 01:38 AM
|
#5
|
LQ Newbie
Registered: Jul 2006
Posts: 8
Original Poster
Rep:
|
I believe it was accidental but we are up and running and I can't believe the resources available including these forums you guys are great
|
|
|
08-22-2006, 12:03 PM
|
#6
|
LQ Newbie
Registered: Aug 2006
Posts: 5
Rep:
|
hi everybody,
i am a new member and this is my first question. i have a laptop that was installed with ubuntu. unfortunately, i don't know its username and also don't have a live CD. which CD do i have to install?
Not: there is only ubuntu on the laptop, no windows and so no partioning the hard drive.
|
|
|
All times are GMT -5. The time now is 03:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|