srikarthy
29th August 2009, 10:02
Hi,

We ran into permission problem while setting up audit trail. The Baan manual says we need to create runtime audit definitions using the user root. But due to this the audits do not happen when users do transactions. The log file gives a permission error for the file audit_cols in lib directory. On close examination we found during create runtime the file audit_cols gets permission -rw-rw---- and owner as root. Root belongs to group sys. It looks like if I add user root also to the bsp group and do a create runtime, audits will get logged while users do transactions. Is this correct? Is it a general practice to add user root to the bsp group in Unix installations? My problem is whenever I use user root in Baan to do administration activity, I get into permission problems for other users later not just for audit trail alone. Usually we do any administration activity using the user bsp which is Infor's recommendation. However Infor recommends to use user root for audit set-up.

Thanks,
srikarthy

jclju1
31st August 2009, 10:48
You need to use user root for one session only - Audit Authorization. Add all authorization to user bsp and all other things do as user bsp.

srikarthy
1st September 2009, 08:15
Thanks for the information. Now I have a general question. Is it dangerous to use the root login for doing any kind of administrative activities? Once I imported a patch using root and got into problem when other users used sessions related to that patch. I had to delete the object files manually and then re-install the patch. All those object files had root as the owner and permission -rw-rw----.

Regards,
srikarthy

Hitesh Shah
1st September 2009, 10:15
For baan admin activities , unless otherwise indicated to do as root , bsp user is sufficient. For wrongly created files u can change the file/directory ownership and permissions through chown / chmod (with -r option if required ) commands .

Even binperm6.1 in porting set can help u correct permissions in $BSE/bin .

srikarthy
2nd September 2009, 05:15
Hi Hitesh,

Thanks very much.

Regards,
srikarthy

HomerSimpson
3rd September 2009, 16:07
Use root only for the sessions where you get the info, please log in into root ...

for example: if you made a patch objecets after system crash with user root, you can only work with user root!!!!