Re: adding a user to sudo

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

 



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@xxxxxxxxx> 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@xxxxxxxxxx
> 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

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]