From 6ed6f55d7021c641d5859cdf51652b68f8a8dc4c Mon Sep 17 00:00:00 2001 From: Andy Barrett Date: Tue, 21 Jan 2025 12:27:25 -0700 Subject: [PATCH] add text to clarify setting env vars for linux shells --- docs/user_guide/authenticate.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/user_guide/authenticate.md b/docs/user_guide/authenticate.md index 247100ef..5122de0b 100644 --- a/docs/user_guide/authenticate.md +++ b/docs/user_guide/authenticate.md @@ -93,7 +93,7 @@ Alternatively, Earthdata Login credentials can be created as environment variabl export EARTHDATA_USERNAME="username" export EARTHDATA_PASSWORD="password" ``` - If you want to set these environmental variables permanently, add these two lines to your `.profile` file. + If you want to set these environmental variables permanently, add these two lines to the appropriate configuration files for your operating system. === "Linux" @@ -102,7 +102,12 @@ Alternatively, Earthdata Login credentials can be created as environment variabl export EARTHDATA_USERNAME="username" export EARTHDATA_PASSWORD="password" ``` - If you want to set these environmental variables permanently, add these two lines to your `.bashrc` file. + If you use `bash` and would like to set these environmental variables permanently, add these two lines to your `~/.profile` file: + ``` + EARTHDATA_USERNAME="username" + EARTHDATA_PASSWORD="password" + ``` + For other shells, use the recommended method to persistently set these environment variables for whichever shell you use. === "Windows" To set the environment variables for the current `CMD` session, type the following: