User Tools

Site Tools


java:installationunderlinux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
java:installationunderlinux [2015/04/06 23:28] – [Create a tomcat user and a tomcat group] rlunarojava:installationunderlinux [2015/04/06 23:30] rlunaro
Line 30: Line 30:
  
 <code shell> <code shell>
-useradd --create-home --user-group --g tomcat tomcat+useradd --create-home --user-group --system -g tomcat tomcat
 </code> </code>
  
-The ''-r'' option is to specify that the user must be a system account. +The ''--system'' option is to specify that the user must be a system account. 
  
 The ''-g'' is to specify that the default group for this account must be ''tomcat'' instead ''users'', as used to be. And finnaly the ''-m'' option is for creating a home directory. I prefer to create a home directory for this type of users, just for store there certain downloads or configuration files.  The ''-g'' is to specify that the default group for this account must be ''tomcat'' instead ''users'', as used to be. And finnaly the ''-m'' option is for creating a home directory. I prefer to create a home directory for this type of users, just for store there certain downloads or configuration files. 
java/installationunderlinux.txt · Last modified: 2022/12/02 22:02 by 127.0.0.1