Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8573653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:18:03+00:00 2026-06-11T19:18:03+00:00

i want to change application user’s environment variable(suppose that i have root permission). how

  • 0

i want to change application user’s environment variable(suppose that i have root permission). how does ‘application user'(like app_0, app_1…) load their environment variable? in ubuntu for example, i could change environment variable via .bashrc or /etc/profile or etc. where is user profile file like .bashrc for app_X user?

# su app_0
$ export
ANDROID_ASSETS
ANDROID_BOOTLOGO
ANDROID_DATA
ANDROID_PROPERTY_WORKSPACE
ANDROID_ROOT
ASEC_MOUNTPOINT
BOOTCLASSPATH
EXTERNAL_STORAGE
LD_LIBRARY_PATH
LOOP_MOUNTPOINT
PATH
PWD
$ echo ~
~
$ echo $PATH
/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
$ echo $PWD
/data/data
$ echo $LD_LIBRARY_PATH
/vendor/lib:/system/lib
$ cd ~
cd: can't cd to ~
$
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:18:04+00:00Added an answer on June 11, 2026 at 7:18 pm

    There are no per-user variable in Android. You can change the global ones by modifying the boot script(s), but that might have undesired effects, unless you are simply adding a new one. init* files are generally in /.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an multi user application with basic layouts where i want to change
I have an working application. Now I want to change the table names of
I have an application that's suppose to be realized in plugin pattern. Plugins are
I have one application on android market , now i want to change the
I have 15-20 activities in my application. I want when user clicks on the
Background I have a CakePHP application that lives in /m/ . I want to
I wrote some wpf application that contain labels. I want to change the label
I have a root_path on my Rails application that is not user-protected i.e. it's
I have an online application that the user needs to print. However, I don't
I have got UIPickerview in my application working fine. I want to change the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.