s_yadhi
29th July 2005, 06:07
Dear Netter
I use BaaN IV b2 and sun solaris, I want to know how can I know user log, (BaaN user log and unix user log), When the user LOGIN and LOGOUT.
thanks you for your attention
s_yadhi
29th July 2005, 07:01
Hallo everybody,
I use sun solaris 5.6 and I want to know something,
How can I know user log, when the user login or logout, ??
thanks you very much
Viplov
29th July 2005, 08:33
hi yadhi
In case of Baan
If the history field in the Maintain User data (ttaad2100m000) session is set to yes, the actions performed by the users are logged in the ${BSE}/lib/TIME.HIS file. The history data is printed in the Print User History (ttaad2202m000) session. The log file is purged in the Delete User History (ttaad2202m000) session. This session must be used frequently if the logging mechanism is activated for many users.
In case of UNIX
To enable inetd logging which is used for logging incoming network services, locate the startup file from which inetd is launched and add the -t option.
For example, under Solaris 2.4, inetd is launched in the file /etc/rc2.d/S72inetsvc
Run inetd in "standalone" mode (-s flag) so that it doesn't have to submit to the will of SAF.
To enable logging of incoming TCP connections, the last line should be changed to read:
/usr/sbin/inetd -t -s
Logs will appear in /var/adm/messages. For example:
Jan 3 10:58:57 vineyard.net inetd[4411]: telnet[4413] from 18.85.0.2
Jan 3 11:00:38 vineyard.net inetd[4411]: finger[4444] from 18.85.0.2 4599
Jan 3 11:00:42 vineyard.net inetd[4411]: systat[4446] from 18.85.0.2 4600
Viplov
29th July 2005, 08:50
Go for below thread :
http://www.baanboard.com/baanboard/showthread.php?t=24712
s_yadhi
29th July 2005, 10:10
Hi Viplop,
Thank for your opinion, For login in BaaN, history must be ticked in session ttaad2100m000 in miscellaneous form.
best regards
yadhi
Viplov
29th July 2005, 10:29
hi yadhi
But you must keep one thing in your mind that the history should be purged in regular interval of time because it tends to grow very fast the log file can take up much space on the system
Viplov
s_yadhi
29th July 2005, 11:21
Hi Viplov,
Never mind, I will purge in regular interval of time because, just a user that will make login history.
Yadhi
Viplov
29th July 2005, 14:08
hi yadhi
Have you seen userlog in solaris..?
Viplov