struct Libcrown::Group

Overview

Represents a password line of /etc/group.

Defined in:

group.cr

Constructors

Instance Method Summary

Constructor Detail

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

Creates a new group.


[View source]

Instance Method Detail

def name : String #

Unique group name.


[View source]
def name=(name : String) : String #

Unique group name.


[View source]
def password : PasswordState #

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


[View source]
def password=(password : PasswordState) #

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


[View source]
def users : Set(String) #

Users who are members of the group.


[View source]
def users=(users : Set(String)) #

Users who are members of the group.


[View source]