Skip to content
CompuKitty Logo

Notes and Stuff

  • Work Notes
  • Retro
  • Projects
  • About

Tag: syslog

Monitor failed login attempts

7 January 20196 February 2025

By default, Solaris 11 does not logs any failed login attempt, from any source.

If you want to capture these messages, first of all you need to edit /etc/default/login uncommenting:

#SYSLOG_FAILED_LOGINS=5

and set, if you want, an acceptable threshold (default is 5).

Logging failed attempts from terminal

To log only failed logins from terminal windows:

# touch /var/adm/loginlog
# chmod 600 /var/adm/loginlog
# chgrp sys /var/adm/loginlog

For the changes to be effective, you need to restart the syslog service:

# svcadm restart system/system-log

Logging failed attempts from any source

To log every failed login:

# touch /var/adm/authlog
# chmod 600 /var/adm/authlog
# chgrp sys /var/adm/authlog

Edit /etc/syslog.conf:

auth.notice    /var/adm/authlog

and refresh the service:

# svcadm refresh system/system-log

Recently

  • Cannot read photos taken with Mavica, apparently corrupted
  • VMTools on Windows 2000
  • Pretty Git
  • REXX: credit card number generator and validator
  • DisplayCAL on Fedora 34
  • Creating ISO from CD
  • Manually booting a Linux Kernel
  • macOS: enabling TouchID for sudo

Topics

apache array awk bash centos certificate cifs command line fedora fingerprint git grub iptables kernel keys linux mount nagios network openssh openssl password ppk pretty process proxy ps putty rhel rules rundeck samba san script scripting service share shell smb solaris solaris 11 ssh sudo systemd vmware
© 2025 CompuKittyTheme by Puro