V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
xinzhi
V2EX  ›  问与答

Mac OS X开机运行root命令?(自动修改mac地址)

  •  
  •   xinzhi · 2010-11-06 11:36:49 +08:00 · 5631 次点击
    这是一个创建于 4947 天前的主题,其中的信息可能已经有所发展或是发生改变。
    这里的方法太麻烦了:
    http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/

    我只是想启动时运行以下命令:
    ifconfig en0 ether xx:xx:xx:xx:xx:xx

    要root权限。

    有没有跟简便的方法呢?
    3 条回复    1970-01-01 08:00:00 +08:00
    chone
        1
    chone  
       2010-11-06 11:51:11 +08:00
    root 需要输密码,除非你用root登录
    eraser
        2
    eraser  
       2010-11-06 12:32:55 +08:00
    launchd may help
    eraser
        3
    eraser  
       2010-11-06 13:01:20 +08:00
    /Library/StartupItems/里创建个新启动项,具体StartupParameters.plist怎么写google一下吧。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4726 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 09:43 · PVG 17:43 · LAX 02:43 · JFK 05:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.