WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Password problem  (Read 2878 times)

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Password problem
« on: June 12, 2014, 06:11:22 AM »
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
« Last Edit: June 12, 2014, 06:25:46 AM by malikawan »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11040
Re: Password problem
« Reply #1 on: June 12, 2014, 06:00:48 PM »
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.
The only barriers that can stop you are the ones you create yourself.

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: Password problem
« Reply #2 on: June 21, 2014, 04:43:51 AM »
Thanx curaga i have copy these file after reseting  pasword and then copy these file on startup work fine