what user to use when installing Alfresco 3.3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2010 02:59 AM
Hi,
I'm confused, what's the best practice when choosing a user to install Alfresco, is it root or an ordinary user?
Many thanks!
I'm confused, what's the best practice when choosing a user to install Alfresco, is it root or an ordinary user?
Many thanks!
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2010 08:48 AM
I haven't seen any docs from alfresco stating a best practice for running alfresco, but I don't like to run applications as root unless I absolutely have to.
What we did is create an alfresco user and group and run the alfresco server using the alfresco user. The only thing you have to watch out for is since this is not the root user, you won't be able to use the default ports for cifs, ftp etc… since they are below 1000. To get around this, we Nat the ports in an init.d script (eg. ftp 21 gets Nat to 2021 using iptables command) , then sudo to the alfresco user within the init.d script to start the server.
What we did is create an alfresco user and group and run the alfresco server using the alfresco user. The only thing you have to watch out for is since this is not the root user, you won't be able to use the default ports for cifs, ftp etc… since they are below 1000. To get around this, we Nat the ports in an init.d script (eg. ftp 21 gets Nat to 2021 using iptables command) , then sudo to the alfresco user within the init.d script to start the server.
