Turn a regual user into a admin (use sudo) [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












when installing OpenSUSE on my system, I had made the root user be four the standard user and now I want to get rid (or lock) the root user account and use sudo for administrative task. I used Yast control center to add the user and the (already existing) home directory. So I logout and try to use sudo with zypper command and it ask for the root password and not mine. I had tried to work with the sudo utility in Yast program and that did not work.



So how would I fix this issue.










share|improve this question













closed as unclear what you're asking by Michael Homer, Stephen Rauch, thrig, G-Man, Archemar Sep 25 '17 at 6:42


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • You need to configure sudo to allow use by groups or specific users, and make sure either your regular user is listed or a group they are a member of is listed as allowed.
    – ivanivan
    Sep 25 '17 at 0:01










  • I have my user account with the users and wheel group, and the aias is %root. Or in simple terms %whell ALL = (%root) NOPASSWORD:ALL and it stills ask me for a root password.
    – weezle1234
    Sep 25 '17 at 0:20














up vote
0
down vote

favorite












when installing OpenSUSE on my system, I had made the root user be four the standard user and now I want to get rid (or lock) the root user account and use sudo for administrative task. I used Yast control center to add the user and the (already existing) home directory. So I logout and try to use sudo with zypper command and it ask for the root password and not mine. I had tried to work with the sudo utility in Yast program and that did not work.



So how would I fix this issue.










share|improve this question













closed as unclear what you're asking by Michael Homer, Stephen Rauch, thrig, G-Man, Archemar Sep 25 '17 at 6:42


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • You need to configure sudo to allow use by groups or specific users, and make sure either your regular user is listed or a group they are a member of is listed as allowed.
    – ivanivan
    Sep 25 '17 at 0:01










  • I have my user account with the users and wheel group, and the aias is %root. Or in simple terms %whell ALL = (%root) NOPASSWORD:ALL and it stills ask me for a root password.
    – weezle1234
    Sep 25 '17 at 0:20












up vote
0
down vote

favorite









up vote
0
down vote

favorite











when installing OpenSUSE on my system, I had made the root user be four the standard user and now I want to get rid (or lock) the root user account and use sudo for administrative task. I used Yast control center to add the user and the (already existing) home directory. So I logout and try to use sudo with zypper command and it ask for the root password and not mine. I had tried to work with the sudo utility in Yast program and that did not work.



So how would I fix this issue.










share|improve this question













when installing OpenSUSE on my system, I had made the root user be four the standard user and now I want to get rid (or lock) the root user account and use sudo for administrative task. I used Yast control center to add the user and the (already existing) home directory. So I logout and try to use sudo with zypper command and it ask for the root password and not mine. I had tried to work with the sudo utility in Yast program and that did not work.



So how would I fix this issue.







sudo opensuse yast






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 24 '17 at 23:54









weezle1234

256




256




closed as unclear what you're asking by Michael Homer, Stephen Rauch, thrig, G-Man, Archemar Sep 25 '17 at 6:42


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as unclear what you're asking by Michael Homer, Stephen Rauch, thrig, G-Man, Archemar Sep 25 '17 at 6:42


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.













  • You need to configure sudo to allow use by groups or specific users, and make sure either your regular user is listed or a group they are a member of is listed as allowed.
    – ivanivan
    Sep 25 '17 at 0:01










  • I have my user account with the users and wheel group, and the aias is %root. Or in simple terms %whell ALL = (%root) NOPASSWORD:ALL and it stills ask me for a root password.
    – weezle1234
    Sep 25 '17 at 0:20
















  • You need to configure sudo to allow use by groups or specific users, and make sure either your regular user is listed or a group they are a member of is listed as allowed.
    – ivanivan
    Sep 25 '17 at 0:01










  • I have my user account with the users and wheel group, and the aias is %root. Or in simple terms %whell ALL = (%root) NOPASSWORD:ALL and it stills ask me for a root password.
    – weezle1234
    Sep 25 '17 at 0:20















You need to configure sudo to allow use by groups or specific users, and make sure either your regular user is listed or a group they are a member of is listed as allowed.
– ivanivan
Sep 25 '17 at 0:01




You need to configure sudo to allow use by groups or specific users, and make sure either your regular user is listed or a group they are a member of is listed as allowed.
– ivanivan
Sep 25 '17 at 0:01












I have my user account with the users and wheel group, and the aias is %root. Or in simple terms %whell ALL = (%root) NOPASSWORD:ALL and it stills ask me for a root password.
– weezle1234
Sep 25 '17 at 0:20




I have my user account with the users and wheel group, and the aias is %root. Or in simple terms %whell ALL = (%root) NOPASSWORD:ALL and it stills ask me for a root password.
– weezle1234
Sep 25 '17 at 0:20










1 Answer
1






active

oldest

votes

















up vote
1
down vote













The issue was with the sudoers file and I had to remove two line one being ALL ALL = (ALL) ALL.



Extension:
It was a default setting in openSUSE. I was reading the the sudoers file comments and under a part of the document, the files says to deletes two rows of text witch fixed the problem. (I don't exactly remember the two lines, except for the ALL line.)






share|improve this answer






















  • It seems to me a "magician answer", I suggest to show also the causality chain, not only the result.
    – peterh
    Sep 25 '17 at 2:43










  • It was a default setting in openSUSE. I was reading the the sudoers file comments and under a part of the document, the files says to deletes two rows of text witch fixed the problem. (I don't exactly remember the two lines, except for the ALL line.)
    – weezle1234
    Sep 25 '17 at 2:58










  • Not as another comment, edit it into your post. So.
    – peterh
    Sep 25 '17 at 5:14

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













The issue was with the sudoers file and I had to remove two line one being ALL ALL = (ALL) ALL.



Extension:
It was a default setting in openSUSE. I was reading the the sudoers file comments and under a part of the document, the files says to deletes two rows of text witch fixed the problem. (I don't exactly remember the two lines, except for the ALL line.)






share|improve this answer






















  • It seems to me a "magician answer", I suggest to show also the causality chain, not only the result.
    – peterh
    Sep 25 '17 at 2:43










  • It was a default setting in openSUSE. I was reading the the sudoers file comments and under a part of the document, the files says to deletes two rows of text witch fixed the problem. (I don't exactly remember the two lines, except for the ALL line.)
    – weezle1234
    Sep 25 '17 at 2:58










  • Not as another comment, edit it into your post. So.
    – peterh
    Sep 25 '17 at 5:14














up vote
1
down vote













The issue was with the sudoers file and I had to remove two line one being ALL ALL = (ALL) ALL.



Extension:
It was a default setting in openSUSE. I was reading the the sudoers file comments and under a part of the document, the files says to deletes two rows of text witch fixed the problem. (I don't exactly remember the two lines, except for the ALL line.)






share|improve this answer






















  • It seems to me a "magician answer", I suggest to show also the causality chain, not only the result.
    – peterh
    Sep 25 '17 at 2:43










  • It was a default setting in openSUSE. I was reading the the sudoers file comments and under a part of the document, the files says to deletes two rows of text witch fixed the problem. (I don't exactly remember the two lines, except for the ALL line.)
    – weezle1234
    Sep 25 '17 at 2:58










  • Not as another comment, edit it into your post. So.
    – peterh
    Sep 25 '17 at 5:14












up vote
1
down vote










up vote
1
down vote









The issue was with the sudoers file and I had to remove two line one being ALL ALL = (ALL) ALL.



Extension:
It was a default setting in openSUSE. I was reading the the sudoers file comments and under a part of the document, the files says to deletes two rows of text witch fixed the problem. (I don't exactly remember the two lines, except for the ALL line.)






share|improve this answer














The issue was with the sudoers file and I had to remove two line one being ALL ALL = (ALL) ALL.



Extension:
It was a default setting in openSUSE. I was reading the the sudoers file comments and under a part of the document, the files says to deletes two rows of text witch fixed the problem. (I don't exactly remember the two lines, except for the ALL line.)







share|improve this answer














share|improve this answer



share|improve this answer








edited Sep 25 '17 at 5:14









peterh

3,97792755




3,97792755










answered Sep 25 '17 at 2:05









weezle1234

256




256











  • It seems to me a "magician answer", I suggest to show also the causality chain, not only the result.
    – peterh
    Sep 25 '17 at 2:43










  • It was a default setting in openSUSE. I was reading the the sudoers file comments and under a part of the document, the files says to deletes two rows of text witch fixed the problem. (I don't exactly remember the two lines, except for the ALL line.)
    – weezle1234
    Sep 25 '17 at 2:58










  • Not as another comment, edit it into your post. So.
    – peterh
    Sep 25 '17 at 5:14
















  • It seems to me a "magician answer", I suggest to show also the causality chain, not only the result.
    – peterh
    Sep 25 '17 at 2:43










  • It was a default setting in openSUSE. I was reading the the sudoers file comments and under a part of the document, the files says to deletes two rows of text witch fixed the problem. (I don't exactly remember the two lines, except for the ALL line.)
    – weezle1234
    Sep 25 '17 at 2:58










  • Not as another comment, edit it into your post. So.
    – peterh
    Sep 25 '17 at 5:14















It seems to me a "magician answer", I suggest to show also the causality chain, not only the result.
– peterh
Sep 25 '17 at 2:43




It seems to me a "magician answer", I suggest to show also the causality chain, not only the result.
– peterh
Sep 25 '17 at 2:43












It was a default setting in openSUSE. I was reading the the sudoers file comments and under a part of the document, the files says to deletes two rows of text witch fixed the problem. (I don't exactly remember the two lines, except for the ALL line.)
– weezle1234
Sep 25 '17 at 2:58




It was a default setting in openSUSE. I was reading the the sudoers file comments and under a part of the document, the files says to deletes two rows of text witch fixed the problem. (I don't exactly remember the two lines, except for the ALL line.)
– weezle1234
Sep 25 '17 at 2:58












Not as another comment, edit it into your post. So.
– peterh
Sep 25 '17 at 5:14




Not as another comment, edit it into your post. So.
– peterh
Sep 25 '17 at 5:14


Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?