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@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/blinux-list -- Janina Sajka, Phone: +1.443.300.2200 sip:janina@xxxxxxxxxxxxxxxxxxxx Email: janina@xxxxxxxxxxx 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 _______________________________________________ Blinux-list mailing list Blinux-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/blinux-list