Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Miscellaneous
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Miscellaneous Questions about SUSE Linux that don't fit anywhere else

 
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-Nov-2004, 01:29
smartpig
Guest
 
Posts: n/a
Default

i am a new user of Suse Enterprise 9 .Before use Suse ,i also use Redhat linux ,so when i am using Suse SLE 9 ,then i just find var/log/messages !and i can't fins about the "secure" log file !so i can't easily to message about system log !!
  #2 (permalink)  
Old 03-Nov-2004, 01:47
nix
Guest
 
Posts: n/a
Default

okay so i cant really understand what the question is you are asking.

are you trying to find the secure log file???
  #3 (permalink)  
Old 03-Nov-2004, 01:56
smartpig
Guest
 
Posts: n/a
Default

Sorry ,my english is not good . my question is that in var/log folder ,i can't find the secure log file . because i am used to use Redhat linux ,so i also read secure log file .
  #4 (permalink)  
Old 03-Nov-2004, 20:27
smartpig
Guest
 
Posts: n/a
Default

Anyone can help me ?
  #5 (permalink)  
Old 04-Nov-2004, 01:10
noestr
Guest
 
Posts: n/a
Default

Hi,

Do you mean the SYSLOG utility ? I don't know if it comes with SuSe, but any old version out there on the internet should work......

Robert
  #6 (permalink)  
Old 04-Nov-2004, 02:07
smartpig
Guest
 
Posts: n/a
Default

My meaning is that i want to check who enter to the server ,so i need to check the log file .In the redhat linux ,i can go to check var/log/secure file .Then i can learn that who was entering to my Server ,But now i am using SUSE SLE 9 ,i don't know what log file can i learn it ?
  #7 (permalink)  
Old 04-Nov-2004, 08:25
anthro398
Guest
 
Posts: n/a
Default

This must all be done as root.
Add the following line to /etc/syslog.conf
Code:
auth.* * * * * * * * * *-/var/log/secure
then restart syslog with the following command
Code:
 /etc/init.d/syslog restart
Attempt to login to your ssh deamon. Now observe that /var/log/secure is existent and populated.
  #8 (permalink)  
Old 04-Nov-2004, 10:09
mgardner
Guest
 
Posts: n/a
Default

So the /var/log/secure file logs only remote logins? To any service? I am just curious, as I may also wish to enable this.
  #9 (permalink)  
Old 04-Nov-2004, 11:33
anthro398
Guest
 
Posts: n/a
Default

Quote:
So the /var/log/secure file logs only remote logins? To any service? I am just curious, as I may also wish to enable this.
Please clarify this question.

If your asking if syslog can log access to other services, such as samba or ftp, the answer is yes. I'm not sure what you mean by " only remote logins". If you mean to say that you'd like to log local logons that is also possible.
  #10 (permalink)  
Old 04-Nov-2004, 13:13
mgardner
Guest
 
Posts: n/a
Default

Anthro, if I add those lines as you suggested to the original poster, what exactly is logged in /var/log/secure ? Only ssh, or ftp and other services as well?

Access to these services seems to be logged in "/var/log/messages" and/or "/var/log/warn", but those contain lots of messages not related to logins as well (extra stuff I have to scroll through).
 
Page 1 of 2 1 2

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2