Tiny Core Base > CorePlus

Password problem

(1/1)

malikawan:
i install tinycore v4.7.7 then i config ssh server its work great but when i connect to some remote pc it ask for password then i give command in tinycore terminal passwd and set a new password then it connected to remote pc my issue is that when i restart tinycore then password is again blank so i m using persistence boot code for tce=sda1 and opt=sda1 now in wiki and other searches i have found that add etc/password and etc/shadow to /opt/.filetool.lst to persist passwords but in my scenario its not backup and restore so how i  persist password.
 i think after changing password i copy both files  etc/password and etc/shadow and then extract the core.gz and replace these file and then use this core.gz but may be any short command and any other idea plz

curaga:
Yes, your idea would work. If you don't want to use backup, you have to keep those files some other way.

You could also store them in sda1 and copy in bootlocal.sh, for example.

malikawan:
Thanx curaga i have copy these file after reseting  pasword and then copy these file on startup work fine

Navigation

[0] Message Index

Go to full version