QuestionQ82Verified/Services and User ManagementCopy linkReport a problemAsk AstroTutorSave questionWhich option is the best method for creating a non-interactive account on a Linux system?AWith no elevated privilegesBBy using adduser with no passwordCWith no home directoryDWith the shell set to /sbin/nologinShow AnswerAnswerExplanationA shell of /sbin/nologin prevents the account from starting an interactive login shell, which makes it appropriate for service or other non-interactive accounts.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion