正在显示。......
sudo:pam_open_session:模块未知 sudo:策略插件会话初始化失败
我可以使用pkexec命令,但是sudo没有运行。谁能帮我吗?
我的pam.config文件看起来像
# ---------------------------------------------------------------------------#
# /etc/pam.conf #
# ---------------------------------------------------------------------------#
#
# NOTE
# ----
#
# NOTE: Most program use a file under the /etc/pam.d/ directory to setup their
# PAM service modules. This file is used only if that directory does not exist.
# ---------------------------------------------------------------------------#
# Format:
# serv. module ctrl module [path] ...[args..] #
# name type flag #
我的pam.d / sudo文件看起来像
#%PAM-1.0
session required pam_env.so readenv=1 user_readenv=0
session required pam_env.so readenv=1 envfile=/etc/default/locale user_readenv=0
@include common-auth
@include common-account
@include common-session-noninteractive
session required /home/iknownothing/simple-pam/mypam.so