Does sudo restrict on which users can acquire superuser privileges?
Clash Royale CLAN TAG#URR8PPP
up vote
-1
down vote
favorite
The password which sudo
asks for is the invoking user's password. So a user can have superuser prilleges as long as it remembers its own password, which seem very possible for any user.
So does sudo restrict on which users can acquire superuser privileges in that way? Thanks.
sudo
add a comment |Â
up vote
-1
down vote
favorite
The password which sudo
asks for is the invoking user's password. So a user can have superuser prilleges as long as it remembers its own password, which seem very possible for any user.
So does sudo restrict on which users can acquire superuser privileges in that way? Thanks.
sudo
add a comment |Â
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
The password which sudo
asks for is the invoking user's password. So a user can have superuser prilleges as long as it remembers its own password, which seem very possible for any user.
So does sudo restrict on which users can acquire superuser privileges in that way? Thanks.
sudo
The password which sudo
asks for is the invoking user's password. So a user can have superuser prilleges as long as it remembers its own password, which seem very possible for any user.
So does sudo restrict on which users can acquire superuser privileges in that way? Thanks.
sudo
sudo
asked 6 mins ago


Tim
24.5k69239426
24.5k69239426
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Yes, this behavior can be controlled in the file called /etc/sudoers
on most linux systems. You can add any existing user to that file along with the permissions in specific format. You would need to have root
user privileges in order to edit this file. For an example, I have configured my /etc/sudoers
file to include that one specific user does not need to enter the password while gaining superuser privileges:
user ALL=(ALL) NOPASSWD: ALL
On some Linux flavors, there is a visudo
command available which will open the same file for you to edit.
New contributor
sla3k is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Yes, this behavior can be controlled in the file called /etc/sudoers
on most linux systems. You can add any existing user to that file along with the permissions in specific format. You would need to have root
user privileges in order to edit this file. For an example, I have configured my /etc/sudoers
file to include that one specific user does not need to enter the password while gaining superuser privileges:
user ALL=(ALL) NOPASSWD: ALL
On some Linux flavors, there is a visudo
command available which will open the same file for you to edit.
New contributor
sla3k is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
0
down vote
Yes, this behavior can be controlled in the file called /etc/sudoers
on most linux systems. You can add any existing user to that file along with the permissions in specific format. You would need to have root
user privileges in order to edit this file. For an example, I have configured my /etc/sudoers
file to include that one specific user does not need to enter the password while gaining superuser privileges:
user ALL=(ALL) NOPASSWD: ALL
On some Linux flavors, there is a visudo
command available which will open the same file for you to edit.
New contributor
sla3k is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Yes, this behavior can be controlled in the file called /etc/sudoers
on most linux systems. You can add any existing user to that file along with the permissions in specific format. You would need to have root
user privileges in order to edit this file. For an example, I have configured my /etc/sudoers
file to include that one specific user does not need to enter the password while gaining superuser privileges:
user ALL=(ALL) NOPASSWD: ALL
On some Linux flavors, there is a visudo
command available which will open the same file for you to edit.
New contributor
sla3k is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Yes, this behavior can be controlled in the file called /etc/sudoers
on most linux systems. You can add any existing user to that file along with the permissions in specific format. You would need to have root
user privileges in order to edit this file. For an example, I have configured my /etc/sudoers
file to include that one specific user does not need to enter the password while gaining superuser privileges:
user ALL=(ALL) NOPASSWD: ALL
On some Linux flavors, there is a visudo
command available which will open the same file for you to edit.
New contributor
sla3k is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
sla3k is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 1 min ago
sla3k
711
711
New contributor
sla3k is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
sla3k is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
sla3k is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479486%2fdoes-sudo-restrict-on-which-users-can-acquire-superuser-privileges%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password