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
Next revision
Previous revision
Last revisionBoth sides next revision
java:installationunderlinux [2014/12/24 10:42] – external edit 127.0.0.1java:installationunderlinux [2015/04/06 23:30] rlunaro
Line 30: Line 30:
  
 <code shell> <code shell>
-groupadd -r tomcat +useradd --create-home --user-group --system -g tomcat tomcat
-useradd ---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