FAIL2BAN blocks access to “.ocdata” file! Apache Error Log: ..AH01630: client denied by server configuration: … cloud/data/.ocdata create with a Custom Rule for FAIL2BAN do: $sudo nano /etc/fail2ban/filter.d/apache-auth.local insert: [apache-auth] ignoreregex = nextcloud/data/.ocdata do: $sudo service fail2ban restart Check Log: tail -f n50 /var/log/apache2/error.log Remark: Sometimes the Login take long time after Enter the Password this indicates a filled up “oc_bruteforce_attempts” Table!! login into mysql: $mysql -u user -p select database: USE Nextcloud; show all values from the oc_bruteforce_attempts table, use: SELECT * FROM oc_bruteforce_attempts; remove “ALL” IP’s from the table, do step by step: DELETE FROM oc_bruteforce_attempts WHERE IP="xxx.xxx.xxx.xxx"; […]
Tag: login
Ubuntu 10.04 Lucid Lynx: JWM Window Manager hangs on Login
Bug: If you want to use JWM as fast Window Manager instead of Gnome you got a little Bug, after Login at GDM Login Manager the JWM Desktop seems to hang. Background: missing deps of menu and menu-xdg Solution: #sudo aptitude install menu menu-xdg #sudo update-menus #sudo service gdm restart if you miss some installed Programs then edit: #sudo nano /etc/menu-methods/jwm (and add lines, easy look for other program lines and copy them) after close and save the jwm file-menu-template run #sudo update-menus and relogin.. enjoy the fast slim Desktop..
Your account has expired; please contact your system administrator chfn: PAM authentication failed
Problem: If you add a new user this Messages is shown, cause root is locked Your account has expired; please contact your system administrator chfn: PAM authentication failed adduser: `/usr/bin/chfn james’ returned error pre 1. Exiting Solution: sudo passwd –unlock root sudo usermod –lock root
Smeserver: Anonymous Horde Login
Problem: Die Login Seitentitel zeigen den Standardtext als Titel dadurch kann man mit der Google – Suchoption = “intitle” alle Loginseiten im Internet finden und einen Passwort Hackversuch starten. Loesung: Titel in eine Fantasie Bezeichung umbenennen die im Internet nicht vorkommt dazu fuer /server-manager/ editieren von /etc/e-smith/web/common/cgi-bin/login Name aendern und speichern fuer Horde anonym editieren von /etc/e-smith/templates/home/httpd/html/horde/config/registry.php/110AppRegistryHorde und Name aendern und speichern. Zum Systemweiten uebernehmen der Aenderungen signal-event post-upgrade signal-event reboot ausfuehren als root-Administrator, und schon ist Ihre Seite etwas sicherer Problem: Login Pages have all the same standard page title, easy find on google for hackers… […]