After the National Day holiday , Go to work , The first thing is to connect to the development server for development , It turns out that you can't get into the system . At first I thought it was the wrong user name and password , Later found that how to input is not into the system , The password input is definitely correct .

google For a moment , It was found that someone said the password had expired , Some people said that there was an error logging in the content directory of relevant files . Either way , We all need to get in now ‘ Single user mode ’ And then it was solved , Restart the operating system , When we go to the step of selecting the operating system , Press on the keyboard ‘e’ Editing , After entering edit mode , There is kernel That line , Press again ‘e’,e In fact, that is edit It means , Then enter... At the end of the line ‘single’ , then boot System , It's very easy to enter single user mode .

And then I looked at /etc/pam.d/login file , Find out session required /lib/security/pam_limits.so This business , Because my operating system is 64 Bit , So it should be session required /lib64/security/pam_limits.so. After the modification , Restart the system , Enter the user name and password again , You can enter the system normally .

As for why the system is login The contents of the file suddenly went wrong , I don't know about this yet ~~

centos Enter the correct password can not enter the system more related articles

  1. Ubuntu16.04 The password is correct Can't get into the desktop system ( Test returned to normal )

    Met twice ubuntu The password is correct , But I can't get into the system , After entering the password , Jump to the interface And then back to the login screen , I'm going to cycle through the password all the time . Guest Users can .   terms of settlement : 1. Get into tty Next            ...

  2. perform startx after Ubuntupassword The problem of not getting in correctly

    I knocked on the command line today startx , And then the system reboots . Input password after , Jump to the interface . And then back to the login screen . Loop the input all the time password. You can't get into the system . Then I have to use my mobile phone to find solutions on the Internet ...

  3. CentOS6.5 You can't get into the system , Repair

    There's something wrong with the system today , And then I searched the Internet for a solution, and it worked out , Write down the solutions , For future reference . Input root password #mount | grep "on /" // obtain root Where the user is ...

  4. ThinkPad T460 The solution to not getting into the system

    The system is stuck in the system lenovo Try a solution to the interface : Power on and click F1 Enter into bios Interface into the Security-Secure Boot choose Disabled Get into Startup-UEFI choose BOTH And then click F10 choose yes ...

  5. mac os The system password is correct But I can't get into the system

    I'll start learning again today C But I can't get into the system when I get up early The code is clearly correct No more words , Later, I called Apple after-sales to solve the problem . Record how to solve it today , In case of this kind of problem in the future , As for the reason I don't know either It might have something to do with my dual system . only ...

  6. centos tomcat/resin Installation configuration Unload the system java tomcat Installation configuration install JDK resin Installation configuration Lesson 28

    centos  tomcat/resin Installation configuration   Unload the system java  tomcat Installation configuration   install JDK   resin Installation configuration    Lesson 28 tomcat and java There's no need to compile tom ...

  7. deepin linux Learning notes ( Four ) What if I can't get into the GUI ?

    Catalog deepin linux Learning notes ( Four ) What if I can't get into the GUI ? Preface Replace it with lxde desktop What if I can't get into the GUI ? summary deepin linux Learning notes ( Four ) What if I can't get into the GUI ? Preface Life is endless ...

  8. from unity Drop the icon to unity I can't get into the desktop

    The phenomenon 1: It took more than a year unity The network icon and Netease cloud music icon in the upper right corner of the Internet disappeared , I don't remember having update or upgrade too , However, these two functions can still be used normally solve 1: install Gnome, Sure enough, the corresponding icon is ...

  9. [DEBUG] ubuntu mysql root@localhost Changed the password or couldn't get in ERROR 1698 (28000)

    I used to use skip-grant-tables No secret access Mysql, Revised root Password , At that time, after restarting the service, you can use the password to enter Mysql Of . As a result, I couldn't get in yesterday :) So change the method , I wish to record . ====== ...

Random recommendation

  1. Entity Framework 6 Recipes 2nd Edition(11-5) translate -> from ” Model definition ” Function returns an anonymous type

    11-5. from ” Model definition ” Function returns an anonymous type problem I want to create a... That returns an anonymous type ” Model definition ” function Solution Suppose there are tourists (Visitor) booking (reservation) room (hotel ) Model of ...

  2. noi Question bank (noi.openjudge.cn) 1.7 String of programming basis T21——T30

    T21: Word substitution describe Enter a string , End with a carriage return ( String length <=100). The string consists of several words , Words are separated by a space , All words are case sensitive . Now we need to replace one word with another , And output ...

  3. 8611&#160; Daniel's road I

    The time limit :500MS   Memory limit :1000K Submit the number :157  Pass times :62 Question type :  Programming questions     Language : C++;C Description To be ACM Daniel , To master a lot of necessary knowledge . Some knowledge points can ...

  4. vi or vim Shortcut key

    1.dG: This is to delete the contents from the cursor line to the last line ( Include the contents of the line where the cursor is located ) 2.ggVG Future generations

  5. use dlopen、dlsym、dlclose Load the dynamic link library 【 summary 】

    Excerpt from http://www.cnblogs.com/Anker/p/3746802.html use dlopen.dlsym.dlclose Load the dynamic link library [ summary ]   1. Preface In order to make the program easy to expand , Have access to ...

  6. ADN The Chinese team participated in Microsoft's Kinect Third prize in the national competition

    Last weekend our team took part in Microsoft's Kinect The national competition , our Kinect + Navisworks Roaming won the third prize    Team manager Joe Wrote a detailed summary , I reprinted it directly . http://blog.csdn.ne ...

  7. C/S Introduction to architecture automation testing

    So-called C/S Architecture is Client/Server( client / Server architecture ). Although in recent years C/S There are fewer and fewer architecture products , There is a lot of quilt B/S(Browser/Server browser / The server ) The trend of architecture beyond , but C/S Still have B/S must not ...

  8. stay web Use in application Log4j 2

    Using Log4j 2 inWeb Applications ( stay web Use in application Log4j 2) source :http://logging.apache.org/log4j/2.x/manual/we ...

  9. ftp To transmit data : The command link connection method is the same , The method of establishing data link is completely different

    0.FTP The protocol works in two ways :PORT The way and PASV The way , Chinese means active and passive . PORT( Take the initiative ) The connection process is : Client to server FTP port ( The default is 21) Send connection please seek , Server accepts connection , Build a chain of command ...

  10. POJ.1743.Musical Theme( The suffix array Multiply Two points / Postfix automaton )

    Topic link \(Description\) Given a sequence of numbers (Ai∈[1,88]), Find the longest two subsequences to satisfy : 1. Length at least 5 2. A subsequence can be changed into another subsequence by adding or subtracting the same number 3. Two subsequences ...