tldr/pages/linux/deluser.md
Patrice Denis ce747d2f46
user*, group*, add*, group*: add more info links (#5738)
* user*, group*, add*, group*:add more info links

* user*, group*: remove section numbers from manned.org links

* adduser, deluser: remove en locale from info links

* Update pages.it/linux/adduser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Update pages.it/linux/deluser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Update pages.pt_BR/linux/adduser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Update pages.zh/linux/adduser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Update pages/linux/adduser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Update pages/linux/deluser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Update pages.ko/linux/deluser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
2021-04-17 14:19:41 +02:00

568 B

deluser

Delete a user from the system. Note: all commands must be executed as root. More information: https://manpages.debian.org/latest/adduser/deluser.html.

  • Remove a user:

deluser {{username}}

  • Remove a user and their home directory:

deluser --remove-home {{username}}

  • Remove a user and their home, but backup their files into a .tar.gz file in the specified directory:

deluser --backup-to {{path/to/backup_directory}} --remove-home {{username}}

  • Remove a user, and all files owned by them:

deluser --remove-all-files {{username}}