DEV Community

Discussion on: Administrative Access Commands On Linux

Collapse
 
peter279k profile image
peter279k • Edited

Just notice that normal users don't have the sudo permission to use sudo to get root privilege temporarily.

It should choose one of approaches to complete that:

  • Creating user sudoer file and it can be located on /etc/sudoers.d/ folder.
  • Letting specific user be added in sudo group on Linux Ubuntu/Debian distribution.
  • Letting specific user be added in wheel group on Linux CentOS/RHEL distribution.