Which password does not require sudo?

Hoàng Minh An

New member
Which password does not require sudo?
Answer
How to to run sudo command without a password:
  • Gain root access: su –
  • Backup your /etc/sudoers file by typing the following command: …
  • Edit the /etc/sudoers file by typing the visudo command: …
  • Append/edit the line as follows in the /etc/sudoers file for user named ‘vivek’ to run ‘/bin/kill’ and ‘systemctl’ commands:
 

Tìm kiếm

Back
Top