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.
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 bootcodes page: passwd - The BusyBox passwd utility. Usage is here. chpasswd - The BusyBox chpasswd utility. Usage is here.
NOTE: Preserve passwords by adding etc/shadow to /opt/.filetool.lst.
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.
The /etc/sudoers file controls how sudo operates. This link has more information. NOTE:
Remember you must make a backup to preserve the files in /opt/.filetool.lst