chapter1 Accessing the command line using the local console

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了chapter1 Accessing the command line using the local console相关的知识,希望对你有一定的参考价值。

1、命令

usermod -L username 禁用用户 

usermod -U username 开启用户

禁用用户后, 用户连接时输入正确的密码也提示出错。 主要在/etc/shadow加入!屏蔽用户

也可以直接修改/etc/password后的shell为/sbin/nologin,输入正确的密码后自动退出。


本文出自 “Linux” 博客,请务必保留此出处http://837244.blog.51cto.com/827244/1879919

以上是关于chapter1 Accessing the command line using the local console的主要内容,如果未能解决你的问题,请参考以下文章

解决github push错误The requested URL returned error: 403 Forbidden while accessing

解决git clone时报错:The requested URL returned error: 401 Unauthorized while accessing

numpy使用[]语法索引二维numpy数组中指定数据列的数值内容(accessing the specific column in numpy array)

git推送到github报错:error: The requested URL returned error: 403 Forbidden while accessing https://github

The Little Prince

The Hive, the venture fund and co-creation studio interview