[Lias] User management problem

Paul Gear pgear at redlands.qld.edu.au
Tue May 6 07:45:01 UTC 2003


Jonathon Coombes wrote:

>...
>
>I am not sure if it still the case, but I remember on some
>distros of Linux, when deleting a user account, it gave the
>same generic error (user exists) for three conditions. The
>first was that they were in the passwd file, the second if
>they were in the shadow or group files, and lastly if the
>home directory existed. I dont suppose you have the users
>home directories still there?
>

You might also check the return code, as that might distinguish at a 
finer level.

BTW, the group file equivalent for pwck is grpck.

-- 
Paul Gear
Manager IT Operations
Redlands College
38 Anson Road, Wellington Point 4160
07 3286 0271
(Please send attachments in portable formats such as PDF or HTML.)






More information about the lias mailing list