Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how loging connection on Solaris 7 ?

Status
Not open for further replies.

haux

Programmer
Joined
Apr 11, 2001
Messages
79
Location
DZ
I have worked with Linux for many mounths, it logs every connection with the syslog deamond (FTP, TELNET, ...) in the file /var/log/secure

But this file does not existe in the Solaris 7 (=SunOS 5.7)!!!
Is there another log file, where is it ?

Thank you for your help ;)
 
All connections are logged in the /var/adm/wtmpx file. You can't read this directly, but the last command will list the log of all connections.

Greg.
 
The file you are looking for is /var/adm/wtmpx, however you cannot read directly.

Use the "last" command to display the information in a formatted way.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top