Saltar al contenido principal
Llámanos
Números telefónicos y horarios
Solicitar una llamada

Evita la espera. Haz una solicitud y te devolveremos la llamada

Solicitar una llamada
Centro de Ayuda

Explora nuestros recursos de ayuda en línea

Ayuda

Gen 3 VPS & Dedicated Servers Ayuda

Remove a Linux user

You can remove old users from your Linux server. This will revoke the user's SSH access, and remove that user's file and directory ownership.

Note: This procedure should work for all Linux distribution types - Ubuntu, CentOS, and so on.

  1. Log in to your server via SSH.
  2. Switch to the root user:
    sudo su -
  3. Use the userdel command to remove the old user:
    userdel user's username
  4. Optional: You can also delete that user's home directory and mail spool by using the -r flag with the command:
    userdel -r user's username
    Warning: Only delete a user's home directory if you are certain you no longer need their files or mail.

Next step

  • For more detailed information about the userdel command, view the man page by typing man userdel into your SSH window.

Relacionado con la comunidad

cyberben's Avatar
Deluxe Web Hosting Linux needs cPanel

5 Respuestas

Last posted about 1 year ago.

sumankarmachary's Avatar
Linux Hosting Delete. How to recovery?????

1 Respuestas

Last posted over 4 years ago.

misoa's Avatar
Where can i find my cpanel?

2 Respuestas

Last posted over 4 years ago.

colonus's Avatar
remove .php .html extension Ultimate Hosting linux

1 Respuestas

Last posted about 2 years ago.

¿No encuentras lo que estás buscando? Busca en la comunidad