Ask Question

All users at your site are using the Bash shell. You want to set a variable that will apply to every user and always have the same value. Which files would you place this variable in:

+2
Answers (1)
  1. 2 June, 21:03
    0
    I assume you are on a single host.

    To modify the. bashrc for all NEW users, you can edit/modify (with su privilege) the file

    /etc/skel/. bashrc

    save the file before creating new users.

    Be sure to know what you're doing, and test the file before you use it host-wide.

    For existing users, you can have them do the modifications/additions individually in case they have already modified their own version.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “All users at your site are using the Bash shell. You want to set a variable that will apply to every user and always have the same value. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers