Results 1 to 5 of 5

Thread: Which way should I create users?

  1. #1

    Question Which way should I create users?

    Sorry if this is in the wrong forum, but it has to do with an application.

    I'm setting up my new Suse box as a web server to use with Adobe Contribute. I've set my /srv/www/htdocs folder to the following:

    Owner: wwwrun rwx
    Group: www rw
    Everyone: r

    I'm now trying to set up some users for Contribute and I'm using a dav.db file to add user names and their passwords, and telling apache2 to use that db as the authdatabase.

    If you're not familiar with Contribute, it keeps track of user permissions, but needs to authenticate them against the server (and wherever apache tells it to look for their name/password). I am able to get onto the server with Contribute, but as soon as I try to publish a page, it tells me I do not have permissions. This is because, I guess, the users do not really exist on the server.

    So my question is, should I make real users on the server and add them to my www group, or is there a way to make it work the way I have right now? I'm not against adding users to the machine, I just want to get the method correct.

    Thanks!

  2. #2
    ab@novell.com NNTP User

    Default Re: Which way should I create users?

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    A couple things come to mind. Based on your description of Contribute
    it sounds like it maintains its own record of who can do what with which
    files, despite what may actually be happening in the filesystem. Is
    this the case? Does contribute just create files in the filesystem
    owned by whomever as long as 'wwwrun' has rights to see them and their
    contents? If so users on the actual server shouldn't be necessary, but
    this assumes that Contribute takes care of everything above the
    filesystem. If that is not the case and Contribute just provides some
    kind of interface to the server then you will probably need the users on
    the filesystem, but in that case I don't see what value Contribute adds
    to the server in general.

    Good luck.





    Johnska7 wrote:
    > Sorry if this is in the wrong forum, but it has to do with an
    > application.
    >
    > I'm setting up my new Suse box as a web server to use with Adobe
    > Contribute. I've set my /srv/www/htdocs folder to the following:
    >
    > Owner: wwwrun rwx
    > Group: www rw
    > Everyone: r
    >
    > I'm now trying to set up some users for Contribute and I'm using a
    > dav.db file to add user names and their passwords, and telling apache2
    > to use that db as the authdatabase.
    >
    > If you're not familiar with Contribute, it keeps track of user
    > permissions, but needs to authenticate them against the server (and
    > wherever apache tells it to look for their name/password). I am able to
    > get onto the server with Contribute, but as soon as I try to publish a
    > page, it tells me I do not have permissions. This is because, I guess,
    > the users do not really exist on the server.
    >
    > So my question is, should I make real users on the server and add them
    > to my www group, or is there a way to make it work the way I have right
    > now? I'm not against adding users to the machine, I just want to get the
    > method correct.
    >
    > Thanks!
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFI/Ltm3s42bA80+9kRAsdzAJ0QsDyUu7Ot3JlvBL89uLj164tACACfRZHt
    O7PCx4httKPiwlR0RyyYkvY=
    =5oEa
    -----END PGP SIGNATURE-----

  3. #3

    Default Re: Which way should I create users?

    Contribute is a web publishing system, so it's user rights stuff is really just for what they can do via the Contribute program (set fonts, read templates, etc), and doesn't really do anything with the server other than read that the user is authorized.

  4. #4
    ab@novell.com NNTP User

    Default Re: Which way should I create users?

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Where does it run? If on the server itself where it would be able to
    interact with the actual files does it have rights to these files,
    meaning does it run as either 'wwwrun' or is the user it uses a member
    of the 'www' group? We need to find out where the error is originating
    and from which part of which action.

    Good luck.





    Johnska7 wrote:
    > Contribute is a web publishing system, so it's user rights stuff is
    > really just for what they can do via the Contribute program (set fonts,
    > read templates, etc), and doesn't really do anything with the server
    > other than read that the user is authorized.
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFI/MI23s42bA80+9kRAmInAJ4gwhkIrfWRJV/0THy5o+smXb/w7gCaAiPU
    OrsksxpKjHZJ/vR75aRXXEo=
    =keby
    -----END PGP SIGNATURE-----

  5. #5

    Default Re: Which way should I create users?

    It runs on the local users's computer, and makes connections via the webdav protocol, which, according to the apache page on mod_dav, will inherit the permissions apache runs under.

    As an aside, if I wanted to test apache authenticating against the server's users instead of a separate user database, where would I point the AuthDatabase to?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •