On Fri, Nov 02, 2001 at 02:36:17PM -0500, Clark C . Evans wrote:
>   How do I get it to run the webware process under the
>   user "webware"?

Which operating system?  On a Unix-like OS, you:

1) Create the user ("useradd webware" or edit /etc/passwd.  Since the
   user shouldn't log in, give them /bin/false for a login shell and no
   home directory.  Change the password in /etc/passwd or /etc/shadow to
   'x' or precede it with '!' to prevent them from logging in.  The user
   can be in group 'nogroup', or you can create a 'webware' group.)

2) Set the permissions of your Webware/ files according to which files
   the AppServer must read and/or write while running.  The stricter the
   better (e.g., it must write log files, but it should not write to config
   files or AppServer.py).  Add write permission to any directory it
   must create files in.

3) In your startup script, change LAUNCH_COMMAND to
   su -c "LAUNCH_COMMAND" webware
   This (if running as root) will make LAUNCH_COMMAND run as user
   'webware'.

-- 
-Mike (Iron) Orr, [EMAIL PROTECTED]  (if mail problems: [EMAIL PROTECTED])
   http://iron.cx/     English * Esperanto * Russkiy * Deutsch * Espan~ol

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to