Answer the question
In order to leave comments, you need to log in
linux. How to change the main user?
I need to rename the main user, but I can't do it because it is the main one and the system hangs on it, and I cannot kill all the processes that hang on it, so I need to make sure that another default user is loaded when the system starts. I already did it somehow, but I can’t remember how, and I can’t google it. Thank you.
Answer the question
In order to leave comments, you need to log in
At system startup, no default user is loaded.
This happens when you start the DE (more precisely, in the DM), and the steps to change depend on which one you have.
For example, I have an autologin user in /etc/lightdm/lightdm.conf
first you need to understand what the main user is ... is it root by any chance?
When the system is restarted, all processes are killed, name the main user)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question