1. AI新视界首页
  2. AI经验分享
  3. 框架平台

How to enable or disabled a user in ubuntu?

Note:

(Disabling and locking a user account both mean the same thing.)

To disable / lock the user account use below command:

To put an expire date to an user account so that it automatically gets disabled / locked.

To re-enable a disabled user, issue the passwd command with the -u option.

To enable the root account and change the root password use below steps.

Enter the new password for root account and then exit. if this does not solve the issue let me know.

Please feel free to let me know if you need anything else or any further clarification.

原创文章,作者:ifyoung,如若转载,请注明出处:https://www.drugfoodai.com/user-in-ubuntu.html

发表评论

邮箱地址不会被公开。 必填项已用*标注