2
1
logged in as root, environmental variables are great. I typed "set"
I did:
useradd -m alex
su alex
For some reason, everything is gone when I type "set". How do I make it so that alex has all the environmental variables just like root (except as a standard user), when I first logged in?
For example, I want PS1 to be set, just like the root account. All my environmental variables were erased when I created this new user.
**Edit: people are not understanding the question. Right now, "alex" user account is completely blank, with no environmental variables. I just want it to have SIMILAR environmental variables like ROOT. All the directories have no color. The PS1 is just a dollar sign. That's not normal.
2root is root. why do you want to set alex as root?? – user31894 – 2009-11-11T11:32:24.097