Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I make the defaults set a new user to the /home directory?
When i add a user now it places the user at / at login, but i want it to create a directory in /home and place them there at log in...
I have successfully installed a windows-slackware dualboot, and so far I havn't had any problems.I even got my linux connected to the internet with success.However, I am a brandnew linux user, so I don't really know that much but learn fast. A friend referred me to this forum with great recomendation. I'm brand new so please be patient. I'm sure I'll be back with many questions :P
Specifying options accordingly will create the required home dir .Take care of -b, -d , -m options while defining home dirs.
-b, --base-dir BASE_DIR
The default base directory for the system if -d dir is not specified. BASE_DIR is concatenated with the account name to define the home directory. If the -m option is not used, BASE_DIR must exist.
-d, --home HOME_DIR
The new user will be created using HOME_DIR as the value for the user's login directory. The default is to append the LOGIN name to BASE_DIR and use that as the login directory name. The directory HOME_DIR does not have to exist but will not be created if it is missing.
Thanks alot guys, I got it! Also, thankyou for the warm welcome.
I have been waiting so long for this installation lol.
I was on dial-up and just recently got cable and was finally able to download it and install it. I'm proud to say my first dual boot installation went very well (although slackware has done a remarkable job of making it easy in my opinion)
Linux 4 life!
PS-Thanx 4 the links onebuck. They were very helpful.
If you do use useradd at some point (in scripts, etc.) you can put default settings in /etc/default/useradd so that you can keep the command line simple.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.