Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #188781
| From | <tomas@tuxteam.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: sudo |
| Date | 2017-11-08 22:30 +0100 |
| Message-ID | <uJG54-48j-11@gated-at.bofh.it> (permalink) |
| References | <uJFVn-456-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Nov 08, 2017 at 02:56:36PM -0600, Josh W. 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! In Debian, typically there's a group called 'sudo': user belonging to this group have sudo capability (if the group is enabled for that in the /etc/sudoers file). So: - enable the 'sudo' group in the /etc/sudoers file, by editing as root (there's a nice command visudo which calls your favourite editor on this file and helps you making sure that you don't break anything -- see man visudo for details). Make sure you have a line like %sudo ALL=(ALL:ALL) ALL in that file (possibly you just have to remove a comment sign '#' at its beginning) - add your user to the sudo group: adduser <your user here> sudo Note that you have to login for that to take effect. Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAloDdXYACgkQBcgs9XrR2kaFHQCeJ7Iy8c8N5H11DSot5/9l3oLv IogAni/KX5rU+8nuES4HN/iIcD7CqKcy =0Oku -----END PGP SIGNATURE-----
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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