[1.1.3] Command line Reboot & Restart SpringBoard
As you know that 1.1.3 fw, All applications will run under userid "mobile", not "root"
as previous firmware.
So, I want to write application to execute "/sbin/reboot" but that's not possible
to do under userid "mobile" . It shows error "reboot: Operation not permitted"
Also, command to restart spring board does not work under userid "mobile" also
"launchctl stop com.apple.SpringBoard".
It shows error : "launch_msg(): Socket is not connected"
Any idea? do I need to set SUID to /sbin/reboot and /bin/launchctl ?
I have tried that, its work for reboot command but does not work on launchctl