I sometimes will create a user account for someone so they can login to my box via FTP for one day and then after I see they have logged in to my ftp, I will remove their account. I was wondering if anyone can tell me after I delete the user account, is anything left maining on my Linux machine? Do I need to remove any special files or anything as I don't want clutter building up from many "temp" user accounts that I create.
Thanks for any assistance.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Creating and Deleting a User?
-
- Posts: 889
- Joined: 2005-02-05 06:11
- Location: Orlando, FL
If you use deluser to delete the user it will, by default, not delete the files associated with the user. With the switch --remove-home it will delete the user's home directory. With the switch --remove-all-files, deluser will remove all files owned by that user.
See man deluser for more information.
See man deluser for more information.
-
- Posts: 889
- Joined: 2005-02-05 06:11
- Location: Orlando, FL