What Is Shadow Group in Linux?
Contents

To solve that problem, Linux now has shadow files which hold encrypted password information. They were designed to just store password information. The shadow file for user information is /etc/shadow, and for group information the shadow file is/etc/gshadow (gshadow holds passwords for groups).

What is a shadow group?

A Shadow Group is a security group which carries with it, a security descriptor with an access control list (ACL). This would be a global security group that is logically mapped to an OU meaning that users in an OU would be members of the security group.

Where is shadow in Linux?

One solution is a “shadow” password file to hold the password hashes separate from the other data in the world-readable passwd file. For local files, this is usually /etc/shadow on Linux and Unix systems, or /etc/master. passwd on BSD systems; each is readable only by root.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest