Turn a regual user into a admin (use sudo) [closed]
Clash 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.
sudo opensuse yast
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.
add a comment |Â
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.
sudo opensuse yast
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
add a comment |Â
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.
sudo opensuse yast
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
sudo opensuse yast
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
add a comment |Â
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
add a comment |Â
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.)
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
add a comment |Â
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.)
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
add a comment |Â
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.)
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
add a comment |Â
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.)
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.)
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
add a comment |Â
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
add a comment |Â
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