知我者谓我心忧,不知我者谓我何求。 顺天命者,悲;逆,亡?

1.1.3/1.1.4版本的iphone修改root密码失败后的解决办法

2008-04-23 14:38:27 / 个人分类:备忘

网上的修改密码相关教程在1.1.3/1.1.4中是不适用的,因修改失败,导致iphone启动后不断循环的用户可以把以下两个文件恢复下。免得你再次重装系统,再次破解了。

一个是 /etc/master.passwd 一个是 /etc/passwd
很多用户在恢复的时候可能乎略了 /etc/passwd   这是关键

以下是备份下来的内容。

----------------- 沿此线剪下存入/etc/master.passwd -----------------
##
# User Database
#
# Note that this file is consulted when the system is running in single-user
# mode. At other times this information is handled by lookupd. By default,
# lookupd gets information from NetInfo, so this file will not be consulted
# unless you have changed lookupd's configuration.
##
nobody:*:-2:-2::0:0:Unprivileged User:/var/empty:/usr/bin/false
root:/smx7MYTQIi2M:0:0::0:0:SystemAdministrator:/var/root:/bin/sh
mobile:/smx7MYTQIi2M:501:501::0:0:Mobile User:/var/mobile:/bin/sh
daemon:*:1:1::0:0:System Services:/var/root:/usr/bin/false
unknown:*:99:99::0:0:Unknown User:/var/empty:/usr/bin/false
_securityd:*:64:64::0:0:securityd:/var/empty:/usr/bin/false
----------------- 沿此线剪下 -----------------

----------------- 沿此线剪下存入/etc/passwd -----------------
##
# User Database
#
# Note that this file is consulted when the system is running in single-user
# mode. At other times this information is handled by one or more of:
# lookupd DirectoryServices
# By default, lookupd gets information from NetInfo, so this file will
# not be consulted unless you have changed lookupd's configuration.
# This file is used while in single user mode.
#
# To use this file for normal authentication, you may enable it with
# /Applications/Utilities/Directory Access.
##
nobody:*:-2:-2:Unprivileged User:/:/usr/bin/false
root:*:0:0:System Administrator:/var/root:/bin/sh
mobile:*:501:501:Mobile User:/var/mobile:/bin/sh
daemon:*:1:1:System Services:/var/root:/usr/bin/false
unknown:*:99:99:Unknown User:/var/empty:/usr/bin/false
_securityd:*:64:64::0:0:securityd:/var/empty:/usr/bin/false
----------------- 沿此线剪下 -----------------

TAG: 备忘

删除 请教 发布于2008-06-06 01:31:04
如何连接iphone? 反复晃不能连接啊
我来说两句

-5 -3 -1 - +1 +3 +5

Open Toolbar