Running tomcat under tomcat service account in CentOS

261

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.

Share:
261

Related videos on Youtube

dan-boa
Author by

dan-boa

Updated on September 18, 2022

Comments

  • dan-boa
    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
      Martijn Pieters over 11 years
      I'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
      dan-boa over 11 years
      I was looking for an answer with supported libraries or examples of projects.
  • Tom
    Tom about 10 years
    My 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
    Chipster about 10 years
    That's normally due to a lack of a shell specified for the user account. Sometimes sysadmins do that for security purposes.
  • Tom
    Tom about 10 years
    I 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
    slm about 10 years
    @Tom - you can run commands as a user via sudo as well: sudo -u tomcat <cmd>.