hi i have tried to delete a user account using this command userdel dubed but when i try to add the user again it gives me this warning msg: "the home directory already exist not copying any file from skel directory into it" How do fix this problem
tats bcos the user home directory still existing in the server. remove the home dir and try again....
u have to use this option in order to delete the home direcotry for the use becose by defult userdel con't delete the home directory it just remove the user from /etc/shadow and the group name from /etc/gshadow and the user will no longer able to login to remove the home direcoty you have to use this option userdel - r r stand for remove it's will be del the user with the home direcotry