Score:0

su: System Error, Cannot log in as root

lc flag

I am using Ubuntu 20.04 LTS. After installing it, the su command worked perfectly (I was able to log in), but after rebooting the system, whenever I run su, it says:

rakin@localhost:~$ su
Password:
su: System Error
rakin@localhost:~$

The user rakin doesn't have sudo access, so I am in big trouble. How can I fix this?

cc flag
The typical Ubuntu install has no root password, and the first user gets sudo access. You can of course change anything, but don't expect much help here with such odd configurations.
hr flag
I don't recognize the error (and I can't find the string `System Error` in the source code of the `util-linux` package) however you can obtain sudo access by following the instructions here: [How do I add myself \[back\] as a sudo user?](https://askubuntu.com/questions/70442/how-do-i-add-myself-back-as-a-sudo-user)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.