Advanced Search
Search Results
707 total results found
Change login session duration
To increase the number of minutes a session lasts do the following. Warning!This change affects all instances on a server! First, update the tomcat configuraion sudo nano /usr/share/tomcat/conf/web.xml Second, find the following config and adjust acordingl...
Disable ssh password login
Add a sshd config file with the following content sudo nano /etc/ssh/sshd_config.d/99-ts.conf ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no Reload the SSH daemon sudo systemctl reload sshd WARNING!Now you are no longer able to c...
Hardcoding policies
How to hardcode/overwrite/overloadĀ policies, making it impossible to change them at runtime. Modify the context file (the xml-file in tomcats conf folder), eg. nano /usr/share/tomcat/conf/Catalina/localhost/app.xml Within th Context element in the xml-file ...