Problem related to linux

for execution of some command it ask mi for password, is there any setting for it?

just use the command as a super user using sudo
example:sudo nano bolt.py
then it will ask for password simply enter the password

but sir in training video it didn’t ask any password:man_shrugging:

that does not matter do u remember ur ubuntu machine password which u enter when u start ur ubuntu os

yes i remember it but i dont want to enter it again and again so i want solution to avoid entering password again
.

In terminal run the visudo command as follows :

sudo visudo

and add the following line to the sudoers list-

username ALL = NOPASSWD : ALL

Note: In the above line, type your real username in place of username

2 Likes

sorry it again ask me password while creating a new file