linux:sudo-without-pw

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:sudo-without-pw [2019/03/07 14:04] michaellinux:sudo-without-pw [2019/03/07 14:06] (current) michael
Line 1: Line 1:
 ====== Allow sudo without password for users and groups ====== ====== Allow sudo without password for users and groups ======
 +
 **sudo is a program that allows a user to run programs with the security privileges of another user.** If no user is specified, it will try to run the other program as **root**, or the superuser. //By default, running **sudo** will prompt for the **superuser** password, as in the following example;// **sudo is a program that allows a user to run programs with the security privileges of another user.** If no user is specified, it will try to run the other program as **root**, or the superuser. //By default, running **sudo** will prompt for the **superuser** password, as in the following example;//
  
Line 19: Line 20:
  
 <WRAP center box 100%> <WRAP center box 100%>
-**To enable passwordless sudo**, you need to edit the ''/etc/sudoers'' file **or** like me create an new file in the location **''/etc/sudoers.d/''** . This can be done by directly editing/creating the file using your favorite editor as the following;+<wrap em>To enable passwordless sudo</wrap>, you need to edit the ''/etc/sudoers'' file **or** like me create an new file in the location **''/etc/sudoers.d/''** . This can be done by directly editing/creating the file using your favorite editor as the following;
  
 <code> <code>
  • linux/sudo-without-pw.1551963859.txt.gz
  • Last modified: 2019/03/07 14:04
  • by michael