Linux sudo Configuration

Q. Can you tell me how to configure sudo to provide access to end users? How do I allow to run programs with the security privileges of another user using sudo?

A. sudo works under Linux / Mac OS X and all UNIX like operating systems. Sudo allows you to delegate authority to give certain users or groups of users the ability to run some commands as root or another user while providing an audit trail of the commands and their arguments via a log file. With sudo you don’t have to share root password with anybody.

See our previous tutorial on configuring and using sudo under Linux / UNIX operating systems.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 4 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
4 comments… add one
  • Manoj Anand Jun 20, 2008 @ 11:44

    anyone tell me that how we configure vsftp on Rhel 4.0 ,

    • Rankesh Apr 25, 2011 @ 5:55

      Please install vsftpd rpm on RHEL4.0 box

      rpm -ivh

      Run the vsftpd service

      service vsftpd start

      ftp server is ready,for more information please check

    • Sushanto Roy Sep 23, 2013 @ 13:37

      just use

      # cd RHEL_4.0/Packages
      # Packages/ rpm -ivh vsftpd + Press Tab Key. You will get the rpm file of vsftpd and press enter


  • Kishor Pant Jun 15, 2011 @ 16:43

    Very useful and detail information about sudo and sudo configuration. As a system admin, I really appreciate the materials.

    Thanks a lot.

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum