Skip to content

Lalit Mohan Jaimini

Time is my friend

Category: Linux

Create username password for apache tomcat user

sudo vi /opt/tomcat/conf/tomcat-users.xml

<role rolename="manager-gui"/>
     <user password="" roles="manager-script,admin" username=""/>
     <user password="" roles="manager-gui,manager-script,admin" username=""/>

then restart tomcat service
sudo systemctl restart tomcat.service

Author Lalit Mohan JaiminiPosted on July 30, 2020July 30, 2020Categories Apache Tomcat, Linux, ServerLeave a comment on Create username password for apache tomcat user

Switch to another user in linux

su username

Author Lalit Mohan JaiminiPosted on July 30, 2020July 30, 2020Categories Linux, ServerLeave a comment on Switch to another user in linux

Switch to root user in Linux

sudo -i

Author Lalit Mohan JaiminiPosted on July 30, 2020Categories Linux, ServerLeave a comment on Switch to root user in Linux

Show current user login in linux

whoami

Author Lalit Mohan JaiminiPosted on July 30, 2020July 30, 2020Categories Linux, ServerLeave a comment on Show current user login in linux

Recent Posts

  • Remove the git branch from the local and server side
  • Allow ufw firewall in ubuntu
  • install ffmpeg in ubuntu
  • Disable apache server status in ubuntu
  • Use of Hindi (unicode) character from request parameter in java

Categories

  • .htaccess
  • Apache Server
  • Apache Tomcat
  • AWS SERVER
  • General
  • GIT
  • J2EE
  • JAVA
  • Jquery
  • Linux
  • Linux
  • mysql
  • Node JS
  • Programing Languages
  • Python
  • Security
  • Server
  • Youtube
Lalit Mohan Jaimini Privacy Policy Proudly powered by WordPress