close
» » How to make SUDO without a password on Linux Mint

How to make SUDO without a password on Linux Mint

Other

How to make SUDO without a password on Linux Mint

If You are tired of typing the password every time you use sudo, then you can disable the password prompt for your user. There is a way to use sudo without a password, and below I will show how it can be done.

I would not recommend doing this, is for informational purposes only, or if you know What you do and Why You do it)))

Open a terminal and run:

sudo visudo

Find the line
# See sudoers(5) for more information on "#include" directives:
add below:
YourUserName ALL=(ALL) NOPASSWD: ALL

How to make SUDO without a password on Linux MintHow to make SUDO without a password on Linux Mint

Ctrl+X and save it.

Good Luck!!!

Print version

Add comments

  • Local comments
  • Facebook comments
  • bowtiesmilelaughingblushsmileyrelaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypensive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
fb
Your working environment Other polls