Hi Cyberwinder
... That is all the user should be able access. No desktop, no terminal, nothing. ...
That means starting at the beginning, the boot process. You have to make sure the user can not enter any boot
codes, like text or base. Those would provide access to the console.
You could set up the bootloaders config file to prevent entering a boot code. You posts suggest a removable
drive, so someone could plug it into a running machine and edit the config file to allow entering a boot code.
You could unpack the initrd, edit the /etc/init.d/tc-config startup file and delete the 2 lines that recognize those
boot codes, then repack the initrd. Someone knowledgeable to Tinycores inner workings could still undo that, but
it's a little more involved. tc-config calls other scripts and programs. You could modify one of those to run a md5
or a simple checksum to see if tc-config has been modified. Then shutdown the computer if tampering was
detected. You could even tie it to the computers MAC address. That would make it harder to trace what's going
on by booting it or a copy on another machine. How far do you want to take this?
You'll probably want to block certain key combinations, like Ctrl-Alt-F1 , which switches you to the console, and
Ctrl-Alt-Backspace , which exits the desktop and leaves you in the console.
You might want to check out these threads:
http://forum.tinycorelinux.net/index.php/topic,18785.0.htmlhttp://forum.tinycorelinux.net/index.php/topic,21896.0.htmlBoot into USB, enter username and password at prompt, select wifi network and password at prompt.
I think you can do that withe boot code "noautologin", but you'll have to backup your "new user" beforehand. ...
I think I would integrate the user/password function directly into the application.