Adding users with no home directory
Hi! I am looking for a way to add users to the system using useradd but not to create a directory in /home for them. I just need them added to the system with no directory. I will be bringing the home directories from another system. Any ideas.
Thanks. |
Hi.
The -M flag for useradd will prevent the creation of a home directory. You can use 'usermod -d' later to assign the home directory. Dave |
Thanks for the answer, I'll give it a go.
|
All times are GMT -5. The time now is 05:13 PM. |