LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-13-2011, 11:33 AM   #1
marqii
LQ Newbie
 
Registered: Nov 2011
Distribution: Ubuntu 11.10
Posts: 2

Rep: Reputation: Disabled
Question Cannot login - changed password in system settings


Hi

I changed my password in system settings to avoid using any password.
Now I cannot login.

How can I reset my password?
 
Old 11-13-2011, 11:54 AM   #2
ptrivino
Member
 
Registered: May 2008
Location: San Diego CA
Distribution: CentOS
Posts: 40

Rep: Reputation: 5
Try no password

I *believe* you can just hit Enter at the password prompt. If you have the root password login as root and use 'passwd <username>' to change username's password. Or, boot with a LiveCD and edit the HDD /etc/passwd file.

Corrections from more experienced admins welcome...;^)
 
1 members found this post helpful.
Old 11-13-2011, 12:18 PM   #3
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
If you are talking about your user password, you could have not changed it, and configured auto login for your user. What distribution are you using?
 
Old 11-13-2011, 02:55 PM   #4
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
If you can select booting to command prompt some way, possibly by selecting such at the login screen, use passwd command to change user passwd. With Ubuntu it would probably be: sudo passwd user
Replace "user" with your actual user name, after running this command you will be prompted to type a new unix password for that user, enter the password, hit enter and you'll be prompted to retype the password, enter the password, hit enter and it should confirm the changes.

Last edited by Brains; 11-13-2011 at 02:58 PM. Reason: added for clarification
 
1 members found this post helpful.
Old 11-13-2011, 05:14 PM   #5
marqii
LQ Newbie
 
Registered: Nov 2011
Distribution: Ubuntu 11.10
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by Brains View Post
If you can select booting to command prompt some way, possibly by selecting such at the login screen, use passwd command to change user passwd. With Ubuntu it would probably be: sudo passwd user
Replace "user" with your actual user name, after running this command you will be prompted to type a new unix password for that user, enter the password, hit enter and you'll be prompted to retype the password, enter the password, hit enter and it should confirm the changes.
Thank You Everyone!
Ubuntu 11.01 finally booted up and I was able to redo password in terminal

..happy penguin!

'the universe is a mirror!'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Big problem changed root password for mysql can't login pls comment johnnydangerous Linux - Software 5 07-08-2005 01:22 AM
system changed my root-password supersucker Linux - Software 2 01-16-2005 01:12 PM
Changed monitor settings, now no graphical login Everest63 Linux - Newbie 1 10-23-2004 08:16 PM
Password Check is Passwords Skipped in Login Screen, Root System Settings Change in X edwardt Red Hat 1 07-06-2004 11:46 PM
Login Manager settings changed Mattyz Linux - General 0 10-27-2003 05:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration