2008年9月13日星期六

MacBook


今天又买了一台手提电脑. 那就是经常提到的苹果电脑 Macbook. 花这么多钱买苹果电脑是因为近来爱上了苹果的产品, 之前已经买了IPod Touch. 以后会花些时间在苹果软件的开发上.

今天碰到的一个问题是如何修复密码. 如果你忘记了密码, 该如何补救呢. 苹果网站上有相应的文档"Changing or resetting an account password". 点击查看.

那么忘记了管理员密码, 手头又没有安装盘, 该如何处理呢. 下面介绍一个实用的方法:

前提: You must have physical access to the machine in order to accomplish this task.

步骤:
1.Start the Macbook. While the computer is restarting, hold down "Command-S" until you see text scrolling through the window.
This boots the computer into single user mode.

2. Type: /sbin/mount -uw /

3. passwd Username( the username you want to reset the password or root)

4. input new password.

5. After entering the new password, type: reboot


我试过, 非常好用. Good Luck

3 条评论:

匿名 说...

你好,我是西安的一名在校学生。最近碰到一个问题,想请教一下。
在使用ASP.NET开发的一个管理系统时,在.aspx中有
< td class="TableData">
< anthem:HiddenField ID="hidAttachID" runat="server" />
< anthem:HiddenField ID="hidAttachName" runat="server" />< / td>

在js中这样获取
var createStr = StringHelper.buildFlatXmlString(
"Refer",
["Department","Type","StandardID","ForeAccountValue","BackAccountValue","ControlAccountValue","Foundation","AttachID","AttachName","AccountTime"],
[_arrDepartments.join("|"),"2",
document.all.select3.value,
document.all.txtForeAccountValue.value,
document.all.txtBackAccountValue.value,
document.all.txtControlAccountValue.value,
document.all.txtaRemark.value,
document.all.hidAttachID.value,
document.all.hidAttachName.value,
document.all.txtBegin_Date.value]);

var id = XmlHttpHelper.transmit(false, "post", "text", "RemoteHandlers/InsertRefer.ashx", null, createStr);
在某一台电脑上,若添加了attch,即hidAttachID有了值得话,就会提示错误:null为空或不是对象;不添加attch就可以正常执行。但在另外的电脑上无论添加与否都没有错误提示都可以正常执行。我想是不是电脑的某一些设置会不允许hidden传值?
在网上搜了很多但没有找到答案,若知道的话,希望不吝赐教。我的邮箱是huizi04032@163.com.希望能收到您的信件,祝一切好

小蚂蚁 说...

已经回复, 请查收.

匿名 说...

...please where can I buy a unicorn?