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"
> 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"