Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:passwd [2011/05/02 05:11] – [Save Passwords without Backup] Guy | wiki:passwd [2012/08/29 08:06] (current) – [Tinycore Passwords] fixed typo kennedywalker | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | If you want to prevent other people from logging into your computer, you can add passwords to Tiny Core. | + | If you want to prevent other people from logging into your computer, you can add passwords to Tinycore. |
| - | If you are using the Extlinux bootloader, another option | + | If you are using the Extlinux bootloader, another option |
| see [[extlinux_passwd|Extlinux Passwords]]. | see [[extlinux_passwd|Extlinux Passwords]]. | ||
| - | ==== Add Passwords to Tiny Core ==== | + | ==== Add Passwords to Tinycore |
| To add a password for user tc, open the terminal and type | To add a password for user tc, open the terminal and type | ||
| Line 15: | Line 15: | ||
| < | < | ||
| + | |||
| + | The procedure described above stores the password using 8-byte parity, so the password will be 8 characters long, i.e. " | ||
| + | Use " | ||
| + | (see http:// | ||
| ==== Save Passwords using Backup ==== | ==== Save Passwords using Backup ==== | ||
| - | To save passwords, add | + | If you use Backup, to save passwords, add |
| < | < | ||
| Line 28: | Line 32: | ||
| ==== Save Passwords using Persistent opt ==== | ==== Save Passwords using Persistent opt ==== | ||
| - | If you use persistent opt, here is a way to save passwords. | + | If you use persistent opt, open the terminal and type |
| - | + | ||
| - | Copy shadow to /opt. Open the terminal and type | + | |
| < | < | ||
| Line 38: | Line 40: | ||
| < | < | ||
| sudo cp /opt/shadow / | sudo cp /opt/shadow / | ||
| + | |||
| + | Note that this will apply group staff and mode g+w to /opt/shadow on each boot, as it's the case with every file in /opt. | ||
| ==== Use Password to Log In ==== | ==== Use Password to Log In ==== | ||
| Line 52: | Line 56: | ||
| If you want to perform root tasks, use sudo before commands. | If you want to perform root tasks, use sudo before commands. | ||
| + | |||
| + | ==== bootsync.sh and bootlocal.sh ==== | ||
| + | |||
| + | If you want commands executed every time you start the computer, add them to / | ||
| + | |||
| + | / | ||
| + | |||
| + | / | ||
| + | |||
| + | Most commands should go in / | ||