LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 09-22-2008, 02:33 PM   #1
doğa
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
linux username and password?


hello, ı can not remember my linux username and password but ı want to use linux again, could you help me please..

note: ı could not know linux very much so if you write understandible for me, ı will be happy ,thanks...
 
Old 09-22-2008, 02:45 PM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
if you are able to boot the computer into single user mode

init s

or

init 1

you will boot into your PC as root with out entering a password
 
Old 09-22-2008, 02:49 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Welcome to LQ!!

In general, you should always identify what distro (version) of Linux you are using and how it is installed. (eg dual-boot with Windows, on a USB drive, etc.)

Assuming that you have the GRUB bootloader, you can always get into a linux systems as follows:
When you see the GRUB menu, hit any key to stop the countdown.
select the Linux to be booted, and enter "e" (for edit)
select the kernel line, "e" again, and add the word "single" (no quotes) at the end of the line.
Hit enter and then "b" to boot.

You will now boot into single user mode, with no password required. You can see the users by entering "more /etc/passwd". If you see a username you recognize, then you can change the password using "passwd username". You can also change the root password, or you can create a new user using "adduser".

When you are done, reboot and you will be able to log in normally.
 
Old 09-22-2008, 02:57 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by watcher69b View Post
if you are able to boot the computer into single user mode

init s

or

init 1

you will boot into your PC as root with out entering a password
You cannot get to single user mode using init unless you are already up and running!!! Thus, I assume you meant to append the init command in the GRUB command mode or.....?
 
Old 09-23-2008, 04:03 PM   #5
doğa
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Original Poster
Rep: Reputation: 0
really thank you very much everybody who wants to help me. my proplem is solved
 
Old 09-24-2008, 01:46 PM   #6
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
Quote:
You cannot get to single user mode using init unless you are already up and running!!! Thus, I assume you meant to append the init command in the GRUB command mode or.....?
he didnt say that it was powered/logged off...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Username and password to login Suse linux 10 honghoahoi Linux - General 4 01-20-2010 10:50 PM
I forgot both my username and password for Linux mse100% Linux - Security 5 01-22-2007 04:11 PM
Can i get into linux without knowing a username or password? bmwatts1019 Linux - Security 13 12-11-2006 05:54 AM
Common username/password on Linux and Windows Yalla-One Linux - Networking 1 03-16-2005 05:50 AM
Linux Username and password only ASCII? LogicMagic Linux - Newbie 5 02-26-2004 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:40 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