Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: blarue09 on April 01, 2017, 03:53:47 PM

Title: Change tc password
Post by: blarue09 on April 01, 2017, 03:53:47 PM
I tried searching but couldn't find an answer for how to change your picore login password.  I want to keep my pizero connected to wifi but I don't want to leave the default password.
Title: Re: Change tc password
Post by: Misalf on April 01, 2017, 04:50:26 PM
Hi blarue09,
To create a password for the current user, run
Code: [Select]
passwd
And to make it persistent, run
Code: [Select]
echo "etc/passwd" >> /opt/.filetool.lst
echo "etc/shadow" >> /opt/.filetool.lst
echo "etc/group" >> /opt/.filetool.lst
filetool.sh -b
Title: Re: Change tc password
Post by: bmarkus on April 01, 2017, 06:27:10 PM
And to make it persistent, run
Code: [Select]
echo "etc/passwd" >> /opt/.filetool.lst
echo "etc/shadow" >> /opt/.filetool.lst
echo "etc/group" >> /opt/.filetool.lst

It is not needed, already part of .filetool.lst by default.