Tiny Core Linux
General TC => General TC Talk => Topic started by: Guy on April 30, 2011, 04:45:34 AM
-
I have been experimenting with making an extension for passwords.
I have created an extension containing /etc/shadow.
Put it in /tce/optional.
Listed it in OnBoot, and rebooted.
This does not replace /etc/shadow, so passwords are not there.
I suspect this has something to do with the ownership and permissions of shadow. I may be wrong.
Does anyone know of a way to get this to work?
I think it is a good idea to be able to make an extension for passwords.
-
I suspect it would be rather that extensions would not overwrite existing files (by design).
-
Standard behavior, extensions do not overwrite existing files. If you need that, do so in a startup script; I think at least the firefox extensions and libfltk-xft do that, for examples.
-
I have come up with a way of doing it.
http://wiki.tinycorelinux.net/wiki:passwd
However, if users other than tc are added, other files also need to be saved, which makes it more complicated.
-
One thing, one should do that in bootsync since in bootlocal it may happen after the login prompt.
-
One thing, one should do that in bootsync since in bootlocal it may happen after the login prompt.
Thanks for the tip.
It works the way I have it on my computer.
I will change it in the wiki, in case it does not work on all computers.