Supplemental Note: Usermod can be used to modify the user account settings.
Parameters: -c< Notes > Modify the Notes text for the user account. -D Login Directory > Modify user login directory. -e< expiry date > change the expiration period of account number. -f< Buffer days > Modify the number of days after the password expires to close the account. -g< Group > Modify the group to which the user belongs. -g< Group > Modify the additional groups to which users belong. -l< Account name > Modify user account name. -L LOCK the user's password to invalidate the password. -s<shell> modifies the shell used by the user upon login. -u<uid> Modify the User ID. -U unlocks password.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.