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.

Password resets automatically due to cpanel script /scripts/upcp

Discussion in 'General Discussion' started by jana, Dec 16, 2005.

  1. jana

    jana Registered

    Joined:
    Dec 16, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    We had created a ftp account using useradd with root privilage.Password
    for that ftp account gets reset automatically.On checking we have found
    the reason for the same.Looks like "!!" is added before the password
    field in /etc/shadow. This is being added at 00:46 hours which is same
    as the time the cpanel script "/scripts/upcp" is running every day. Is
    there a way to tell cpanel that the ftp account created using useradd
    is a valid id?.

    Thanks.
    Jana
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You should never ever allow FTP into root. If you need FTP functionality as a root user, you should use SFTP (FTP over SSH) or SCP.
     
  3. jana

    jana Registered

    Joined:
    Dec 16, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Ftp account created with root privilage can login through SFTP only.My problem is password for that account gets reset automatically after the cpanel script /scripts/upcp executes in the server.It just prefixes !! to tha password of that account in the shadow file.Is there any way to tell cpanel that account created through useradd utility is a valid account.

    Thanks
    Jana
     
Loading...

Share This Page