[...] how does it work [...] how this should be done [...]
I solved it this way:
I downloaded the package passwd.tgz of Slackware-0.4
This contains the "Getty" which is the second of the three programs (init, Getty and login) used by the system to allow users access.
Until then, the distro in use had been built minimalist based on this package only init
Having done that, I had to create two new files in the directory /etc
, are they:
group
passwd
To the archive "group" wrote like this:
root::0:root,lx
Already in the "passwd", done:
root::0:0::/root:/bin/sh
lx::1001:1001::/home/lx:/bin/sh
This profitable work, it was necessary because not all distros available on the web, comes complete, present themselves in a way about a single user the "root".