#解决OpenEuler操作系统创建普通用户切换root用户报错。
提示报错如图:
*
解决方法如下:
方法 1. 路径:/etc/pam.d/su 通过注释配置文件第21行使得能够进行切换
注释:PAM(Pluggable Authentication Modules)负责系统中很多应用程序的登录认证,安全设置问题
1 #######################################################################################
2 #
3 # Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
4 # security-tool licensed under the Mulan PSL v2.
5 # You can use this software according to the terms and conditions of the Mulan PSL v2.
6 # You may obtain a copy of Mulan PSL v2 at:
7 #


最低0.47元/天 解锁文章
1174





