Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: trembb22 on May 13, 2009, 09: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
-
I did this on my server by adding /etc/group and /etc/shadow to my backup after adding users and setting passwords.
-
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.
-
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.
-
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.
-
thanks, I didn't know that we can backup folder using .filetool
-
This topic might also be of interest:
http://forum.tinycorelinux.net/index.php?topic=818.msg4872#msg4872 (http://forum.tinycorelinux.net/index.php?topic=818.msg4872#msg4872)