ServerOK
  • Home
  • Services
    • Server Management
    • WordPress Services
    • Magento Services
    • SSL Installation
  • Projects
    • Squid Proxy Installer
    • vShare Youtube Clone
  • Blog
  • Contact

sudo

Written by Yujin Boby

Edit in WordPress

Linux Run Command as another user
usermod
sudo: command not found

To allow a user to run sudo commands without a password, run

visudo

Find

%sudo   ALL=(ALL:ALL) ALL

Add below

USERNAME_HERE    ALL=(ALL:ALL) NOPASSWD:ALL

This needs to be added after generic rules.

Example

boby    ALL=(ALL:ALL) NOPASSWD:ALL
ServerOK

If you need help with server management, website migration, wordpress modification or PHP programming, contact us

Email : admin@serverok.in

WhatsApp: +918606188125

Telegram: serverokin

  • Server Management
  • WordPress Services
  • Magento Services
  • SSL Installation

Copyright ServerOk | All Rights Reserved