Page 1 of 1

Unable to use sudo in terminal

PostPosted: Aug 26th, '14, 18:31
by yencc5211
Hello all,

I just installed mageia 4 onto my laptop, and I have been running the Cinnamon desktop. When I try running a command to add google chrome to my system (which I find is easier to do than downloading the actual package) from the terminal, I get the message "bash: sudo: command not found" I'm fairly new to linux so any help is greatly appreciated.

Re: Unable to use sudo in terminal

PostPosted: Aug 26th, '14, 20:08
by jkerr82508
sudo is not configured on default Mageia systems. To execute commands as root, become root in a terminal:
Code: Select all
su -
and enter the root password, when asked.

You can then execute the commands given in the MAQeia
viewtopic.php?f=36&t=3101

Jim

Re: Unable to use sudo in terminal

PostPosted: Aug 26th, '14, 20:10
by doktor5000
For some installations sudo is not even installed by default at all. For configuration you may want to look at https://wiki.mageia.org/en/Configuring_sudo