Re: sudoers question
Hi Tom,
On Fri, 12 May 2023, Tom Reed wrote:
> for a common account, such as tom, a nopasswd sudo also makes sense?
> otherwise every time i have to input password for sudo.
that is what one expects you to do if you need to use sudo.
The reason is that sudo grants you high privileges on your computer
system, including damaging your filesystems or all the data you have
stored there. Not only yours but from everyone who is using this
computer. Therefore, you need to have precautions against accidentally
doing things you may not want to do.
the second reason is that sudo wants to make sure that _only_ you are
sitting on that computer right now and _you_ are typing these
commands. since only your should know your password, your legitimacy
will be checked by asking for your password.
So, there is good sense to have this request.
of course, there are possibilities to change this behaviour. But
either you know very well what you are doing in every situation or you
should be careful.
best regards, Hanno Wagner
--
| Hanno Wagner | Member of the HTML Writers Guild | Rince@IRC |
| Eine gewerbliche Nutzung meiner Email-Adressen ist nicht gestattet! |
| 74 a3 53 cc 0b 19 - we did it! | Generation @ |
#"Ich bin ein .signature Virus. Mach' mit und kopiere mich in Deine .signature."
Reply to: