登录时提示出错

摘要:
升级系统后,登录时将提示您错误。只需在/etc/login.defs中注释掉相应的行。
升级system后,登录时提示出错,注释掉/etc/login.defs里对应的行就行了。 gentoo /etc/login.defs

You have updated your Gentoo system but you did not fix the cfg-file as you should. Either you know how to fix it in another way, or simply just du the "mv -f ._cfg0000_login.defs login.defs". See an example below:

joe@home ~$ su -
Password:
configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
configuration error - unknown item 'MOTD_FILE' (notify administrator)
configuration error - unknown item 'FTMP_FILE' (notify administrator)
configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)

root@home ~# cd /etc
root@home etc# mv -f ._cfg0000_login.defs login.defs

免责声明:文章转载自《登录时提示出错》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇【DB宝41】监控利器PMM的使用--监控MySQL、PG、MongoDB、ProxySQL等ftp、sftp、vsftp、ssh、vsftpd、sshd下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

解决Windows Git Bash中文乱码问题

在git 安装目录 etc 下面 添加以下配置信息   1,/etc/gitconfig:   [gui]   encoding = utf-8 #代码库统一用urf-8,在git gui中可以正常显示中文   [i18n]   commitencoding = GB2312 #log编码,window下默认gb2312,声明后发到服务器才不会乱码   [...

解决ssh连接超时时间(ssh timeout)的设置方法

这点可以参考之前的一篇文章:ssh连接超时(ssh的usedns选项)的解决办法 。再来看,设置ssh超时时间的方法。修改自己 root 目录下的.bash_profile文件,加上 export TMOUT=1000000 (以秒为单位) 然后运行: source .bash_profile 在/etc/ssh/sshd_config中加入: Cli...

LINUX挂接UNIX系统NFS文件共享

类似于windows的网络共享,UNIX(Linux)系统也有自己的网络共享,那就是NFS(网络文件系统),下面我们就以SUN Solaris2.8和REDHAT as server 3 为例简单介绍一下在linux下如何mount nfs网络共享。   在linux客户端挂接(mount)NFS磁盘共享之前,必须先配置好NFS服务端。   1、Solar...

zabixx安装

server端部署 IP:192.168.88.42 环境检查 安装(使用yum安装) #安装zabbix源、aliyun YUM源 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo curl -o /etc/yum.repos.d...

Centos6.5下OpenLdap搭建(环境配置+双机主从配置+LDAPS+enable SSHA)

为什么要做这个事 公司打算做统一认证,由于LDAP支持radius,可以把网络、安全设备集中在一个LDAP中认证; OpenLDAP OpenLDAP 是 LDAP 协议的一个开源实现。LDAP 服务器本质上是一个为只读访问而优化的非关系型数据库。它主要用做地址簿查询(如 email 客户端)或对各种服务访问做后台认证以及用户数据权限管控。(例如,访问...

Ubuntu不可以ping百度,但是可以ping通其ip

原来也安装过几个ubuntu系统,但是今天遇到一个很奇怪的情况,明明ifconfig显示已经获取了网络上的ip,但是浏览器就是打不开网页,百思不得其解。因为这几天用ping用多了,所以进行了以下尝试:1)ubuntu系统上打开终端  ping www.baidu.com  ping:unknown host  于是开始怀疑估计是域名解析除了问题2)打开自己...