Donate : Link
Medium Blog : Link
Applications : Link
The deluser command is used by system adminstrators to delete or remove user accounts from Linux systems.
By default, the deluser command deletes or removes users without deleting or removing their home directories and mail spools.
deluser USER remove a normal user from the system example: deluser mike --remove-home remove the users home directory and mail spool --remove-all-files remove all files owned by user --backup backup files before removing. --backup-to <DIR> target directory for the backups. Default is the current directory. --system only remove if system user delgroup GROUP deluser --group GROUP remove a group from the system example: deluser --group students --system only remove if system group --only-if-empty only remove if no members left deluser USER GROUP remove the user from a group example: deluser mike students general options: --quiet | -q don't give process information to stdout --help | -h usage message --version | -v version number and copyright --conf | -c FILE use FILE as configuration file
~# deluser cf Removing user 'cf' ... Warning: group 'cf' has no more members. Done.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.