WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Extension for passwords  (Read 2096 times)

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Extension for passwords
« 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.
Many people see what is. Some people see what can be, and make a difference.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Extension for passwords
« Reply #1 on: April 30, 2011, 05:33:53 AM »
I suspect it would be rather that extensions would not overwrite existing files (by design).
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11047
Re: Extension for passwords
« Reply #2 on: May 01, 2011, 10:48:58 AM »
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.
The only barriers that can stop you are the ones you create yourself.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Extension for passwords
« Reply #3 on: May 01, 2011, 11:32:12 AM »
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.
Many people see what is. Some people see what can be, and make a difference.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11047
Re: Extension for passwords
« Reply #4 on: May 01, 2011, 11:49:41 AM »
One thing, one should do that in bootsync since in bootlocal it may happen after the login prompt.
The only barriers that can stop you are the ones you create yourself.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Extension for passwords
« Reply #5 on: May 01, 2011, 12:00:05 PM »
Quote
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.
« Last Edit: May 01, 2011, 12:31:50 PM by Guy »
Many people see what is. Some people see what can be, and make a difference.