struct

Libcrown::Group

Inherits Struct < Value < Object

Represents a password line of /etc/group.

Constructors

new(name : String, users : Set(String) = Set(String).new, password : PasswordState = PasswordState::Hashed)

Creates a new group.

Source

Instance methods

name

Unique group name.

Source
name=(name : String) : String

Unique group name.

Source
password

Generally unused empty/blank password (set to PasswordState::Hashed).

Source
password=(password : PasswordState)

Generally unused empty/blank password (set to PasswordState::Hashed).

Source
users

Users who are members of the group.

Source
users=(users : Set(String))

Users who are members of the group.

Source