摘要: 1. 对于不属于admin组的用户,通过sudo visudo设置test ALL=NOPASSWD:ALL2. 对于属于admin组的用户,将admin ALL之前的#注释打开,这样默认的帐号就可以不需要再sudo输入密码了。 # Members of the admin group may gain root privileges admin ALL=(ALL) ALLThat which didn't kill me makes me stronger 阅读全文
posted @ 2013-03-13 17:56 willbin 阅读(163) 评论(0) 推荐(0) 编辑
摘要: http://brandontreb.com/beginning-jailbroken-ios-development-your-first-tweak/AUG 23RD, 2011This is the 3rd installment of my jailbroken iOS development series. If you haven’t already, make sure you read the following tutorials to get up to speed.Beginning Jailbroken iOS Development - Getting The Too 阅读全文
posted @ 2013-03-13 13:45 willbin 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 在iPhone上可以做LauchDaemon,于是上网查找它的教程,不错,顺利搭建,无非是加2个文件,一个plist,加到/Library/LaunchDaemons目录下,作为启动手机后的索引,另一个sh放在自己想放的路径,plist中的路径就是这个sh不过要注意的是,plist需要chown root:wheel,否则无法被系统调用 阅读全文
posted @ 2013-03-13 13:39 willbin 阅读(159) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/diyagoanyhacker/article/details/7872253当我们创建基于mobilesubstrate的应用时,通常都是一些前后台程序,典型的比如苹果皮等,这个需要前台程序法信息到后台进程中,这里有两种方式一种是基于文件的模式也就是在后台程序中设定一个定时器,定时读取用户交互信息的文件,这样实现的通信机制,虽然也解决了问题,但是,缺陷是需要一直跑一个定时器来查询前台是否传递信息过来了还有一种是使用CFMessagePortRef典型的如下模式:#define APP_ID "yohunl.support.mach.port 阅读全文
posted @ 2013-03-13 12:17 willbin 阅读(371) 评论(0) 推荐(0) 编辑