BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #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 online now
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 h 22 m 8 sec
Reputation Power: 797
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

Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month

Reply With Quote
Reply

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


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway