Technical article 105738

Adding a new user via scoadmin(ADM) fails with "Unexpected end of file /etc/group".

OpenServer 5.0.0

Written · Last revised

Problem

When I try to add a new user to my system using the Account Manager utility within the scoadmin(ADM) GUI interface, it fails and gives the error:

Unable to create new user account:  eddie44
General failure creating user account
General failure occurred in processing the request.
Unexpected end of file /etc/group

Cause

In this case the system "/etc/group" file was corrupted and could not be read correctly by the scoadmin utilities. A visual inspection of the file shows an extra blank line within the "group::50..." entry. It appears that extra escape characters of some sort had been inserted into the file. Editing and correcting the file does not seem to help.

Solution

There are two possible options:

- Restore a copy of the "/etc/group" file from the last system backup.

- Retype and rebuild the entire file manually.

From the Xinuos technical article database, record 105738. Reproduced with permission. The original is at www.sco.com/ta/105738, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.