The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

my.cnf has my root name and password

Discussion in 'General Discussion' started by concreteman, Oct 20, 2003.

  1. concreteman

    concreteman Well-Known Member

    Joined:
    May 22, 2003
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    sillycone valley
    in the root directory of my box sits a my.cnf file with 2 lines... my root username and password... Is this normal? does it need to be there. I don't believe it is a major hole, just kinda freeked me out looking at it.
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Yeah, it has to be there. Don't worry, though, if anyone can read it they've already got your password. ;)
     
  3. concreteman

    concreteman Well-Known Member

    Joined:
    May 22, 2003
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    sillycone valley
    yep

    i knew that (lol)
     
  4. coastinc

    coastinc Well-Known Member

    Joined:
    Mar 13, 2002
    Messages:
    159
    Likes Received:
    0
    Trophy Points:
    16
    /root/.my.cnf is not necessarily your active root password.
    If you change your root password after the initial server setup, this file will remain unchanged with the original information. For security purposes, you should change your root password anyway.
     
    #4 coastinc, Oct 21, 2003
    Last edited: Oct 21, 2003
Loading...

Share This Page