5行目: | 5行目: | ||
:The log in name of the user will be changed. Nothing else is changed | :The log in name of the user will be changed. Nothing else is changed | ||
;-e | ;-e | ||
: | :The date on which the user account will be disabled | ||
$ usermod -G sudo hoge | $ usermod -G sudo hoge | ||
$ usermod -l new_name | $ usermod -l new_name |
2019年3月1日 (金) 09:49時点における版
オプション
- -G
- A list of supplementary groups
- -l
- The log in name of the user will be changed. Nothing else is changed
- -e
- The date on which the user account will be disabled
$ usermod -G sudo hoge $ usermod -l new_name