username not in sudoers list

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

username not in sudoers list

Postby archp2008 » Oct 10th, '17, 02:09

How do I add my username to the sudoers list in Mageia 6?
archp2008
 
Posts: 40
Joined: Jan 28th, '14, 04:16

Re: username not in sudoers list

Postby doktor5000 » Oct 10th, '17, 09:38

You may want to take a look at https://wiki.mageia.org/en/Configuring_sudo
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: username not in sudoers list

Postby archp2008 » Oct 10th, '17, 17:36

Thank you very much for the reply. I have already looked at this but don't understand why you need to create a group, for example, wheel. Is there a way for me to simply add archparsons to the sudoers file without the added complication of a group? If you don't mind my bringing up a second issue, when I try to boot into my Mageia 6 bootloader it now opens to the word grub> with no bootloader. I have no idea what of the many words listed under Tab I might type to recover the boot loader. This happened after an attempted update ended in a hang near 99% complete. I can still get in to a boot in window by booting from another bootloader on a different hard drive. I have to wait around 45 seconds for text scrolling up the screen before the login window appears. I'm a Windows 10 "insider," so I was a bit worried about having Mageia listed first on the bootloader list Windows 10 upgrades boot several times so I don't know what it would do if Mageia was the default boot system. Perhaps being that I can at this moment get into Mageia 6, albeit in an unusual fashion, it may be better to leave well enough alone. I have been using Grub Customizer by Daniel Richter for other distros but had mixed success using it for Mageia. Usually I get a long serives of screens of text which seems to go on and on for hours.
archp2008
 
Posts: 40
Joined: Jan 28th, '14, 04:16

Re: username not in sudoers list

Postby archp2008 » Oct 10th, '17, 21:54

I found that my username was the only one in the group. I just checked on the wheel group and logged in and out and that did the trick. I was able to install gparted using the command line and no more compaints about not being in the sudoers group. I don't know if Grub Customizer installation will work or if it's a good idea at this moment. I'm thinking if the software is on this partition it's more likely to give me a clean boot for Mageia. Thanks again.
archp2008
 
Posts: 40
Joined: Jan 28th, '14, 04:16

Re: username not in sudoers list

Postby doktor5000 » Oct 11th, '17, 09:38

No, you do not need to add somebody to the wheel group, as mentioned that is just an example. It is sufficient to simply add an entry for your user, like
Code: Select all
archparsons        ALL=(ALL)       ALL


For your grub issue, please open a separate thread for that if that is still an issue.

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest