0

I have an Ubuntu installation without root user enabled (standard). The main user that was part of group root (called netuser) was mistakenly removed from the group adding another group and forgetting the -a for append.

How can I get that user running again? As I don't have other users to sudo with.

2
  • 1
    Not knowing specifics, the only way I believe this could be fixed is by launching the system in single user mode and manually adding them to that group by editing /etc/group. Or shutting down the machine and somehow connecting the hard disk to another system and just manually ending /etc/group. Jan 7, 2019 at 16:00
  • Possible duplicate of Cannot login as super user anymore
    – bummi
    Jan 7, 2019 at 16:58

1 Answer 1

0

I solved it using the suggestion in this question (recovery mode):

Cannot login as super user anymore

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.