haha whoops, forgot to add a cc as well. Though im still confused as to his goal--he wants to call su.c, but not as root? the su app/binary does that, I agree--providing he roots his device ...which I am not at all certain is good given his earlier messages :/ On May 2, 2011 3:50 PM, "Chris Stratton" <cs07...@gmail.com> wrote: > > Thanks, but I'm the person answering the question, not the extremely confused person who posted it. > > Once root access to the device is gained, sudo-like functionality typically is installed. > > Chris >> >> On May 2, 2011 6:43 PM, "t0hitsugu" <tohits...@gmail.com> wrote: >> >> there is no 'per basis' superuser ability available for android yet, as gaining these privelages is something the hardware manufacturers do not support. hence the need to exploit a bug somewhere in order to get root. afaik, there is nothing yet equivilent the sudo command, which is what you seem to want. >> >> On May 2, 2011 2:22 PM, "Chris Stratton" <cs07...@gmail.com> wrote: >> > On Apr 30, 5:51 pm, wadhah dawahi <wadhah.daw...@gmail.com> wrote: >> > >> >> >The program must already be root when it starts. All the >> >> > logic can do is decide to remain root. >> >> >> >> how the system determine that the program be root ??? which any >> >> character know it?? is it with the chown you can determine the user id >> >> and group id >> > >> > Close - chown it to root and use chmod to set the suid bit. >> > >> > But you must already be root to do this. >> > >> >> > Which means you can only install it on the device if you already are root. >> >> >> >> the chown works with only root and verify with /etc/pasword but >> >> linux android can't contain this file ... how can the system >> >> determine this >> > >> > It works with just plain numbers, too. >> > >> >> > If you aren't, google for instructions on how to root your device. >> >> >> >> i dont understand this "google for instructions on how to root your >> >> device." >> > >> > To do what you want to do, you will have to make unsupported >> > modifications to your phone, possibly exploiting obscure security bugs >> > to temporarily gain root access in order to be able to change it. >> > This is commonly called 'rooting' on a linux/unix system such as >> > Android. >> > >> > -- >> > You received this message because you are subscribed to the Google Groups "Android Security Discussions" group. >> > To post to this group, send email to android-security-discuss@googlegroups.com. >> > To unsubscribe from this group, send email to android-security-discuss+unsubscr...@googlegroups.com. >> > For more options, visit this group at http://groups.google.com/group/android-security-discuss?hl=en. >> >
-- You received this message because you are subscribed to the Google Groups "Android Security Discussions" group. To post to this group, send email to android-security-discuss@googlegroups.com. To unsubscribe from this group, send email to android-security-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/android-security-discuss?hl=en.