Technical article 104739

Why was /etc/passwd updated after I cancelled a request?

OpenServer 5.0.0

Written · Last revised

Problem

Using the SCOAdmin Account Manager to change account
information about a user,  I move the account's home
directory to another location which did not exist at the
time of the request.  I select the option to create the
new home directory and selected 'OK' to process the
request, and this error message occurs:
"Unable to modify user account: {username} "

Then, in the details message box, this error message occurs:

"Should not move home directory as it may currently be in use"

I then see that the user, whose account I just tried to modify, is currently logged on.

Even though the action to modify the user's account was cancelled, the new home directory information was written to the user's account information in /etc/passwd.

Why was /etc/passwd updated after the request was cancelled?

Solution

This problem has been reported to SCO Engineering and will be addressed in a subsequent release.

You can safely use an editor, such as vi(C), to restore the information about the user's home directory in /etc/passwd.

Before modifying any user account, you should first ensure that the user is not logged into the system.

Any changes made to a user account will be in effect the next time the user logs into the system.

From the Xinuos technical article database, record 104739. Reproduced with permission. The original is at www.sco.com/ta/104739, 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.