-1

I want nopasswd thing for my jenkins user. For that, I have to edit the /etc/sudoers file,

But

luvpreet@DHARI-Inspiron-3542:/$ sudo vi /etc/sudoers

This gives me that this file is readonly and so, I cannot edit this file.

I change to root,

luvpreet@DHARI-Inspiron-3542:/$ sudo su

And I am getting something like this,

\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$ 

and even now I cannot edit the file. It still says this is readonly.

What is wrong ?

How do I solve this issue ?

Quidam
  • 141
  • 13
luv.preet
  • 5,997

1 Answers1

3

visudo

This will solve your problem

kevy
  • 688