> -----Original Message-----
> From: the...@sys-concept.com <the...@sys-concept.com>
> Sent: Monday, January 11, 2021 05:07
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] resizing and moving home directory to new
> partition on same drive
> 
> 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"

I've always used vi for those, but only because I did not know there was a 
dedicated command! Anyway, these look like wrappers that set a lock and then 
invoke your editor. I suppose that in a single user, single admin environment 
it does not make much difference using nano vs vipw. BTW I don't think you'd 
need -s with vipw, the shadow file only contains password-related info which 
you do not want to change.

raffaele

Reply via email to