USER is just an environment variable in the environment block like any other; even if Bash didn't allow changing it, any other program could.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
USER is just an environment variable in the environment block like any other; even if Bash didn't allow changing it, any other program could.