Linux permission problem

xiaoxiao2021-03-06  64

Linux Permissions Question _10_4: After the day of Mysql yesterday, when I re-entered Linux today, the error occurred: the startup process: a. No file UTF8 --- ?? b. No file / var / empty / ssh And / var / spool and other error C.SM-Client Failed d. Cannot enter the normal graphic login interface (but can log in to root through the terminal, then startX into the graphical interface) After the startup is complete: a. Every time (10s?) Enter Blue Screen, Screen Tips: garbled, / var / gdm don't exissrs. /Daemon/sever./etc/x11/gdm/gdm.conf

Initial reason: Since I installed MySQL yesterday, it can be determined that the error is from this, the suspicious step in installation is: Change the System Environment Variable (PATH), and the system environment file (/ etc / profile); change user permissions; ... Procedure: 0. The change of Path variable is not maintained after restarting; deleting PAHT = $ Path '/ usr / local / mysql / bin', invalid 1 yesterday. Change the system language to English system, or because of garbled could not be seen error message. 2. Blue screen prompts appearing every 10s: "/ var / gdm configuration file is not found, please reset /etc/x11/gdm/gdm.conf The path. "3. Discover, the / var / gdm file exists after viewing, and the path in gdm.conf is correct. Therefore, it should be the problem of permission settings 4. LS -L and found, GDM and all in / var The user properties of the files in the directory are all mysql, and some files have privileges, ft! I have to look at the machine next to the machine to change, Note (Procedure):> ls -l drwxr ----- 21 mysql mysql 4096 July 15 10:11 Var> chown root: root var> chmod 755 var // drwxrwrwx can be removed to D.Rwx.rwx.rwx, after removal D, can be identified as 111.111.111 is 777, then How to change it is clear, for example, to DRWXR-XR-X. If you go to D, it is RWX.Rx.rx, it is 111.101.101, which is 7.5.5, so it is 755 // in the command. (Next slowly change the various files in Var, ftftft ~~) inserted: During the error process, I actually accidentally put the "Allow root to log in" to GDM "in the login screen setting, and the result cannot be in the login interface. Log in, causing unnecessary trouble: (sequelae: Most of the user attributes in VAR is set to mysql, may cause problems ... I am a lost hand into a big trouble, hengheng, wait for the current work, I put it The old nest is given back ---- reload! :)

转载请注明原文地址:https://www.9cbs.com/read-110529.html

New Post(0)