I am using Slackware Live Edition to experiment with a script that automates the creation of custom user accounts and I have a problem.
During the creation of a regular Slackware user account, the first available UID is picked. For the very first regular user in the system, that is usually 1000. My regular "main" user (I use a few for different purposes) has uid=1000 as well.
The problem is that the "live" user in Slackware Live Edition has uid 1000 as well, so they conflict.
Currently my workaround is to boot the livecd image in VirtualBox, log in as root (system-level admin tasks like creating users require superuser privileges anyway), then just remove the live user with userdel. This seems to work - the record for the live user disappears from /etc/passwd
I thought it would be nice if in addition to the user name "live" I could explicitly set the user id for it as well in make_slackware_live.conf or via an environment variable when building the ISO image.
I don't know if this qualifies as justified feature request and the variable name choice that is LIVEUID seems a bit unfortunate from this perspective. To me, something like
Code:
LIVENAME="live" # (or LIVEUSER, anything to free the LIVEUID name for the actual uid)
LIVEUID=1000
would look better, but this breaks backwards compatibility and I don't know how severe the implications would be.