01-15-2020, 08:16 PM
(01-15-2020, 06:15 PM)Jeremiah Cornelius Wrote:(01-15-2020, 03:50 PM)appdev46 Wrote: So I got the same exact error when following the instructions on the wiki. I even overwrote my emmc with the latest Debian Mate image and tried a second time with the same results. It appears the instructions are incorrect?I ignored the instructions, because I'm an old Unix guy and have done similar many times before on SunOS, Irix, Linux etc.
Currently I can log in with my new user but the path to my home directory is /home/rock/
I am certain I can replicate this by writing the current Debian Mate image to sd card and following the instructions on the wiki (because I did it twice)
Can somebody please provide updated instructions on how to rename this folder as if you are starting from scratch?
Here's what I did, as described in my "Initial Impressions" post: https://forum.pine64.org/showthread.php?...4#pid56654
Quote:A quick CTL-ALT-F1 got me to a console, tho'. I logged in root, changed (root) password and quickly edited /etc/passwd /etc/shadow and /etc/group, then moved the /home/rock to my new <username> (mv /home/rock /home/newusername). A quick su - <username> landed me in the right directory, and ownership/permissions were verified, before giving a passwd command for change. I could exit both nested login shells, and ALT-F7 to LightDM.
Good luck!
I was able to get my home folder fixed I think. I logged in as root and ran (mv /home/rock /home/newusername), then modified passwd by changing root to my newuser.
I looked at shadow and group and didn't know what to modify. I had previously changed passwords.
I now have a /home/myUsername folder and account I can log into.
I still would like to get this process better documented for myself and other users. If I figure out an easier set of steps than what I did I will post back here.