What su means: process = Runtime.getRuntime (). exec ("su");

I am trying to figure out some code that gave me. Can someone tell me what that means?

process = Runtime.getRuntime().exec("su"); os = new DataOutputStream(process.getOutputStream()); 

In particular, su.

Thanks!

+2
android
source share
2 answers

Used without any other parameter, su changes the user ID to 0 (superuser), but does not change the current path or environment.

+2
source share

This is a Unix team. It is used to switch active users. For more information on what the team does, see this manual page . The Wikipedia page discusses what the name of the team means. I thought it was a "user switch", but it was not so simple.

+1
source share

All Articles