adb shell uses root user

Bug #1692320 reported by flohack
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
UBports Fairphone 2
Invalid
Undecided
Unassigned
UBports Nexus 5
Invalid
Undecided
Unassigned
UBports Oneplus One
Invalid
Undecided
Unassigned

Bug Description

The current image uses adbd as root (and therefore also presents a root shell). This has some consequences:

- No click packages can be automatically deployed to the phone from scripts (Openstore via mdt)
- Automated backup not possible (needs ssh keys & phablet user shell)
- unknown security issues?

Please put exec su -l phablet -c adbd into the file android-tools-adb.conf for all images (not only N5)...

Revision history for this message
Johannah Sprinz (neothethird) wrote :
Changed in ubports-fp2:
status: New → Invalid
Changed in ubports-n5:
status: New → Invalid
Changed in ubports-opo:
status: New → Invalid
Revision history for this message
Johannah Sprinz (neothethird) wrote :

Twice. I moved it twice. :D

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.