Skip to content

Sudoers configuration - im missing something

It was a long time since i installed arch, and now i am reviving my old laptop. Im having some problems with configuring sudo, namely, i cant remember how i did it so it asks for the users password, not the root password.

0 points3 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
ffcc9m

Author

62
posts
140
comments
10
media
View profile

3 comments

There is a another way to enable sudo for wheel group. Don't edit /etc/sudoers, just create a drop-in config in sudoers.d directory:

# cat /etc/sudoers.d/10-wheel
%wheel  ALL=(ALL) ALL

Or just for one user "bob":

# cat /etc/sudoers.d/10-user
bob ALL=(ALL) ALL
1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.