I feel silly asking this and expect it has a simple answer, but I can't find it...
Core defaults to automatically logging in as tc, with all associated sudo privileges. How do I set it to autologin as a new/different unprivileged user?
I thought that creating a basic user (eg: qopit) and adding 'user=qopit' to the boot codes might do it, but it seems that is just making 'tc' for someone who doesn't like 'tc' as the special user name for some reason. ie: I saw that it just creates another tc-like user, including automatic password changing at boot and an automatic addition to sudoers, leaving both of these in /etc/sudoers:
tc ALL=NOPASSWD: ALL
qopit ALL=NOPASSWD: ALL
I've tried deciphering rcS et all to figure out where tc is being configured as the login (since the inittab-referenced /sbin/autologin
is autologin'ing as root, and not tc), but can't track it due to a lack of shell-script expertise (not for lack of trying).
Then I figured I would be fine having autologin for tc, as long as I could cripple sudoer privileges... but this seems dicy and this wiki page
confirms my fears by stating:
Do not remove or modify the root and tc user entries. Tiny Core will fail to operate correctly.
Can someone please embarrass me and give me the probable one-liner on how to achieve this?
I really want autologin, but with a tightly controlled user.