English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Linux usermod command is used to modify user accounts.
usermod can be used to modify various settings of user accounts.
usermod [-LU][-c <remark>][-d <login directory>][-e <validity period>][-f <buffer days>][-g <group>][-G <group>][-l <account name>][-s <shell>][-u <uid>][User account]
Parameter Description:
Change the login directory
# usermod -d /home/hnlinux root
Change the user's uid
# usermod -u 777 root