spirit posteets tagged root  [ Profile ]

Sort by: Date / Title /

  1. 10 years ago
    1. # If you have never set a root password for MySQL
    2. mysqladmin -u root password MYPASS
    3.  
    4. # if you want to change (or update) a user password
    5. mysqladmin -u MYUSER -p OLDPASS NEWPASS
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1033"></script>
  2. 11 years ago and saved by 1 other
    If you have the boot loader Grub :
    1. Start the machine and wait until the bootloader screen appears
    2. Select the operating system and type E for edit
    3. Select kernel and type E for edit
    4. Select boot and add runlevel 1 to the end of the line
    5. Press Enter and then B for boot
    6. After booting the kernel, use passwd to change the password
    7. Reboot the PC and use the new root password
    
    If you have the boot loader lilo :
    1. Start the machine and wait until the bootloader screen appears
    2. Type linux single to enter single user mode
    3. After booting the kernel, use passwd to change the password
    4. Reboot the PC and use the new root password
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/459"></script>
  3. 11 years ago and saved by 2 others
    - Stop mysql
    # /etc/init.d/mysql stop
    
    - Lauch mysql with --skip-grant-tables (WARNING: your mysql server will launch without any password authentication, so please protect it first with a firewall or something if it's world accessible)
    # mysqld_safe --skip-grant-tables
    
    - Login as root without a password
    $ mysql -u root
    
    - Change the password
    mysql> use mysql;
    mysql> update user set password=PASSWORD("your_new_root_password") where User='root';
    mysql> flush privileges;
    mysql> quit
    
    - Stop mysql
    # /etc/init.d/mysql stop
    
    - Start mysql again to re-enable authentication
    # /etc/init.d/mysql start
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/359"></script>
  4. sponsorised links
  5. 11 years ago
    1. vim /etc/ssh/sshd_config
    2. # PermitRootLogin yes
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/61"></script>

First / Previous / Next / Last / Page 1 of 1 (4 posteets)