Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Community
Technology
[Ubuntu] set default home folder for new users
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MayoMayn" data-source="post: 432078" data-attributes="member: 71840"><p>So I've just partitioned my HDD and SSD because I want to dual boot Windows.</p><p></p><p>Now apart from that, the Ubuntu 17.10 OS is installed on my SSD, but I want all users to be created under the HDD mount.</p><p>The HDD is mounted as <strong>/media/sda1</strong></p><p></p><p>Now if I edit the <strong>HOME</strong> variable in <strong>/etc/default/useradd</strong></p><p>to:</p><p>[code]</p><p>HOME=/media/sda1/home # default was /home</p><p>[/code]</p><p></p><p>and create a new user, the users home folder still gets created under the <strong>SDD</strong>.</p><p>Even restarting my PC didn't work.</p><p></p><p>Any reason why? <a href="https://askubuntu.com/questions/524052/how-to-change-the-default-parent-directory-for-a-new-users-home-folder" target="_blank">https://askubuntu.com/questions/524052/how-to-change-the-default-parent-directory-for-a-new-users-home-folder</a></p></blockquote><p></p>
[QUOTE="MayoMayn, post: 432078, member: 71840"] So I've just partitioned my HDD and SSD because I want to dual boot Windows. Now apart from that, the Ubuntu 17.10 OS is installed on my SSD, but I want all users to be created under the HDD mount. The HDD is mounted as [B]/media/sda1[/B] Now if I edit the [B]HOME[/B] variable in [B]/etc/default/useradd[/B] to: [code] HOME=/media/sda1/home # default was /home [/code] and create a new user, the users home folder still gets created under the [B]SDD[/B]. Even restarting my PC didn't work. Any reason why? [URL]https://askubuntu.com/questions/524052/how-to-change-the-default-parent-directory-for-a-new-users-home-folder[/URL] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Community
Technology
[Ubuntu] set default home folder for new users
Top