QuestionQ49Verified/Hardening & Protecting EndpointsCopy linkReport a problemAsk AstroTutorSave questionWhat does this command do? $ chroot /home/jdoe /bin/bash AModifies ownership of the /home/jdoe and /bin/bash directories to rootBAssigns root privileges to the /home/jdoe and /bin/bash directoriesCGrants the jdoe user account root privileges when using a bash shellDChanges the root directory (/) to /home/jdoe for the associated userShow AnswerAnswerExplanationchroot runs a command with a specified alternative root directory. This invocation starts bash with /home/jdoe serving as / for that process; it does not alter ownership or confer privileges.Learn moreGNU Coreutils: chroot invocationShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion