Scroll to navigation

lgroupmod(1) General Commands Manual lgroupmod(1)

NAME

lgroupmod - Modify an user group

SYNOPSIS

lgroupmod [OPTION]... group

DESCRIPTION

Modifies the user group with name group.

OPTIONS

Add users in comma-separated list among group's administrators.

Remove users in comma-separated list from group's administrators. Removing users that are not currently among group's administrators silently succeeds.

Change group's group ID to gid.

Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.

Lock group. This prevents users from using the group password with newgrp(1) to become a member of group.

Add users in comma-separated list among group's members.

Remove users in comma-separated list from group's members. Removing users that are not currently among group's members silently succeeds.

Rename group to name.

Set group's password to password. Note that the password can be viewed while running lgroupmod using tools such as ps(1).

Set group's password to the password represented by the hash encrypted. Note that the hash can be viewed while running lgroupmod using tools such as ps(1).

Unlock group.

EXIT STATUS

The exit status is 0 on success, nonzero on error.

Jan 11 2005 libuser