Retirement Notice
|
|
User login
|
|
Frontpage Sponsor
|
|
Poll
|
What do you expect from your SI Implementation partner for the success of ERP implementation. Bring best practices - Not to offer more CR's Leveraging standard functions 20% Need more honesty to work with the Users until their processes are fully mapped & Users are trained 40% Focus on process automation/ integrations/ Real time data/ BI analytics 13% Stick to basics 27% Total votes: 15 |
|
|
 |

9th December 2015, 16:38
|
Guru
|
|
Join Date: Jan 2002
Location: Ehingen, Germany
Posts: 649
|
|
Baan: Baan IVc4, Infor LN 10.6 -
DB: Informix, MS-SQL -
OS: HP-UX, Windows
|
Log baan access
Baan: Baan IVc4 DB: Informix DS 11.5 OS: HP-UX 11.31 C/S: Server
Hi,
does anybody know a way to write log entry (e.g. to a file), when a user logged in into Baan?
We (IT department) are regulary tested and have to proove that the user account has been disabled/deleted if the user leaves the company etc.
Regards
Günther
|

9th December 2015, 19:33
|
 |
Member
|
|
Join Date: Oct 2005
Location: Lisbon, Portugal
Posts: 61
|
|
Baan: Baan IV c4, Baan V, LN, SLM -
DB: MSSQL2005/2008/2012/2016/2019 -
OS: W2003, 2012, 2019
|
Hi,
In ttaad2100m000 there is a History option (ttaad200.hist).
Checking this option for a user will log at {$BSE}\lib\TIME.HIS the sessions executed by the user, and the main menu object ottdskmbrowse (executed at login).
Hope it helps.
|

10th December 2015, 15:51
|
 |
Guru
|
|
Join Date: Aug 2001
Location: Pacific NW, USA
Posts: 3,149
|
|
Baan: Baan 4-5,5.2(Reger),LN-6.1,Infor LN-10.x -
DB: Oracle,MS-SQL -
OS: HPUX, Linux, Windows
|
Quote:
does anybody know a way to write log entry (e.g. to a file), when a user logged in into Baan?
|
If you are HPUX, you can use the last command -
Quote:
LAST,LASTB(1) Linux System Administrator’s Manual LAST,LASTB(1)
NAME
last, lastb - show listing of last logged in users
SYNOPSIS
last [-R] [-num] [ -n num ] [-adFiowx] [ -f file ] [ -t YYYYMMDDHHMMSS ] [name...] [tty...]
lastb [-R] [-num] [ -n num ] [ -f file ] [-adFiowx] [name...] [tty...]
DESCRIPTION
Last searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays a list of all users logged in
(and out) since that file was created. Names of users and tty’s can be given, in which case last will show only those entries matching
the arguments. Names of ttys can be abbreviated, thus last 0 is the same as last tty0.
|
Quote:
We (IT department) are regulary tested and have to proove that the user account has been disabled/deleted if the user leaves the company etc.
|
You can query the /etc/passwd and the /etc/shadow files for the info.
Quote:
In ttaad2100m000 there is a History option (ttaad200.hist).
|
This option also work IF you enabled the History in the User Data Template and also that you have not purged the TIME.HIS file
|

14th December 2015, 09:05
|
Guru
|
|
Join Date: Jan 2002
Location: Ehingen, Germany
Posts: 649
|
|
Baan: Baan IVc4, Infor LN 10.6 -
DB: Informix, MS-SQL -
OS: HP-UX, Windows
|
Thanks a lot for the replies.
@RedBatz: I'm a bit scared about the heavy logging that will cause. We have nearly 700 users, and each session start will create a log entry to that file.
@NPRao: We're on unix, but I cannot use last, because our users are using the GUI and therefor there is no unix login.
At the moment, we have a glue script that is called before bshell gets started and that works fine for 99,9% but the 0,1% give 100% of work, discussion and so on. The Problem is, that we do not log "when a user logged in" but "when a user >>tried<< to log in".
Any other ideas?
Regards
Günther
|

14th December 2015, 21:15
|
 |
Guru
|
|
Join Date: Jan 2002
Location: Lewisville, Texas
Posts: 395
|
|
Baan: BAAN IVc3 with A&D2.2b -
DB: ORACLE 9 -
OS: HPUX
|
'last' will work, because even with GUI, there is still 'under the hood' unix connection required. You can check by running the last command for a user whom you know is no longer using BAAN (hopefully you have yet to take action to remove his access.)
Although, it will take some shell programming to get only the one record that is interesting. 'last' command gives all instances of when the user last logged in, assuming that the 'last' 'database' has not been cleaned up.
|

15th December 2015, 07:40
|
Guru
|
|
Join Date: Jan 2002
Location: Ehingen, Germany
Posts: 649
|
|
Baan: Baan IVc4, Infor LN 10.6 -
DB: Informix, MS-SQL -
OS: HP-UX, Windows
|
Funny. We're also on HPUX, but I cannot get that working. A user which is now running Baan is not displayed by 'last <unix-login>'; our /var/adm/wtmps is beeing regularly archived which can be seen by the line "WTMPS_FILE begins at Tue Dec 15 04:00:02" - but now it's 6:39 and the user has logged in 6:37.
Regards
Günther
|

7th December 2022, 11:14
|
 |
Guru
|
|
Join Date: Mar 2002
Location: NetherBelgium
Posts: 1,376
|
|
Baan: Infor LN 6.1 10.2.1 > 10.7 -
DB: MS SQL2017 -
OS: VM WindowsServer2016
|
Ah there you have a point, but when logging just before bshell starts and after bshell ends you will know the time spent so also failed logins are logged, but with a very short time span.
__________________
Also read Luke 24:4-8
After that you can find many answers on Infor, LN, BaanIV, BaanV, InforLN and ION and even some questions asked here on baanboard.com
|

3rd January 2023, 16:44
|
Newbie
|
|
Join Date: Jan 2007
Posts: 2
|
|
Baan: BaanIV -
DB: Oracle -
OS: Linux
|
We made a 3-GL script to add a record in an own table with the user and the current date. We created a BMS mask for this, session ttadv4188m000, both options to add mask and boot on yes. This 3-GL script will be started when the bshell is started and a record will be written in the own table.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|