LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-01-2007, 04:36 PM   #1
freezola75
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
Question need to retrieve username and password on yellow dog linux 5.0 on the ps3


ok here's the deal. I have yellow dog linux on my ps3. I've had it for a while. At first I couldn't get on because i was using a wireless connection at the time and i did not have access to the next update. I recently got hard wired. I attempted to boot up the Linux and it worked i had a connection!! The only thing was that i couldn't remember my password and username. I'm stuck at the blue screen and i don't know what else to do. Please help.
 
Old 10-01-2007, 05:47 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
If you have a liveCD distro, boot that. Then mount the yellow dog partition. Look in file /etc/passwd to find the user name. The password is probably encrypted in /etc/shadow, so there is no retreiving that.

Once you have the user name from /etc/passwd, boot yellow dog to runlevel 1. Then, as root, run 'passwd -u -e <username>' to unlock (-u) the user password, and to force the user to set a new password at next login (-e). Then either reboot, or 'init 5' to go to runlevel 5.

See the man page for passwd for more inof.
 
Old 10-01-2007, 07:19 PM   #3
freezola75
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Arrow Thanks for the help...

I am a total newbie and i'm sorry that i don't know to much about Linux at all but, what is the livecd bistro? If you mean the info that i used to boot up the software on, then i do have that. Again thank you for help



Quote:
Originally Posted by bigrigdriver View Post
If you have a liveCD distro, boot that. Then mount the yellow dog partition. Look in file /etc/passwd to find the user name. The password is probably encrypted in /etc/shadow, so there is no retreiving that.

Once you have the user name from /etc/passwd, boot yellow dog to runlevel 1. Then, as root, run 'passwd -u -e <username>' to unlock (-u) the user password, and to force the user to set a new password at next login (-e). Then either reboot, or 'init 5' to go to runlevel 5.

See the man page for passwd for more inof.
 
Old 10-01-2007, 11:41 PM   #4
I_like_TUX
Member
 
Registered: Sep 2007
Distribution: Fedora 7, Edubuntu
Posts: 35

Rep: Reputation: 15
freezola75, I never use Yellow Dog, but for "blue screen", do you mean a login prompt? (something like: username: _) You said you forgot the username and the password, do you mean you forgot the password for user named "root"?

I am happy to see someone using Linux on a PS3! May I ask why you want to do so? can you boot your PS3 by a CD or DVD just like a PC?

Last edited by I_like_TUX; 10-01-2007 at 11:42 PM. Reason: additional stuffs
 
Old 10-02-2007, 08:31 AM   #5
freezola75
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Talking Well i had been hearing about Linux for a while....

..........and I've had my ps3 since day 1. I am by far the least computer savy save for the very basics. Anyway upon reading about Fedora and YDL, I immediately had a friend who was way more computer literate than i, to help me download Linux to ps3. A fairly easy thing to do I might add and when we finally did it, I didn't realize that it was the YDL 5.0 which only operated off of a wired signal. My main thing was to utilize the other OS for the ps3. I wanted to have a computer! I must say I know next to nothing about YDL but here I had it on my ps3 and not using it. Until last night....

As far as being able to boot up I did so using the cd we downloaded and the flash drive as well. I hope that answered the boot up question. Now that the program is on though, I don't put a cd in to boot up. I can boot up from the ps3's settings
and switch back to the ps3 instantly from the YDL settings. I didn't know that at the time either.

As far as the Blue screen goes... that is the username and password prompt. I just can't seem to remember them. Which really sucks because since i'm wired now my YDL is connected. I'm not sure what to type in. I've typed in root under password, but i can get no further.



QUOTE=I_like_TUX;2910040]freezola75, I never use Yellow Dog, but for "blue screen", do you mean a login prompt? (something like: username: _) You said you forgot the username and the password, do you mean you forgot the password for user named "root"?

I am happy to see someone using Linux on a PS3! May I ask why you want to do so? can you boot your PS3 by a CD or DVD just like a PC?[/QUOTE]
 
Old 10-02-2007, 10:02 PM   #6
I_like_TUX
Member
 
Registered: Sep 2007
Distribution: Fedora 7, Edubuntu
Posts: 35

Rep: Reputation: 15
I assume you do not have much command line experience. Resetting root password is not an easy task for a beginner although it is not that hard either. If the YellowDog you have on your PS3 harddisk is a clean/flash installation, then why not spend time to re-install the whole thing (and remember the new root password)?

Generally, if you want to fix it without re-installation, you need to boot the PS3 with a Live/installation/rescue CD/DVD (basically, CD/DVD with a working Linux OS on it), then let the OS on the CD/DVD to "connect" to your harddisk (we call it mount the harddisk). After that, you need to use an editor (often it will be vi) to remove the encrypted root password from a file called "shadow" in the /etc directory. Finally, reboot PS3 without the CD/DVD and user root should have no password protection. After you login as root, set your password immediately.
 
Old 10-03-2007, 08:29 AM   #7
freezola75
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Thumbs up i_like_Tux thanks alot doode

your assumptions are correct, i have no command line experience, but this information is very useful. I'm gonna be working at it soon. Thanks again for your help. You rock doode! I'll be posting up back here soon to tell you how things went. We should be friends holla.




Quote:
Originally Posted by I_like_TUX View Post
I assume you do not have much command line experience. Resetting root password is not an easy task for a beginner although it is not that hard either. If the YellowDog you have on your PS3 harddisk is a clean/flash installation, then why not spend time to re-install the whole thing (and remember the new root password)?

Generally, if you want to fix it without re-installation, you need to boot the PS3 with a Live/installation/rescue CD/DVD (basically, CD/DVD with a working Linux OS on it), then let the OS on the CD/DVD to "connect" to your harddisk (we call it mount the harddisk). After that, you need to use an editor (often it will be vi) to remove the encrypted root password from a file called "shadow" in the /etc directory. Finally, reboot PS3 without the CD/DVD and user root should have no password protection. After you login as root, set your password immediately.
 
Old 10-04-2007, 05:02 PM   #8
I_like_TUX
Member
 
Registered: Sep 2007
Distribution: Fedora 7, Edubuntu
Posts: 35

Rep: Reputation: 15
You are welcome. If you don't mind, keep us (at least I am interested) updated in your progress. I don't have money to buy a PS3 yet but I am really interested in how useful is Linux on PS3. You may also be interested in reading the Linux section of the PS3 article from Wikipedia.
 
Old 10-04-2007, 07:14 PM   #9
freezola75
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Talking ok cool Tux

yo i'm gonna check that wikipedia stuff out fam thanks again



Quote:
Originally Posted by I_like_TUX View Post
You are welcome. If you don't mind, keep us (at least I am interested) updated in your progress. I don't have money to buy a PS3 yet but I am really interested in how useful is Linux on PS3. You may also be interested in reading the Linux section of the PS3 article from Wikipedia.
 
Old 10-04-2007, 10:09 PM   #10
systemnotes
LQ Newbie
 
Registered: Apr 2007
Distribution: RHEL
Posts: 29

Rep: Reputation: 15
This procedure should work on most linux systems (assuming it uses grub to start)

http://systemnotesorg.blogspot.com/2...-get-into.html

Boot to single user mode
At blue grub screen
a
1

after bootup
passwd

or
useradd someuser
passwd someuser

or if you know the username
passwd someuser
 
Old 10-05-2007, 10:52 PM   #11
freezola75
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Cool systemnotes thanks doode

you guys are very knowledgeable about this Linux stuff i have to wait until 1 of my more computer savy doodes to come thru to help me do this correctly. I'm gonna check out that link. I appreciate any and all info i recieved from you guys. I'm just sorry i don't have anything to offer y'all. But thanks again




Quote:
Originally Posted by systemnotes View Post
This procedure should work on most linux systems (assuming it uses grub to start)

http://systemnotesorg.blogspot.com/2...-get-into.html

Boot to single user mode
At blue grub screen
a
1

after bootup
passwd

oryou guys are very knowledgeable about
useradd someuser
passwd someuser

or if you know the username
passwd someuser
 
  


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
How do I update my Yellow dog Linux from v5.0 to v5.0.1 (for PS3) streetballer14 Linux - Distributions 1 07-22-2007 10:52 AM
Yellow Dog Linux help (ps3) Slaxie Linux - Hardware 0 06-26-2007 05:25 PM
Linux Yellow Dog 5.0 on PS3 scon484 Linux - Newbie 3 05-14-2007 05:53 PM
yellow dog linux on ps3 jamesy1559 Linux - Newbie 1 04-01-2007 09:33 AM
LXer: Yellow Dog Linux launches for PS3 LXer Syndicated Linux News 0 11-27-2006 06:03 PM

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

All times are GMT -5. The time now is 12:02 AM.

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