I've a user account in a remote machine. but it doesn't have a home directory in that machine. Is it possible to create a home directory without having root account details. If yes, how it can be done.
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
No matter what, you will still need a directory where you can store your stuff (i.e. write permission and it is not being cleaned-up like If you have such a directory setting the environment variable
You could put above line in a shell script you execute after each login. In that file you should also start your shell in login mode or make it source your |
|||
|
|
echo $HOMEtell you? What do you get for the next to last field if you dogrep yourusername /etc/passwd? – Dennis Williamson Sep 14 '10 at 4:12/home/joe? If yes, you do already have a$HOMEdirectory. – honk Sep 14 '10 at 12:54