[Q] Why can't alter the su binary to have system access only instead of root

Search This thread

saykou

Member
Nov 30, 2013
11
2
Hi,

Imagine a scenario where you have just system access on android , and you want to continually have it, so you use the su binary, with the correct permission and the setuid flag on, and the owner being system, you do:
Code:
chown 1000:1000 su2 
chown 06755 su2

you have the ability to change the owner to system as you do when rooting, and you also set the appropriate permission as you do when rooting,

06775 being the permission code to all have execution permission, and the setuid flag on.

But when dealing with system permission that doesn't work. it only works with root.

I know it's a weird question, but if any could answer it, id be glad .... thanks
 

CtrlAltDelIrl

Senior Member
Mar 7, 2012
1,410
800
If i get you right you want your /system to be rw by user, without root?

Why on earth would you want such an insecure system?

It is a silly idea!
 

saykou

Member
Nov 30, 2013
11
2
No, i want to su binary to work for system user, as it works for root user, when you just have system access. system user,
is much like root, but with less power. its uid is 1000.


If i get you right you want your /system to be rw by user, without root?

Why on earth would you want such an insecure system?

It is a silly idea!
 

Planterz

Senior Member
Feb 28, 2014
2,275
817
Tucson, AZ
I don't get it. Isn't having system access and having "root" the same thing? I mean, the definition of "root" is having system access, no?