@require_root<EOL>def remove_user(username):
users = passwd_reader.load_users()<EOL>assert username in users, "<STR_LIT>" % username<EOL>del users[username]<EOL>passwd_reader.save_users(users)<EOL>home_dir = settings.DATA_PATH + username<EOL>if os.path.exists(home_dir):<EOL><INDENT>shutil.rmtree(home_dir)<EOL><DEDENT>reload_configuration()<EOL>
Remove user, his home directory and so on..

Args:
    username (str): User's name.