We know , Linux world right now watching on Bash bug with environment variables.

So , I just want to know If we can make something like only root user can create environment variables and all other applications,services and users cant & All applications,users & services in system have to use only defined variables by root.

so can we make this & If yes please tell me how . Thank you very much.


No, you can't.

But the Environment Variables that the user creates (or overwrites the System Environment Variables) is only temporary (they disappear when the user logs off). Also, only the user can use these variables.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.