You are not logged in.

#1 2020-06-27 06:01:37

aziazi1
Member
Registered: 2020-06-27
Posts: 2

Created user can not use pacman or sudo commands

Hey everyone. So I installed Arch. I created a user and have been trying to give it permission to use sudo and pacman. Everytime I try I'm told I have to be in root to do it. I added the user to the group wheel which should have permission to do what ever. I also manually added the user in sudoers. I've made sure to use EDITOR=nano visudo when editing. I've rebooted several times and the user still can't do anything. Is there something else that I am missing?

Here is a quick screenshot of my sudoers file:

https://imgur.com/a/qHOlg4j

The user's name is aziz.

Thank you.

Offline

#2 2020-06-27 06:43:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Created user can not use pacman or sudo commands

Don't post secreenshots of text, paste the actual text, in code tags: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-06-27 06:48:34

aziazi1
Member
Registered: 2020-06-27
Posts: 2

Re: Created user can not use pacman or sudo commands

jasonwryan wrote:

Don't post secreenshots of text, paste the actual text, in code tags: https://wiki.archlinux.org/index.php/Co … s_and_code

My bad. This is what I have in the sudoers file.

##
## User privilege specification
##
#root ALL=(ALL) ALL
aziz ALL=(ALL) ALL

## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL:ALL) ALL

## Same thing without a password
%wheel ALL=(ALL) NOPASSWD: ALL

Unless I'm missing something big, the user should have permission to use sudo, pacman and other commands correct?

Offline

#4 2020-06-27 10:10:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: Created user can not use pacman or sudo commands

Jason wrote:

in code tags

aziazi1 wrote:

been trying to give it permission to use sudo and pacman. Everytime I try I'm told I have to be in root to do it.

Please post the actual input and output (commands you issue and the system response)

Offline

Board footer

Powered by FluxBB