LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > dinakumar12
User Name
Password

Notices


Rate this Entry

one time changing of default user's home directory while adding newuser

Posted 01-17-2012 at 05:28 AM by dinakumar12

vim /etc/default/useradd

Look for this line

HOME=/home

change /home to your own directory

save the file and try adding new user by useradd username

Now the new user should be created with your own preferred directory.
Posted in Uncategorized
Views 522 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 11:24 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration