From: shane <sh...@lo...> - 2001-03-17 15:51:30
|
At 09:48 PM 3/16/2001 -0800, you wrote: >1. we have an account for our site, foo. should we make slashd run as 'foo' >then? or as nobody, the uid of the webserver. >if we should run it as foo, should the files all be owned by foo or nobody? I think you're asking about personal preference, with the majority of what you're asking being answered by "who is maintaining your site for you"? Will it be shared via SMB to maintain it? Or will you be su'ing/logging in as that account to do maintenance via a shell, or will no one ever be loggin in via a shell for the account? Personally, when I install a site, I use command lines like the following: /usr/local/slash/bin/install-slashsite -u mydotcom -H www.mydotcom.com -o shane -g nobody -R -a webmaster -e web...@my... -p password -L y >2. in the vars table, the name field siteowner has a default value of >nobody. the description is "What user this runs as". what user what runs as? >slashd? should this be set as nobody or foo? ps auxw - that'll show you who it's running as. what user do you have apache running under? httpd? nobody? apache? www? I'd either keep it that same user, or in your case, 'foo'. >3. in the same vars table, there is the entry siteadmin admin The >admin for the site. what relevance does this var have? 'the admin for the >site' is, I think this is primarily used as he return-to email address when email is sent as coming from the 'site' itself. > like most other slash documentation, ambiguous. You get the code for free. Live with it. > it should explain >what the thing is used for and if there is a static set of acceptable >values, those and what each of them means. Maybe, but you're using unfinished, Beta code. See above. So unless you're filing a bug report, writing code/docs for them, submitting a diff, or submitting a suggestion, you're really not helping them finish the thing. And as with most IT projects, most of the documentation gets done at the end, if you're even allowed to do it properly. Ymmv, but this is just my $.02. Shane |