adding a user to sudo

Jackie McBride abletec at gmail.com
Tue Oct 25 20:27:42 UTC 2016


Hi, Kristoffer. It's:
adduser <username> sudo
Obviously the word username in angle brackets means to substitute your
username. This is for Ubuntu & may be different on your distro.

HTH.

On 10/25/16, Kristoffer Gustafsson <kg.kristoffer at gmail.com> wrote:
> Hi.
> I need to add a user to the sudoers file.
> can you help me on how to do this?
> I try to make a root command. for example sudo reboot.
> then I get a message that my user doesn't exist in the sudoers file.
> /Kristoffer
>
> --
> Kristoffer Gustafsson
> Salängsgatan 7a
> tel:033-12 60 93
> mobil: 0730-500934
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list


-- 
Jackie McBride
Website Hosting, Repair, & Development
Author of the Book
"My Site's Been Hacked, Now what?: A Guide to Preventing and Fixing a
Compromised Website"
www.brighter-vision.com Where Visionaries & Technology Unite for Good




More information about the Blinux-list mailing list