Check if OpenVPN for Android app is running as root or an unpriviledged user #1436
FlexMcMurphy
started this conversation in
General
Replies: 1 comment 1 reply
-
Each app runs as unprivileged user anyway. So the --user option is ignored on import since it would not would work. Unless you rooted your phone the OpenVP app has not a way to gain root privileges anyway. As for checking. I think adb shell and ps aux should still work even on a non-rooted phone. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the OpenVPN for Android app on a Pixel4a that is not rooted. In the OpenVPN manual it states:
But does the OpenVPN for Android app use those options? If not then does it run as root user even on a phone that is not rooted or does it run as some unpriviledged user? This is what I want.
When I open Termux in the phone and try commands like ps, top, htop, pstree I am unable to see what user is running the OpenVPN for Android app process. Maybe that is because my phone is not rooted.
On the OpenVPN server side I run this command and get that result:
This just tells me that OpenVPN server is being run as the root user.
Is there a way for me to check if the OpenVPN connection from my phone is being run as an unpriviledged user or as root user?
Cheers,
Flex
Beta Was this translation helpful? Give feedback.
All reactions