From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EF1421382C5 for ; Mon, 11 Jan 2021 04:06:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1EF79E0AAC; Mon, 11 Jan 2021 04:06:53 +0000 (UTC) Received: from mail125c7.megamailservers.com (mail765.megamailservers.com [69.49.98.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45A57E0AA1 for ; Mon, 11 Jan 2021 04:06:52 +0000 (UTC) X-Authenticated-User: admin@sys-concept.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.com; s=mailtor; t=1610338010; bh=ClAnyMpptd54cDoTwJBXeVKKE08EWF+CIsb2FG/UNXg=; h=Subject:To:References:From:Date:In-Reply-To:From; b=b7/J8ueykl95J8LAXs9v3vAtAlsa+kP6L/TgiM4sltDpVpHBYNC3UAIoqRXiFRZi2 kGyEeb+AeQv1mlRYFPflWm0Bxql98/CBQih65/YI217M8L+GXD7HVBoJFK8DpsMU38 8DMToY1cKsYK1T+NL8UidtE3Ld4k9AM+CQ22QNQY= Feedback-ID:thelma@sys-conc X-VIP: 69.49.109.100 Received: from [10.0.0.109] 184.69.242.18":"34512 ([184.69.242.18]) (authenticated bits=0) by mail125c7.megamailservers.com (8.14.9/8.13.1) with ESMTP id 10B46mwp032034 for ; Sun, 10 Jan 2021 23:06:50 -0500 Subject: Re: [gentoo-user] resizing and moving home directory to new partition on same drive To: gentoo-user@lists.gentoo.org References: <0de4c60d-1889-3bae-eab7-64cd8279952e@youngman.org.uk> From: thelma@sys-concept.com Message-ID: <3529161f-2d6a-189a-cca1-c2d3ade8cafe@sys-concept.com> Date: Sun, 10 Jan 2021 21:06:43 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <0de4c60d-1889-3bae-eab7-64cd8279952e@youngman.org.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CTCH-RefID: str=0001.0A742F29.5FFBCEDA.002A:SCFSTAT54230205,ss=1,re=-4.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: -4.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=JfHCUnCV c=1 sm=1 tr=0 a=u3gW5Uk2xAGXuEgp5FffjQ==:117 a=u3gW5Uk2xAGXuEgp5FffjQ==:17 a=IkcTkHD0fZMA:10 a=Q3GQe0zqyHUT7PVVmXQA:9 a=QEXdDO2ut3YA:10 X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: 0 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrvdehtddgieegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomhepthhhvghlmhgrsehshihsqdgtohhntggvphhtrdgtohhmnecuggftrfgrthhtvghrnhephefgheefhedtjeffffffteelffduteejtdeiieefgfehhfevfedtudeihedtfeelnecukfhppedukeegrdeiledrvdegvddrudeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekgedrieelrddvgedvrddukedphhgvlhhopegluddtrddtrddtrddutdelngdpmhgrihhlfhhrohhmpehthhgvlhhmrgesshihshdqtghonhgtvghpthdrtghomhdprhgtphhtthhopehgvghnthhoohdquhhsvghrsehlihhsthhsrdhgvghnthhoohdrohhrgh X-Origin-Country: CA X-Archives-Salt: 0e431e29-9efa-4106-9643-f118c7c46800 X-Archives-Hash: d581bc53303a81e4f04c2ca54da0f73a 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"