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 revision Previous revision
java:installationunderlinux [2015/04/06 23:28]
rlunaro [Create a tomcat user and a tomcat group]
java:installationunderlinux [2015/04/06 23:30] (current)
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: 2015/04/06 23:30 by rlunaro