Synopsis: All users in passwd are said by useradd to "already exist"; if
the user is deleted, groupadd says the user "does not exist".

This is an initial configuration of nsperm in AOLserver 3.4.2+ad2.6, under
Solaris 7, Oracle 8.1.6. With nslog, nscgi, both OK. No SSL at this point.
Same problem without nsora8.
Starting AOLserver as user nsadmin, not root:
./bin/nsd8x -ft config_test5.tcl

With the provided passwd:

""::::::
nsadmin:ubxxxxxxx:::::
nobody::::::

and group:

system:::nsadmin
users:::nsadmin,nobody
all:::nsadmin,nobody,""
public:::""

files I get:

Error:
user "" already exists
    while executing
"ns_perm adduser "" "" """
    ("eval" body line 1)
    invoked from within
"eval $cmd"
    (procedure "init_nsperm" line 89)
    invoked from within
"init_nsperm"
    (file "/opt/usr/local/aolserver3/modules/tcl/nsperm/init.tcl" line 255)

If I comment out user "" from passwd I get:

Error:
no such user ""
    while executing
"ns_perm addgroup all nsadmin nobody """
    ("eval" body line 1)
    invoked from within
"eval $cmd"
    (procedure "init_nsperm" line 117)
    invoked from within
"init_nsperm"
    (file "/opt/usr/local/aolserver3/modules/tcl/nsperm/init.tcl" line 255)

followed by:

Error:
user "nsadmin" already exists
    while executing
"ns_perm adduser nsadmin "ubxxxxxx" """
    ("eval" body line 1)
    invoked from within
"eval $cmd"
    (procedure "init_nsperm" line 89)
    invoked from within
"init_nsperm"
    (file "/opt/usr/local/aolserver3/modules/tcl/nsperm/init.tcl" line 255)

In other words, addgroup cannot find user "" and adduser says the next user
in passwd already exists.

There was a question in January 2001 that concerned an error like the "no
such user" that turned out to be a permission problem with passwd, but,
setting all permissions to 666 just in case, my problem persists.

Can anyone shed light on what is going on here and how to get around it?

Many thanks,

Eric Lee

Reply via email to