How to modify user account using usermod command in Linux? || usermod

preview_player
Показать описание
#usermod #linux #linuxessentials
The usermod command modifies the system account files to reflect the changes that are specified on the command line. The video also discusses
how to use -c option with useradd - to add comment
how to use -d option with useradd - to change home directory of user
how to use -L option with useradd - to lock a user account
how to use -U option with useradd - to unlock a user account
how to use -e option with useradd - to expire a user account
how to use -g option with useradd - to assign GID to a user account
how to use -G option with useradd - to add user to Supplementary group

Рекомендации по теме
Комментарии
Автор

usermod U1 -L
usermod Rohit -G Trainee

umairnaseer
Автор

usermod U1 -usermod Rohit -G group_id_of_trainee
usermod Rohit -e 2025-12-12

prasoonagrawal