sudo command without password in linux!

Created at: 2019-09-09 01:17:18 Updated at: 2020-05-10 12:50:05

in Linux, ubuntu

How to avoide repetation of sudo command in linux.

Just follow bellow steps to avoide repation.

sudo command without password

Create file or edit if exist

sudo visudo -f /etc/sudoers.d/90-cloudimg-ubuntu

Change username as per your suite

# ubuntu user is default user in cloud-images.
# It needs passwordless sudo functionality.
ubuntu ALL=(ALL) NOPASSWD:ALL

Now you can try

sudo su

screenshot tool for linux

Created at: 2020-04-18 03:29:03 Updated at: 2020-04-26 04:49:10

in Linux, ubuntu

https://shutter-project.org/

How to install shutter application in Linux based system ?

Shutter application official page

sudo apt install shutter

Install using apt repository

sudo add-apt-repository ppa:shutter/ppa
sudo apt-get update && sudo apt-get install shutter

[ Problem :-1 ] How to enable the Edit button in Shutter?

Download and install the libgoocanvas-common and libgoocanvas3 packages.

sudo dpkg -i ~/Downloads/libgoocanvas3_1.0.0-1_amd64.deb
sudo dpkg -i ~/Downloads/libgoocanvas-common_1.0.0-1_all.deb
sudo apt-get -f install

Finally download & install libgoo-canvas-perl package

sudo dpkg -i ~/Downloads/libgoo-c...

laravel cross-env: Permission denied

Created at: 2019-09-15 03:41:01 Updated at: 2020-04-04 06:50:22

in Linux

sh: 1: cross-env: Permission denied

npm ERR! code ELIFECYCLE


sudo chown -R $USER /usr/local

chmod -R a+x node_modules