[Tested On]
CentOS Linux release 7.4.1708 (Core)# cat /etc/passwd | grep {user}
testuser:x:1001:1002::/home/testuser:/bin/bash
--- /home/testuser - is the user home directory
To delete the user and everything in its home directory, issue the command below
# userdel --remove test
No comments:
Post a Comment