Mac Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsMac 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 October 11th, 2006, 01:36 PM
haid's Avatar
haid haid is offline
<-- me, in the negative
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: /etc/php.ini
Posts: 471 haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 15 h 57 m 27 sec
Reputation Power: 54
Send a message via AIM to haid Send a message via MSN to haid
Root password, single user mod

Hey everyone,
In OS X 10.2 and 10.3 one was able to boot up in single user mode and gain root access to the machine. I was wondering if this is still possible in 10.4. If so, how?

Thanks.
__________________
Cheers,
Ryan

Reply With Quote
  #2  
Old October 19th, 2006, 09:50 AM
ericgorr ericgorr is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 46 ericgorr User rank is Corporal (100 - 500 Reputation Level)ericgorr User rank is Corporal (100 - 500 Reputation Level)ericgorr User rank is Corporal (100 - 500 Reputation Level)ericgorr User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 13 h 9 m 27 sec
Reputation Power: 6
Quote:
Originally Posted by haid
Hey everyone,
In OS X 10.2 and 10.3 one was able to boot up in single user mode and gain root access to the machine. I was wondering if this is still possible in 10.4. If so, how?


Check out: Single User Mode - tiger

Reply With Quote
  #3  
Old October 24th, 2006, 09:46 PM
0000's Avatar
0000 0000 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 209 0000 User rank is Sergeant (500 - 2000 Reputation Level)0000 User rank is Sergeant (500 - 2000 Reputation Level)0000 User rank is Sergeant (500 - 2000 Reputation Level)0000 User rank is Sergeant (500 - 2000 Reputation Level)0000 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 9 h 4 m 52 sec
Reputation Power: 17
Do you mean as in a non-graphical console? Just enter -s boot command in the darwin startup console.

Reply With Quote
  #4  
Old November 1st, 2006, 10:19 AM
haid's Avatar
haid haid is offline
<-- me, in the negative
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: /etc/php.ini
Posts: 471 haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 15 h 57 m 27 sec
Reputation Power: 54
Send a message via AIM to haid Send a message via MSN to haid
Sorry, I don't think I was clear enough. In Mac OS 10.2 and 10.3 one was able to boot into single user mode, mount the hard drive, and change the root password without knowing the original password:

In 10.2:
/sbin/fsck -y
/sbin/mount -wu /
/sbin/SystemStarter

In 10.3:
/sbin/fsck -y
/sbin/mount -uw /
/usr/libexec/register_mach_bootstrap_servers /etc/mach_init.d
cd /var/db/netinfo; netinfod -s local
/sbin/SystemStarter

Is this still possible in 10.4?

Reply With Quote
  #5  
Old November 1st, 2006, 12:22 PM
edman007's Avatar
edman007 edman007 is offline
Trapped on the forums...help
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Aug 2003
Location: /Users/edman007
Posts: 4,617 edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)edman007 User rank is Major General (70000 - 90000 Reputation Level)  Folding Points: 67263 Folding Title: Intermediate FolderFolding Points: 67263 Folding Title: Intermediate FolderFolding Points: 67263 Folding Title: Intermediate FolderFolding Points: 67263 Folding Title: Intermediate Folder
Time spent in forums: 1 Month 3 Weeks 3 Days 4 h 34 m 24 sec
Reputation Power: 787
Send a message via AIM to edman007
yup, i just walked someone through it last week, it was just 2 commands when i did it

code Code:
Original - code Code
    sh /etc/rc passwd root reboot


the first one will boot OSX without bringing up the GUI and leaving you logged in as root, after a minute or so you can just hit enter a few times and see your prompt, then run passwd and reboot, when i tried it i was getting a lot of log messages printed to the screen after it booted, but they can be ignored and they don't interfere with what you type
Comments on this post
haid agrees!
__________________
Feed ME

Reply With Quote
  #6  
Old November 1st, 2006, 04:42 PM
haid's Avatar
haid haid is offline
<-- me, in the negative
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: /etc/php.ini
Posts: 471 haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 15 h 57 m 27 sec
Reputation Power: 54
Send a message via AIM to haid Send a message via MSN to haid
Sweet! Thanks.

Reply With Quote
  #7  
Old November 8th, 2006, 01:08 PM
haid's Avatar
haid haid is offline
<-- me, in the negative
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: /etc/php.ini
Posts: 471 haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level)haid User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 15 h 57 m 27 sec
Reputation Power: 54
Send a message via AIM to haid Send a message via MSN to haid
Interesting....

I got lots of log messages, but pressed enter after a few minutes. I changed the password for root and one of the users on the machine, and it apppeared to be successful. However, when I rebooted the computer, the passwords were not changed.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsMac Help > Root password, single user mod


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 6 hosted by Hostway