What is the security context of a program run from a startup script on busybox
Clash Royale CLAN TAG#URR8PPP
up vote
-4
down vote
favorite
If I have an embedded system running linux kernel version 4.1 with a busybox distribution. A startup script runs a program, program1, at startup. Does that program run as if you had logged in as root? Is it controlled by the owner and group permissions?
The permissions of the file are:
-rwxr-xr-x 1 root root 4726312 Oct 1 13:23 program1
The program is in the root group. Does that mean that the program run at startup runs with root privileges?
What are the benefits of assigning a different group to run this program?
permissions security root group executable
New contributor
arcomber 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
-4
down vote
favorite
If I have an embedded system running linux kernel version 4.1 with a busybox distribution. A startup script runs a program, program1, at startup. Does that program run as if you had logged in as root? Is it controlled by the owner and group permissions?
The permissions of the file are:
-rwxr-xr-x 1 root root 4726312 Oct 1 13:23 program1
The program is in the root group. Does that mean that the program run at startup runs with root privileges?
What are the benefits of assigning a different group to run this program?
permissions security root group executable
New contributor
arcomber 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
-4
down vote
favorite
up vote
-4
down vote
favorite
If I have an embedded system running linux kernel version 4.1 with a busybox distribution. A startup script runs a program, program1, at startup. Does that program run as if you had logged in as root? Is it controlled by the owner and group permissions?
The permissions of the file are:
-rwxr-xr-x 1 root root 4726312 Oct 1 13:23 program1
The program is in the root group. Does that mean that the program run at startup runs with root privileges?
What are the benefits of assigning a different group to run this program?
permissions security root group executable
New contributor
arcomber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
If I have an embedded system running linux kernel version 4.1 with a busybox distribution. A startup script runs a program, program1, at startup. Does that program run as if you had logged in as root? Is it controlled by the owner and group permissions?
The permissions of the file are:
-rwxr-xr-x 1 root root 4726312 Oct 1 13:23 program1
The program is in the root group. Does that mean that the program run at startup runs with root privileges?
What are the benefits of assigning a different group to run this program?
permissions security root group executable
permissions security root group executable
New contributor
arcomber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
arcomber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
arcomber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 22 hours ago


arcomber
1273
1273
New contributor
arcomber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
arcomber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
arcomber 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 |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
arcomber is a new contributor. Be nice, and check out our Code of Conduct.
arcomber is a new contributor. Be nice, and check out our Code of Conduct.
arcomber is a new contributor. Be nice, and check out our Code of Conduct.
arcomber is a new contributor. Be nice, and check out our Code of Conduct.
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%2f481400%2fwhat-is-the-security-context-of-a-program-run-from-a-startup-script-on-busybox%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