Running tomcat under tomcat service account in CentOS
If you are not logged in/elevated as root, and are a "regular" user, you will need to provide the password for another user account.
However, you may want to look into sudo
to achieve what you are trying accomplish. You will likely need to consult with your sysadmin to properly set you up in the sudoers
file in order to grant you the access you require.
Related videos on Youtube
dan-boa
Updated on September 18, 2022Comments
-
dan-boa over 1 year
I aspire to create a text chatting website with some extra features. As for the core text chatting part, is python an appropriate language for such a kind ? If so, is their any libraries which help in this process.
I would also require real time data being pushed back to the browser, implying i would be using the web-sockets also. Is tornado the appropriate choice of server ? I am a newbie in terms of network based application or website.
-
Martijn Pieters over 11 yearsI'm sorry, but I think your question is too vague and overly broad to be answered here on SO; see the FAQ. If you have more concrete problems (preferably involving some code), feel free to ask those!
-
dan-boa over 11 yearsI was looking for an answer with supported libraries or examples of projects.
-
-
Tom about 10 yearsMy user account is granted sudo rights but when I use sudo to run the startup script I get the message: "This account is currently not available."
-
Chipster about 10 yearsThat's normally due to a lack of a shell specified for the user account. Sometimes sysadmins do that for security purposes.
-
Tom about 10 yearsI wasn't actually trying to login to this account...just trying to run commands as this user which I should be able to do.
-
slm about 10 years@Tom - you can run commands as a user via sudo as well:
sudo -u tomcat <cmd>
.