Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't do sudo #3

Open
Furezuu opened this issue Sep 13, 2021 · 8 comments
Open

Can't do sudo #3

Furezuu opened this issue Sep 13, 2021 · 8 comments

Comments

@Furezuu
Copy link

Furezuu commented Sep 13, 2021

It gives this:
sudo: /etc/sudo.conf is owned by uid 1000, should be 0 sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
Also, if it can help, after installation it messed up with groups and gave an output "chown: invalid group: 'username:password'"

@krmanik
Copy link
Owner

krmanik commented Sep 13, 2021

Do you installed it manually?

wiki/Faq ? #3 not able to run sudo commands

Change manjaro:manjaro with username and password

chown manjaro:manjaro /usr/bin/sudo && chmod 4755 /usr/bin/sudo

@Furezuu
Copy link
Author

Furezuu commented Sep 13, 2021

no, I didn't
It still outputs that group is invalid, should I create it?

@krmanik
Copy link
Owner

krmanik commented Sep 13, 2021

You can do it.

@Furezuu
Copy link
Author

Furezuu commented Sep 13, 2021

it outputs this:
groupadd: 'nikii:dt' is not a valid group name
the problem might be with a colon

@krmanik
Copy link
Owner

krmanik commented Sep 13, 2021

If haven't tried, do this

chown nikii:dt /usr/bin/sudo && chmod 4755 /usr/bin/sudo

@Furezuu
Copy link
Author

Furezuu commented Sep 13, 2021

The problem is in creating the group, not chowning

@krmanik
Copy link
Owner

krmanik commented Sep 14, 2021

I have reinstalled it but didn't get the error.

@jaimetrovoada
Copy link

The problem is in creating the group, not chowning

instead of username: password try username: username. that's what worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants