I did the following on a clean install yesterday and it seems to work but don’t blame me if it doesn’t work for you.
- Rename homedir and add symlink (just in case)
devel-su
cd /home
mv defaultuser nemo
ln -s nemo defaultuser
- Search for all files in /etc containing defaultuser
grep -sIR defaultuser /etc/
- For each file found replace defaultuser with nemo
sed -i 's/defaultuser/nemo/g' <file_name_here>
If a file is read only then set write permissions first (and restore them afterwards)
chmod u+w <file_name_here>
sed -i 's/defaultuser/nemo/g' <file_name_here>
chmod u-w <file_name_here>
- Reboot phone
reboot