文件操作 - chsh
返回文件管理
返回主菜单
删除本文件
文件: /etc/pam.d/chsh
编辑文件内容
# # The PAM configuration file for the Shadow `chsh' service # # This will not allow a user to change their shell unless # their current one is listed in /etc/shells. This keeps # accounts with special shells from changing them. auth required pam_shells.so # This allows root to change user shell without being # prompted for a password auth sufficient pam_rootok.so # The standard Unix authentication modules, used with # NIS (man nsswitch) as well as normal /etc/passwd and # /etc/shadow entries. @include common-auth @include common-account @include common-session
修改文件时间
将文件时间修改为当前时间的前一年
删除文件