Strange messages
Does anyone know why I keep getting messages output to the console such as "login(pam_unix)[2252]: session opened for user root by (uid=0)"?
I'm assuming they're kernel messages and I have a module enabled in the kernel to make them appear but I can't figure out how to stop them :) |
The secret is in your /etc/syslog.conf file.. ;)
|
Quote:
kern.* is commented out so no messages should appear on the console. This is my syslog.conf: Code:
# /etc/syslog.conf |
Do you see any other messages besides the one you provided? If not, perhaps you need to check your pam configurations as that would probably be the source in itself of logging it's own messages to the console.
|
Yeah. Another common one is to do with my wireless NIC and that's "eth0: New link status: AP In Range(0005)".
Thinking about it, the login one and that one are the only ones I get I think. I also get one when I log out too. |
Uncomment it and change /dev/console to a file or another tty to test; of course after your changes restart syslogd.
|
I've just done "/etc/rc.d/rc.syslog stop" to stop the logger but I'm still getting the messages on the console which leads me to think it could be something else.
|
Quote:
|
Quote:
|
Quote:
|
It's a clean Slackware 10.1 install. I haven't installed anything on top of it yet. That's why I'm assuming it's a kernel module.
|
I've never had this issue and by default Slackware doesn't log kernel messages to the console. This is a base install with nothing whatsoever added after the initial install?
|
Well I've installed the NVidia drivers, TightVNC server and Dropline Gnome on top but I did exactly the same on another machine and there are no messages being output to the console on that one.
I may just have to format and reinstall Slackware. |
Quote:
|
I agree. They do install a lot of stuff that isn't part of gnome which is annoying. I think I just use it as a force of habit. I started using it ages ago and have just gone with the flow. I might do a reinstall of Slackware and just install gnome from source or perhaps look for some Slackware 10.1 gnome binaries for the latest release of gnome.
In the meantime I'll look for the pam configuration file and see if I can make sense of it :) |
Quote:
|
Re: Strange messages
Quote:
|
All times are GMT -5. The time now is 05:51 PM. |