[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: deleting user account



On Sun, Oct 16, 2011 at 07:04:14AM BST, Zachary Uram wrote:
> so i deleted a user account using "deluser foo" and then i had to "\rm
> -r /home/foo" but my tiger auditing report is telling me:

You could have combined it into a single command:

% deluser --remove-home foo

or

% deluser --remove-all-files foo

man deluser

> # Performing check of user accounts...
> OLD: --WARN-- [acc021w] Login ID foo appears to be a dormant account.
> # Performing check of passwd files...
> OLD: --WARN-- [pass014w] Login (foo) is disabled, but has a valid shell.

Check /etc/passwd and /etc/shadow for 'foo'.

> anything else i can do to remove any remnants of the account besides
> what i already did?

% delgroup --only-if-empty foo

Regards,
-- 
Raf


Reply to: