BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 6th, 2006, 05:02 PM
Zarathax Zarathax is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 1 Zarathax User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 39 sec
Reputation Power: 0
FreeBSD/i386 Username Password Problems

Well on my other computer my Harddrive got Fried, so i took another HD from a random computer in my basement, i put it in and it has, of course, FreeBSD. It gets through all of its stuff and come to stuff that looks like this

FreeBSD/i386 (some long server name) (ttyv0)

Login:

Is there a way i can get on this harddrive? way to get another User or find out any old ones? if telling you the Server name or w/e helps please let me know.

Thank You

Reply With Quote
  #2  
Old July 7th, 2006, 12:46 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
Posts: 9,406 Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Months 9 h 35 m 45 sec
Reputation Power: 4080
You can boot it in single user mode and change the root password to anything you like. Here's how to do it:

1. For older freebsd systems, when booting up, it should give you a message to press Enter to boot /kernel or hit any key within 5 seconds (or words to that effect). Instead of typing Enter, type any other key and then type boot -s and then press enter. This will boot the kernel up in single user mode.

In newer versions of freebsd, it should give you a "Welcome to FreeBSD" message" followed by a number of boot options. Hit Space here and then select option 4 (boot in single user mode) and hit enter.

2. You will then see a prompt like this:
Enter full pathname of shell or RETURN for /bin/sh:
Hit enter here and you'll be presented with a shell.

3. At the prompt, type mount -a to mount everything.

4. Type passwd and change the root password to something you choose. If you want to change a user's password as well, you can type passwd name_of_user to change any user's password.

5. Type exit to reboot in multi-user mode.

Now you should be able to login as root with the password you chose.
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > FreeBSD/i386 Username Password Problems

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap