Re: adding a user to sudo

Jackie McBride <[email protected]>
Newsgroups gmane.linux.redhat.blinux.general
Message-ID <CAM+Q2c4MLMck5cH0Sg-nM5t4=KGd+dJrFyBOpUe8wQ+2trVr8Q@mail.gmail.com>
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 <[email protected]> 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
> [email protected]
> 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
[email protected]
https://www.redhat.com/mailman/listinfo/blinux-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.