A Linux administrator needs to resolve a service that has failed to start. The administrator runs the following command: The following output is returned Which of the following is MOST likely the issue?
A.
The service does not have permissions to read write the startupfile.
B.
The service startupfile size cannot be 81k.
C.
The service startupfile cannot be owned by root.
D.
The service startupfile should not be owned by the root group.
A. RB34561 explains it. (Tangentially, the file can be deleted by its owner and the root user. The file's permissions can be changed by its owner and the root user.)
Selecting A -
The output from the ls -l command shows the permissions of the startup file as a series of dashes (----------), this means that there are no permissions set for the owner, group, or others. This would prevent any user, including the root user, from reading, writing, or executing the file.
The file is owned by the "root" user (the owner) and belongs to the "root" group (the group). In many cases, system files should not be owned by the "root" user, especially if they are related to a specific service or application. It's generally recommended to have service-specific users and groups to manage permissions and access to files.
-l flag display file permissions
owner (root) and group (root) have no permissions
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
e418137
6Â months, 4Â weeks agoRB34561
8Â months, 2Â weeks agoDamon54
1Â year agoJRS99
2Â months, 1Â week agoJRS99
2Â months, 1Â week agoangellorv
1Â year, 5Â months ago