システムアカウントの shutdown、halt および sync にログインシェルがある理由

Solution Verified - Updated -

Issue

  • 以下のシステムアカウント (UID < 500) にログインシェルがあるのはなぜですか?

    # awk -F:'($1!="root" && $3<500 && $7!="/sbin/nologin") {print}' /etc/passwd
    sync:x:5:0:sync:/sbin:/bin/sync
    shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
    halt:x:7:0:halt:/sbin:/sbin/hal
    

Environment

  • Red Hat Enterprise Linux (すべてのバージョン)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.