Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #188782

Re: sudo

From Joe <joe@jretrading.com>
Newsgroups linux.debian.user
Subject Re: sudo
Date 2017-11-08 22:40 +0100
Message-ID <uJGeJ-4dq-1@gated-at.bofh.it> (permalink)
References <uJFVn-456-5@gated-at.bofh.it>
Organization JRE Trading Ltd

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

sudo "Josh W." <joshw8104@gmail.com> - 2017-11-08 22:20 +0100
  Re: sudo Will Mengarini <seldon@eskimo.com> - 2017-11-08 22:30 +0100
  Re: sudo Greg Wooledge <wooledg@eeg.ccf.org> - 2017-11-08 22:30 +0100
  Re: sudo Tom Furie <tom@furie.org.uk> - 2017-11-08 22:30 +0100
  Re: sudo <tomas@tuxteam.de> - 2017-11-08 22:30 +0100
  Re: sudo Joe <joe@jretrading.com> - 2017-11-08 22:40 +0100
  Re: sudo David Christensen <dpchrist@holgerdanske.com> - 2017-11-09 00:10 +0100

csiph-web