adding a user to sudo

Janina Sajka janina at
Wed Oct 26 14:26:20 UTC 2016

I second the advice to use visudo rather than echo.

However, there's one other aspect not yet discussed ...

If you want some user to have sudo priveleges, you need to add them to
group wheel.

Kristoffer Gustafsson writes:
> 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


Janina Sajka,	Phone:	+1.443.300.2200
			sip:janina at
		Email:	janina at

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures

More information about the Blinux-list mailing list