Welcome to the Tiny Core Linux Wiki at tinycorelinux.net!


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

Link to this comparison view

wiki:security [2011/04/18 04:25] (current)
Line 1: Line 1:
 +====== Creating new users and groups ======
 +The command "adduser user_name" will add a user. A group of the same name will be created and assigned as the primary group of the user. To create a different group, use the "addgroup group_name" command. Usage for both commands is displayed if no arguments are given.
 +NOTE: Preserve users and groups by adding etc/group, etc/passwd, and etc/shadow to /opt/.filetool.lst.
 +====== Setting Passwords ======
 +There are three ways to set user passwords in Tiny Core Linux:
 +**secure boot parameter** - This indicates TC should request and set passwords for the root and tc users during the boot process. It is noted on the 
 +[[http://tinycorelinux.com/faq.html#bootcodes|bootcodes page]]:
 +**passwd** - The BusyBox passwd utility. Usage is [[http://www.busybox.net/downloads/BusyBox.html#passwd|here]].
 +**chpasswd** - The BusyBox chpasswd utility. Usage is [[http://www.busybox.net/downloads/BusyBox.html#chpasswd|here]].
 +NOTE: Preserve passwords by adding etc/shadow to /opt/.filetool.lst.
 +====== Automatic Login ======
 +The standard /etc/inittab file specifies rungetty should autologin as the tc user. To disable this, use the noautologin boot parameter. Then, either 1) restore passwords from backup, or 2) use the secure boot parameter to set the passwords.  The tc user has a blank password by default.
 +======  Sudo ======
 +The /etc/sudoers file controls how sudo operates. This [[http://www.gratisoft.us/sudo/man/sudoers.html|link]] has more information.
 +  * Use the "visudo" command to edit this file. Do not edit it directly.
 +  * Do not remove or modify the root and tc user entries. Tiny Core will fail to operate correctly.
 +  * Preserve modifications by adding etc/sudoers to /opt/.filetool.lst.
 +======  Backup ======
 +Remember you must make a [[http://wiki.tinycorelinux.com/tiki-index.php?page=Backup|backup]] to preserve the files in /opt/.filetool.lst