xinzhi
V2EX  ›  问与答

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

  •  
  •   xinzhi · Nov 6, 2010 · 6218 views
    This topic created in 5682 days ago, the information mentioned may be changed or developed.
    这里的方法太麻烦了:
    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 replies    1970-01-01 08:00:00 +08:00
    chone
        1
    chone  
       Nov 6, 2010
    root 需要输密码,除非你用root登录
    eraser
        2
    eraser  
       Nov 6, 2010
    launchd may help
    eraser
        3
    eraser  
       Nov 6, 2010
    /Library/StartupItems/里创建个新启动项,具体StartupParameters.plist怎么写google一下吧。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3770 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 05:04 · PVG 13:04 · LAX 22:04 · JFK 01:04
    ♥ Do have faith in what you're doing.