public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: thelma@sys-concept.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] resizing and moving home directory to new partition on same drive
Date: Sun, 10 Jan 2021 21:06:43 -0700	[thread overview]
Message-ID: <3529161f-2d6a-189a-cca1-c2d3ade8cafe@sys-concept.com> (raw)
In-Reply-To: <0de4c60d-1889-3bae-eab7-64cd8279952e@youngman.org.uk>

On 1/10/21 3:46 PM, antlists wrote:
> And a little bit you might have missed - DON'T put root's home on a mounted disk - if it's currently in /home, move it to /. Don't forget to edit /etc/passwd if you have to move it.

Can I use "nano" to edit /etc/password file 
all I need to change is the 
user:x:1000:1000::/home/user:/bin/bash

to:
user:x:1000:1000::/mnt/home/user:/bin/bash

Or I need to use:  "vipw -s"


  parent reply	other threads:[~2021-01-11  4:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-10 21:42 [gentoo-user] resizing and moving home directory to new partition on save drive thelma
2021-01-10 22:46 ` antlists
2021-01-11  0:31   ` thelma
2021-01-11  1:57     ` Wols Lists
2021-01-11  1:33       ` thelma
2021-01-11 13:51     ` Neil Bothwick
2021-01-11  4:06   ` thelma [this message]
2021-01-11  4:26     ` [gentoo-user] resizing and moving home directory to new partition on same drive Adam Carter
2021-01-11  5:13       ` thelma
2021-01-11  8:41         ` Adam Carter
2021-01-11  7:58     ` Raffaele BELARDI
2021-01-11 11:30     ` Wols Lists

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3529161f-2d6a-189a-cca1-c2d3ade8cafe@sys-concept.com \
    --to=thelma@sys-concept.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox