I start aolserver with:

#!/bin/sh
sleep 3
exec /web/scripts/bin/nsd -it /web/control/scripts/nsd.tcl -u nsadmin -g
web

As the nsadmin user:
nsadmin$ groups
nsadmin web

The tcl script:

set groups [exec groups]

returns just 'nsadmin'

Scripts which require the group to be web do not work.
My /etc/passwd file has the primary group for nsadmin as nsadmin

To get things working, I had to change the primary group to web.

Is this expected? I was thinking the command line would set the group.

--Tom Jackson

Reply via email to