I have recently installed one Ubuntu 16.04 LTS server edition , after creating a user with useradd command it is not creating default home directory for user. I am creating with user add -d option.
Also I am copying /etc/skel contents to newly created users home directory.
My issue is that .Profile file or .bashrc in users home dont save user PATH permanently.
It gets reset after logout. Every time user has to export PATH. So please suggest me how to resolve this error.
Thanks in advance