On Mon, Oct 20, 2003 at 02:28:23PM -0500, Tom Brown wrote:
> ****** Here is the first run, without Andrew Piskorski's fix.

> ****** Here is the 2nd run, with Andrew Piskorski's fix. Changed nsadmin's
> default group to "web."

What are the differences in behavior between the two exactly?

> ****** The server log shows that uid=1003 (nsadmin) is still set to group
> 103 (nsadmin) rather than group 102 (web) after applying Andrew's fix to
> /etc/password

Well, clearly that's just wrong, your default group change didn't take
effect yet somehow.  Were you logged in as nsadmin the whole time or
something?  If so, log out and try again.

How are you starting AOLserver exacty?  Manually with sudo?  From
/etc/inittab?  You wouldn't think it would matter, but here are some
very old notes to myself which say that it CAN matter - I'd forgotten
this, but my notes say there's different behavior with the -g switch
interractively and from inittab.  Ah, I wrote these notes
c. 2001/08/26, when switching from AOLserver 3.2+ad12 (which had
DIFFERENT behavior) to 3.3+ad13, all on Solaris:

  AOLserver and UNIX file permissions:

  As you can see from the inittab entry above, we're telling
  AOLserver to run as user "nsadmin" and group "web". AOLserver
  v. 3.3 supposedly fixed some user/group permissioning bug, but it
  still seems a little quirky.

  Originally, in /etc/passwd we had the nsadmin user's default group
  set to nsadmin, and then in /etc/group, we also made nsadmin a
  member of the web group. However, WHEN RUN FROM INITTAB, AOLserver
  seems to pay no attention whatsoever to the /etc/group file or the
  "-g web" command line option. In order to get v. 3.3+ad13 to read
  all the necessary files (many of which were not set to be world
  readable), I changed nsadmin's DEFAULT group in /etc/passwd to web
  - that worked. (Note that when AOLserver is manually started with
  sudo rather than inittab, this problem does not occur - everything
  worked fine with our old group permissions scheme. Why, I don't
  know.)

--
Andrew Piskorski <[EMAIL PROTECTED]>
http://www.piskorski.com


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to