Manage Users and Groups

The table below shows commands from the operating system used for managing users and groups:

Command
Explanation

id

Prints real and effective user and group IDs

chmod

Changes the file mode bit

umask

Sets the mask for creating file mode

chown

Changes the owner of the file and the group

chgrp

Changes the group ownership

passwd

Changes the user password

Last updated

Was this helpful?