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 [2017/08/28 15:36] – ↷ Page moved from knowhow:sudo-without-pw to linux:sudo-without-pw 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 17: Line 18:
 While this is good for security reason, normal users would want to avoid the password prompt completely, especially if they are just running it on a desktop. While this is good for security reason, normal users would want to avoid the password prompt completely, especially if they are just running it on a desktop.
  
-**To enable passwordless sudo**, you need to edit the ''/etc/sudoers'' file **or** create like me 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 center box 100%> 
 +<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>
Line 37: Line 40:
 #... #...
 </sxh> </sxh>
 +</WRAP>
 +
  • linux/sudo-without-pw.1503927372.txt.gz
  • Last modified: 2017/08/28 15:36
  • by michael