After installing slackware 14, no new account is created, and the root account is still logged on. If you are planning to log on to the IRC of slackware, you are prompted that the root account cannot be used. Therefore, a common user, adduser, is created. Enter the user name and press Enter. Switch account logon. Everything works.
Then it is troublesome to compile the software in QY (my new normal account). You must switch to the root account. Use sudo. The system prompts that it is not in the sudo group. After searching online, log on with the root account, edit the/etc/sudoers file, and add the following sentence:
QY all = (all) All
Switch to the QY account again to use The sudo command.
Assume that the root account password is 12345.
QY account password is 789.
When you use the sudo command under the QY account, you are prompted to enter the password. In this case, the password should be QY, not the password of the root account.
You must enter the password of the root account only when you use su root to switch to the root account under the QY account.