Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
System Administrator Password
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="savers" data-source="post: 55174"><p>would any of this work?/</p><p>--------------------------------------------------------------------------------</p><p> </p><p>if it's running os x and there isn't a firmware password, you can change the password or get the hash in a couple of minutes. well not if the computer is running 10.3, the single user mode locks up if you try to get the hash or change the password. provided the computer is running any os x lower that 10.3 you just do the following: </p><p></p><p>1) boot up holding the apple + s keys </p><p>2) type /sbin/mount -uw / (you don't need to run the /sbin/fsck -y /) </p><p>3) type /sbin/systemstarter </p><p>4) either type passwd (account goes here) to change the password </p><p>or type nidump passwd . to get the hash to brute force if you want to </p><p>be a little more subtle with the whole hacking thing. </p><p></p><p>-------------------------------------------------------------------</p><p></p><p>you type nidump -r /users/<whatever adminname>/passwd / </p><p></p><p>to dump the password hash </p><p></p><p>PLUS, WHY BOTHER TO TAKE 8 HOURS OF YOUR TIME WHEN YOU CAN REMAKE YOUR PASSWORDS VIA NIUTIL. </p><p></p><p>this just drives me up th wall </p><p></p><p>use openssl passwd <new password> </p><p></p><p>niutil -destroyprop /users/<whater admin name> passwd </p><p></p><p>niutil -createprop /users/<whatever admin name> passwd <hash above> </p><p></p><p>seriously, you guys need to explore NetInfo commands more. </p><p></p><p>---------------------------------------------------------------------</p><p></p><p></p><p>The Mac uses the NetInfo database as a password file instead of /etc/passwd. You add new users to the NetInfo database using the nidump and niload commands. For example, as root: </p><p></p><p># cd /tmp </p><p># nidump passwd . > passwd.new </p><p></p><p>This will dump the contents of the NetInfo passwd table into passwd.new. Edit passwd.new to add users, e.g. to add user smith you would add a line something like: </p><p></p><p>smith::12434:200:0:0::Joe Smith:/afs/www.google.com:/bin/tcsh </p><p></p><p>Load the file back into the Netinfo database with the command: </p><p></p><p># niload passwd . < passwd.new </p><p></p><p></p><p>To modify a password entry, edit the file passwd.new to make the necessary changes, and load it into the NetInfo database with the command: </p><p></p><p># niload -d passwd . < passwd.new </p><p></p><p>----------------------------------------------------------------</p></blockquote><p></p>
[QUOTE="savers, post: 55174"] would any of this work?/ -------------------------------------------------------------------------------- if it's running os x and there isn't a firmware password, you can change the password or get the hash in a couple of minutes. well not if the computer is running 10.3, the single user mode locks up if you try to get the hash or change the password. provided the computer is running any os x lower that 10.3 you just do the following: 1) boot up holding the apple + s keys 2) type /sbin/mount -uw / (you don't need to run the /sbin/fsck -y /) 3) type /sbin/systemstarter 4) either type passwd (account goes here) to change the password or type nidump passwd . to get the hash to brute force if you want to be a little more subtle with the whole hacking thing. ------------------------------------------------------------------- you type nidump -r /users/<whatever adminname>/passwd / to dump the password hash PLUS, WHY BOTHER TO TAKE 8 HOURS OF YOUR TIME WHEN YOU CAN REMAKE YOUR PASSWORDS VIA NIUTIL. this just drives me up th wall use openssl passwd <new password> niutil -destroyprop /users/<whater admin name> passwd niutil -createprop /users/<whatever admin name> passwd <hash above> seriously, you guys need to explore NetInfo commands more. --------------------------------------------------------------------- The Mac uses the NetInfo database as a password file instead of /etc/passwd. You add new users to the NetInfo database using the nidump and niload commands. For example, as root: # cd /tmp # nidump passwd . > passwd.new This will dump the contents of the NetInfo passwd table into passwd.new. Edit passwd.new to add users, e.g. to add user smith you would add a line something like: smith::12434:200:0:0::Joe Smith:/afs/www.google.com:/bin/tcsh Load the file back into the Netinfo database with the command: # niload passwd . < passwd.new To modify a password entry, edit the file passwd.new to make the necessary changes, and load it into the NetInfo database with the command: # niload -d passwd . < passwd.new ---------------------------------------------------------------- [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
System Administrator Password
Top