Tag:root

  • Reset method of MySQL root password

    Time:2021-9-23

    For DBAs, it is fatal to lose the password of superuser root, You can skip the permission table by adding the — Ship grant tables parameter. 1. Forget the root password and cannot access the database: At this time, you need to stop the database forcibly. Check the MySQL process number first Kill the MySQL […]

  • Method of closing root login in Linux system

    Time:2021-8-4

    Turn off direct access to the root user and use sudo or Su to perform administrator tasks. First, you need to add a new user with root permission, so edit the sudoers file under this path:     Copy code The code is as follows: /etc/sudoers/ It is recommended to edit the file with a command […]

  • Linux exposes sudo privilege raising vulnerability, and any user can also run root command

    Time:2021-7-14

    As one of the most commonly used utilities in Linux, sudo is installed on almost every UNIX and Linux distribution, so that users can call and implement core commands. However, a recently exposed privilege raising vulnerability directly points to a hidden danger of sudo’s security policy, that is, even if root is not allowed to […]

  • How to reset the root password of CentOS 7? Methods and steps of setting root password of CentOS 7

    Time:2021-6-12

    The way to reset the password of CentOS 7 root is completely different from that of CentOS 6. Let me show you how it works. 1 – in the start grub menu, select the edit option to start 2 – press key e to enter the editing interface 3 – find the line of Linux […]

  • On the method of setting initial value of Linux root

    Time:2021-2-10

    Ubuntu does not allow root login by default, so the initial root account cannot be used. You need to use sudo permission to modify the root password under the normal account. Input at terminalsudo passwd root, press enter, and then the system will prompt you to enter the password of the ordinary user (the password […]

  • The nginx service refreshes the page after deploying the Vue project, and there is a 404 problem

    Time:2021-1-15

    Environmental Science 1.vue-cli 3.x 2.Nginx overview Before the project, Vue router used the default “hash” mode, which is no problem in the local and online environment. Because the “#” in the URL is removed, the “history” routing mode is used. After the online environment is deployed again, the home page can be accessed normally, and […]

  • Using root to start MariaDB under Linux (recommended)

    Time:2020-12-17

    Recently, due to the need of testing security products, I want to adjust the starting user of MariaDB as root. After some twists and turns, I finally succeed! Note: starting MySQL as root is a very dangerous behavior, which is equivalent to giving database operation users (database administrators or hackers) a channel to directly operate […]

  • Solve the problem of resetting MySQL root user account password

    Time:2020-12-7

    Problem Description: use mysqladmin.exe The following error prompts appear when executing the command: mysqladmin: connect to server at ‘localhost’ failed error: ‘Access denied for user ‘root’@’localhost’ (using password: YES)’ resolvent As follows, reset the MySQL root user password # service mysqld stop #Enter the MySQL installation directory / bin directory (if you do not configure […]

  • Troubleshooting of SAP data intelligence API execution errors

    Time:2020-8-17

    When using HTTP get to access the SAP data intelligence graph API, an error of 500 internal server error was encountered: Return to SAP data intelligence modeler and find that the execution status of graph instance is dead: Find the process: object store that caused the error Download diagnosis information to find the root cause […]

  • CentOS allows telnet access through root

    Time:2020-7-27

    CentOS: [ [email protected] ~]#Yum install telnet-server – Y // install telnet server [ [email protected] ~]#Cat / etc / xinetd. D / telnet // start telnet hosting service # default: on # description: The telnet server serves telnet sessions; it uses \ #unencrypted username/password pairs for authentication. service telnet { flags= REUSE socket_type= stream wait= no […]

  • How to solve the problem of root running elasticsearch under CentOS

    Time:2020-5-26

    Run elasticsearch 2.3 on CentOS 6.5 with the following exceptions: Exception in thread “main” java.lang.RuntimeException: don’t run elasticsearch as root. at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:93) at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:144) at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270) at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35) Refer to the log for complete error details. The exception description is that elasticsearch cannot be run with root permission. The solution is to add parameters at […]

  • The method of forbidding root user to log in SSH and modifying SSH port in Linux

    Time:2020-3-7

    1. Prevent root from logging in SSH Copy code The code is as follows: #vi /etc/ssh/sshd_config hold Copy code The code is as follows: PermitRootLogin yes Change to Copy code The code is as follows: PermitRootLogin no Restart the sshd service Copy code The code is as follows: #service sshd restart At this time, the […]