adding a user to sudo

Janina Sajka janina at rednote.net
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 redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list

-- 

Janina Sajka,	Phone:	+1.443.300.2200
			sip:janina at asterisk.rednote.net
		Email:	janina at rednote.net

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:	http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures	http://www.w3.org/wai/apa




More information about the Blinux-list mailing list