How To Add and Delete Users on Ubuntu 12.04 and CentOS 6

How To Add and Delete Users on Ubuntu 12.04 and CentOS 6

How To Add and Delete Users on Ubuntu 12.04 and CentOS 6

Adding a User on Ubuntu 12.04

  1. Open the terminal.
  2. Type the command: sudo adduser username. Replace "username" with the name of the user you want to add.
  3. Follow the prompts to set a password and additional user information.
  4. Once you have finished entering the information, the user will be added to the system.

Adding a User on CentOS 6

  1. Open the terminal.
  2. Type the command: sudo useradd username. Replace "username" with the name of the user you want to add.
  3. Type the command: sudo passwd username. Follow the prompts to set a password for the user.
  4. The user is now added to the system.

Deleting a User on Ubuntu 12.04

  1. Open the terminal.
  2. Type the command: sudo deluser username. Replace "username" with the name of the user you want to delete.
  3. Follow the prompts to confirm the deletion.
  4. The user will be deleted from the system.

Deleting a User on CentOS 6

  1. Open the terminal.
  2. Type the command: sudo userdel username. Replace "username" with the name of the user you want to delete.
  3. Follow the prompts to confirm the deletion.
  4. The user will be deleted from the system.
Keywords: add user, delete user, Ubuntu 12.04, CentOS 6, terminal, password, system.

Комментарии

Популярные сообщения из этого блога

How To Modify CSS Classes in JavaScript

How To Backup MySQL Databases on an Ubuntu VPS

How To Backup PostgreSQL Databases on an Ubuntu VPS