adding a user to sudo

Kristoffer Gustafsson kg.kristoffer at gmail.com
Tue Oct 25 22:36:44 UTC 2016


Hi.
Ok, so no visudo then?
I worked and worked. finally solved it editing a lot of files.
so it was that simple.
/Kristoffer

2016-10-25 22:27 GMT+02:00, Jackie McBride <abletec at 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 <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
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list


-- 
Kristoffer Gustafsson
Salängsgatan 7a
tel:033-12 60 93
mobil: 0730-500934




More information about the Blinux-list mailing list