Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:passwd [2011/07/02 17:49] cosmin_apwiki:passwd [2012/08/29 08:06] (current) – [Tinycore Passwords] fixed typo kennedywalker
Line 3: Line 3:
 If you want to prevent other people from logging into your computer, you can add passwords to Tinycore. 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 it to add passwords to Extlinux. For more information, +If you are using the Extlinux bootloader, another option is to add passwords to Extlinux. For more information, 
 see [[extlinux_passwd|Extlinux Passwords]]. see [[extlinux_passwd|Extlinux Passwords]].
  
Line 15: Line 15:
  
 <code>sudo passwd</code> <code>sudo passwd</code>
 +
 +The procedure described above stores the password using 8-byte parity, so the password will be 8 characters long, i.e. "passwd 123456789" will allow to login using "12345678" or "12345678blahblah" as password. This occurs on 4.1 and 4.2.
 +Use "passwd -a md5" instead.
 +(see http://forum.tinycorelinux.net/index.php?topic=9215.0)
  
 ==== Save Passwords using Backup ==== ==== Save Passwords using Backup ====
Line 37: Line 41:
 sudo cp /opt/shadow /etc/shadow</code> sudo cp /opt/shadow /etc/shadow</code>
  
-Note that this will apply group staff and mode g+w to /opt/shadow on each boot.+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 ====
Print/export
QR Code
QR Code wiki:passwd (generated for current page)