Ask Your Question

How do I make it so Sudo uses root instead of my user? (I'm not in sudoers)

asked 2015-01-05 17:54:35 -0500

Nolan gravatar image

updated 2015-01-05 18:24:05 -0500

This has been bugging me lately because must the commands I want to run require sudo.

EDIT: Solved. I also realized my account was not an administrator.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-01-05 18:16:30 -0500

sideburns gravatar image

Welcome to ask.fedora! If this is your computer and you installed Fedora, you should know the root password. Using sudo is (mostly) to give people limited access to root-only commands without giving them the root password. (It's also used in large-scale IT to get a log of who did what with root.) Run this command:

man su

and see how to get real root without having to append each and every command with sudo. Note that if you only need to run one command you can use either

su -c command


su -c 'command with arguments'

and in either case, you'll be back in your regular account when you get a prompt back. One of the nice things about using su instead of sudo is that you don't need to be in the wheel group to use it.

edit flag offensive delete link more


Thank you!

Nolan gravatar imageNolan ( 2015-01-05 18:28:04 -0500 )edit

Question Tools


Asked: 2015-01-05 17:54:35 -0500

Seen: 323 times

Last updated: Jan 05 '15