WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How do we keep user passwd between boot? I am asking.  (Read 3064 times)

Offline trembb22

  • Newbie
  • *
  • Posts: 28
How do we keep user passwd between boot? I am asking.
« on: May 13, 2009, 06:07:57 PM »
Security is not a problem for me so maybe we can use .filetool.lst to keep important user passwd files between boot. mydata.tgz will keep the user passwd files in it between boot. I dont thing is possible to set the user passwd at startop into the /opt/bootlocal.sh, cause input buffer are cleared whan passwd ask o change them, so we cannot pipe the passwd to the passwd command.

any suggestions to keep user passwd persistance, at lease for tc user.

same issue with samba user passwd

I want to boot tc and have access to it using samba et using ssh(putty) from another OS.

I plan to put a computer into a dog robot I am building, so I will like to use tc to boot the computer robot wihtout waiting to much and when it's time to work on it, I will like to use samba and ssh.

thanks for your understanding

Benoit

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: How do we keep user passwd between boot? I am asking.
« Reply #1 on: May 13, 2009, 06:29:58 PM »
I did this on my server by adding /etc/group and /etc/shadow to my backup after adding users and setting passwords.

Offline mikshaw

  • Sr. Member
  • ****
  • Posts: 368
Re: How do we keep user passwd between boot? I am asking.
« Reply #2 on: May 13, 2009, 06:31:17 PM »
User passwords for the system are kept in /etc/shadow. You'll also need /etc/passwd if it's a user that is not already in the base system.  I don't know about Samba passwords.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: How do we keep user passwd between boot? I am asking.
« Reply #3 on: May 13, 2009, 07:40:26 PM »
any suggestions to keep user passwd persistance, at lease for tc user.

same issue with samba user passwd
You need to add a couple of folders to your backup to have persistance with samba - unfortunately I cannot remember which ones, but I'll try to remember to reply when I'm back in front of my old desktop in a couple of days time.

Offline Kingdomcome

  • Sr. Member
  • ****
  • Posts: 286
Re: How do we keep user passwd between boot? I am asking.
« Reply #4 on: May 13, 2009, 08:05:22 PM »
samba passwords are stored in /etc/samba/private/  smb.conf is in /etc/samba/ so I have added etc/samba/ to my backup to retain my samba settings.

Offline trembb22

  • Newbie
  • *
  • Posts: 28
Re: How do we keep user passwd between boot? I am asking.
« Reply #5 on: May 13, 2009, 08:40:31 PM »
thanks, I didn't know that we can backup folder using .filetool

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: How do we keep user passwd between boot? I am asking.
« Reply #6 on: May 15, 2009, 07:36:45 PM »