Comments on Removing A User

Removing A User Employee turnover in most organizations runs high. So unless you run a small shop with a stable user base, you need to learn how to clean up after an employee leaves. Too many so-called system administrators do not understand the stakes involved when they manage users. Disgruntled former employees can often cause significant trouble for a company by gaining access to the network.

4 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Anonymous

I'm still reading through the article, but for step three I've allways used:

/bin/false

I'm not sure if all distro's use this but all the ones I administer do.

-Nicholas

By: jack

Very good article...

 THanks

By: Anonymous

You can change the user's shell without editting the /etc/passwd file by hand, using "chsh -s /path/to/shell userid" (e.g., "chsh -s /dev/null bwilson"). Thanks for the list, there was one I had left out of my own user_delete script!

By: Aji Prabowo

Permission to repost it in my blog. Looking forward to have your visit.

Thank you.