Problems with recreating administrator

jaredroussel

New member
Joined
Nov 14, 2005
Messages
3
I once created a DA administrator by the name of 'testuser'. I deleted this account in order to later recreate it, and now when I try to create 'testuser' again it tells me:

Cannot Create Account
That username already exists on the system

I previously read the post where someone said to remove the applicable entries from /etc/passwd, /etc/group, and /etc/shadow. This was intuitive to me to do so, so I had already done this as soon as I encountered the error and have verified that all user entries are removed for this account. Still, the same error persists.

Any ideas?

Does DA in fact read directly from /etc/passwd for its users or does it have another means of storing the usernames it creates?
 
DA reads and uses /etc/passwd, /etc/shadow, and /etc/group.

But it also has it's own files.

I'm not sure what it tests.

You might want to write to DA support and ask them.

Jeff
 
Here was the response that fixed it:

Hello,

DA reads indirectly from the /etc/passwd file. It does so via the getpwnam command which is the system level function (kernel) that reads the /etc/passwd file. It's possible that the system command is a bit out of sync with the actual file.

If you edit the /etc/passwd file with the "vipw" command, once you save the file, it should trigger a re-sync with the system.

So basically, type:

vipw
press 'i' to go into insert mode.
Press space to add a space.
Press ctrl-c to exit insert mode.
Press delete to delete the space.
Press shift-Z twice to save and exit.

Thank you,

John
 
Back
Top