LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2017, 03:59 AM   #1
william11
LQ Newbie
 
Registered: Aug 2011
Posts: 9

Rep: Reputation: Disabled
systemd: Started Session ### of user root" in /var/log/messages


Hi,

Similar to this thread i've got the same problem.

Do i have add a rule with the solution mentioned in this link somewhere in rsyslog.conf?

Kind regards

Last edited by william11; 08-15-2017 at 04:00 AM.
 
Old 08-15-2017, 04:08 PM   #2
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 365

Rep: Reputation: 82
The message is there for a reason... it's not an error message leave it be.

If you weren't logged in at that time... check your cron tab (in which case you were effectively logged int).

If you can't cope with the flood of messages, learn to use journalctl to filter it.

journalctl -p err

display just the error messages.
 
Old 08-16-2017, 03:01 AM   #3
william11
LQ Newbie
 
Registered: Aug 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Started Session ### of user root" in /var/log/messages

Hi,

well, Actually, it is not caused by root, but another user. that user also is not cause, but i know why this messages appear and it still exist. That's why this messages has to bo removed. the messages are useless. So, please can you help me with this issue.

Kind regards
 
Old 08-16-2017, 09:00 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
If I get a problem like that from time to time I simply edit syslog.conf to log only warnings and below, i.e. not info or notice.
 
1 members found this post helpful.
Old 08-17-2017, 07:02 AM   #5
william11
LQ Newbie
 
Registered: Aug 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
systemd: Started Session ### of user root" in /var/log/messages

Quote:
Originally Posted by AwesomeMachine View Post
If I get a problem like that from time to time I simply edit syslog.conf to log only warnings and below, i.e. not info or notice.
So i have to put the literally as mentioned in the solution of the link in syslog.conf?

With regards
 
  


Reply

Tags
rsyslogd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "systemd: Started Session ### of user root" in /var/log/messages thealmightyos Linux - Security 4 03-22-2017 04:29 PM
[SOLVED] chmod +w /var/log/messages fails for root user? Why? PaxToYou Linux - Security 4 11-30-2016 10:06 PM
systemd log flood, session opened for user root w_hairst Fedora 18 06-29-2015 01:43 AM
/var/log/messages full of "CDROM not ready." messages OtagoHarbour CentOS 13 09-08-2014 12:18 PM
User session opened and closed msg in /var/log/messages andiramesh Linux - Newbie 9 09-05-2008 05:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration