You are not logged in.
Pages: 1
Hi, i create an user acount for me (normal user acount, not root), i did:
#useradd -u 500 -d /home/javier javier
#passwd javier (for the pass)
The user appear in passwd file, but the home directory for this user was not created... and when i log on the system say to me "No directory, loggin in with HOME=/"
some help?
Offline
Try to use adduser instead...
Use the Source, Luke!
Offline
I wouldn't recommend you to specify a uid less than 1000 (they should be reserved for system accounts). you don't need to specify it anyway, since you will get a appropriate chose automatically.
also, I would recommend you to use the -m flag (instead of just specifying the home dir - since the -d parameter wont create it), since it will create the home directory if it doesn't exist.
that's all, I think, good luck!
Offline
ok... thanks for help...
i use adduser and the problem it's fixed...
Offline
Pages: 1