Re: adding a user to sudo

Kristoffer Gustafsson <[email protected]>
Newsgroups gmane.linux.redhat.blinux.general
Message-ID <CAOdwYiS2p_N_QXG8287xGfb=nvqAbLhTxgtARdw_sdHu4w6ckA@mail.gmail.com>
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 <[email protected]>:
> 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


-- 
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
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.