Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I used adduser to create a user in the wheel group, but when the user tries to su I get “su: you are not in the correct group to su root” Any suggestions?

create group tries Used user wheel
0
Posted

I used adduser to create a user in the wheel group, but when the user tries to su I get “su: you are not in the correct group to su root” Any suggestions?

0

Do you have a line in /etc/group that says: wheel:*:0:root,your_user What’s important here is that wheel is group ID 0, and the list of users is delimited by the comma. The adduser command may not correctly set your group. Check the /etc/groups file and add it manually if needed.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.