Can't delete the user from command line

Hi All,

I try from command line to delete a user (Solaris8) and I get the following error:
UX: userdel: ERROR: Cannot update system files - loggin can not be deleted.
Any suggestions will be helpful. The root (/) file system has enough free space.

Regards,
Slava

are your users account store in your local /etc/passwd or NIS/NIS+?

because userdel cannot change information supplied by the NIS/NIS+

I'm using local files. But the wks is in NIS+.

Can't you edit any files directly?

On FreeBSD you can remove the user's GID (in /etc/group) and remove their home partition!

Hi,

Thanks a lot for your interest in my topic.
The problem was found. The file /etc/user_attr was deleted from the system. So, the root user didn't have any profiles.

Regards,
Slava