Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If not 'journalctl -u sshd.service' or 'journalctl /usr/sbin/sshd' what's the exact command line you have used to search for those? And did you make certain you haven't done any journal / syslog config, ops or maintenance that filtered out certain messages, pruned logs or put them in non-standard places? And in addition to what HMW wrote: you run the audit service on openSUSE then you could try something crude like 'ausearch -sv no -ts this-month -x "/usr/sbin/sshd";'?
I was using `journalctl -u sshd.service --since $jrnlStart`
where $jrnlStart was set to UnixDate("3 days ago","Y-%m-%d")
I used to use /var/log/auth.log, but it went away when journalctl came on the scene.
By filtering `ausearch -ts $jrnlStart -x "/usr/sbin/sshd"` I can get a log of who logged on and who tried to log on by IP address and user ID.
I have a little perl program that runs every night to check the state of the hardware and do various backups. This was an additional security check. The results are emailed to me so I can find out if I need to do something the next morning.
Another thing I was getting from auth.log was a list of su to root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.