Creating /home

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Thu May 19 02:32:28 UTC 2011


On Wed, May 18, 2011 at 09:06:33PM -0400, Stephen wrote:
> So I had /home on a failing drive.
> 
> I used usermod -d /path/to/new/homedir/ username
> 
> to move *my* home drive to another volume, and copied the data. This was 
> until I could ...
> 
> I swapped the drive with a good one (thanks WP) and now want to return 
> to a more or less normal structure.
> 
> I mounted the new volume as /storage2tb
> 
> I want to mkdir /storage2tb/home and use that as a normal home directory.
> 
> Is that sufficient for Ubuntu to create new user accounts there?

You use any directory as user's home.

> Or do I need specify somewhere that home is /storage2tb/home ?

Edit /etc/fstab.

> 
> And what permissions should I give to /storage2tb/home ?

Same as your old /home (755, root:root), which would be by default.

-- 
William
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list