Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Ok so Debian is screwed up and likes to be unormal.. Redhat systems and it's derivatives use /var/log/messages as do Slackware, and that is really all that matters..
are you suggesting i'm one of those smug greasy debian types? good grief. all redhat boxes i touch contain verbose ssh logging in the secure file, more useful than the noise in messages.
Logging ssh to /var/log/messages does seem a bit silly, as just about everything else logs there... I would've thought something as significant as SSH would go somewhere more noticable (who actually looks in messages unless something is broken?)
I was just trying to point out that by default on Redhat and on most systems, it logs to messages instead of secure, especially since he mentioned he was using Fedora. /var/log/secure is for security type errors with sudo, etc. I wouldn't think a simple login from a user counts as a security measure, since it can happen on some systems so very often. I'd rather be concerned with sudo abuse and other security concerns in a separate log of their own, not in the "noisy" messages log..
But damn, log wherever you want.. no need to get all defensive about it..
Wasn't trying to get defensive at all. I've just seen too many systems with TONS of messages in messages, to the point where nobody could find anything at all. I understand that each distro has its own way of handling things, and logging successful logins to secure wouldn't make much sense either, I agree.
Wasn't trying to get defensive at all. I've just seen too many systems with TONS of messages in messages, to the point where nobody could find anything at all. I understand that each distro has its own way of handling things, and logging successful logins to secure wouldn't make much sense either, I agree.
you sound all appologetic. just call him a hick and he'll leave you alone
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.