Changing the root password and user password

Discussion in 'Installation/Configuration' started by Boon-Dog-Danny, Jan 30, 2007.

  1. Boon-Dog-Danny

    Boon-Dog-Danny New Member

    Hi all.

    well long time no troubles.. hope everyone is well..

    OK

    So I get a machine set up with fedora 5 isp config works fine :rolleyes: .. I'm having a program installed and need to give them root access to the server, when they are done I want to change the passwords on both the root and the user(admin) so no one comes back later :eek: ..how do I do that?

    and I also ran some sort of virus check deal on the server Falco gave me the link anyone know the command to run the scan on the server for nastys?

    thanks so much for taking the time to read and answer if ya do :cool:

    Danny
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can use the "passwd" command followed by the username to change the password of a linux user. Example:

    passwd root

    You should also check the /etc/group file that only the root user is in the root group.

    Are you talking about clamav antivirus?
     
  3. Boon-Dog-Danny

    Boon-Dog-Danny New Member

    re

    You can use the "passwd" command followed by the username to change the password of a linux user. Example:

    passwd root


    ??

    Ok Till for an Idiot :rolleyes: so what would I put

    say my root password is 123456.. and I want to change it to abcdef..

    what would I put?

    as for the antivirus stuff... I'll have to go thru my posts and find it.. it was a something I ran on the server that scanned it.. it said do this once in a while .. but I can remember what the heck it was called. It was free...

    thanks for your help.

    passwd root abcdef ?

    I'm sorry I do not follow?
     
    Last edited: Jan 30, 2007
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The command is exactly like I postd it above:

    passwd root

    The command is interactive, you will be then prompted for the new password.

    By the way, 1f you dont know how a command works run either:

    passwd --help

    or

    man passwd

    to get the options and usage of the command.
     
  5. Boon-Dog-Danny

    Boon-Dog-Danny New Member

    re

    Big thanks Till
     

Share This Page