B
B
by_EL2021-04-04 18:44:58
linux
by_EL, 2021-04-04 18:44:58

What files to edit to give a regular user the right to sudo?

What files to edit to add the user so that the normal user has sudo rights?
Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2021-04-04
@saboteur_kiev

1. You can edit the /etc/sudoers file itself, usually this is done with the visudo command as root
2. View the /etc/sudoers file - if there is access for any group (for example, wheel,sudoers,admins), then simply add the user to this group (in /etc/groups)

U
uvelichitel, 2021-04-04
@uvelichitel

/etc/sudoers
https://www.linux.com/training-tutorials/configuri...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question