[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sudo



On Wed, 8 Nov 2017 14:56:36 -0600
"Josh W." <joshw8104@gmail.com> wrote:

> Hello, I am trying to figure out how to add a user to sudo... Not
> sure of the process.. Could somebody point me in the right direction.
> Thanks!


Try Google with
 sudo tutorial debian

In Debian, you can do this the quick and (very) dirty way, by
effectively making yourself root after the entry of your user password:
https://wiki.debian.org/sudo

This is fine for a one-user home computer that's not likely to attract
the attention of serious human hackers.

Or you can do it the 'proper' way, by defining what commands you want
to run, and creating /etc/sudoers (better, new files in /etc/sudoers.d)
entries to suit using the visudo program as root. This is harder, and
requires you to know in advance what you want to do as root, but the
correct way with multiple users with varying duties, and/or a business
environment.

-- 
Joe




Reply to: