maxhavelaar
9th January 2003, 11:26
Hello

After closing baan (by ba6.1 / bshell6.1 on 700 or ipc_info on 400) I would like to give entrance to the system to a limited number of (normal)users.

I understood from baan support that it would be possible to change the ipc_info file and add in the same directory a file which contains the Baan users names who be allowed to log in.

any suggestions how this might look like?

regards

Max

OmeLuuk
9th January 2003, 12:09
edit the file $BSE/lib/ipc_info
edit the first line: change "bshell" into "bshell_test"
Tell your users to change the bshell name in the BW-configuration screen into "bshell_test"

If you want to give access to all:
copy the first line to a line with "bshell"

maxhavelaar
9th January 2003, 13:06
Ome Luuk, thanks for that idea, I hadnt thought of that. We will implement the GUI later this year, until then what possibilities are there with ascii Baan?

regards

Max

norwim
9th January 2003, 14:50
This should be easy with some scripting.
Create a file that contains the users allowed to log on to baan.
Change the .profile of all users, read this file and grep the users name ($USER). If it is a hit, continue the .profile and call ba6.1, exit if the users name was not found.

hth

Norbert

OmeLuuk
9th January 2003, 14:52
with ASCII you can do the same:
put your bshell name bshell_test into variable DS_AS:
set DS_AS=bshell_name [for ba6.1 only, to specify a specific bshell name from ipc_info] : like setting Bshell Name in bw

You can put this in the .profile of the specific users.

victor_cleto
9th January 2003, 19:53
Go with a simple way (as bsp):

- move your $BSE/lib/user to user.bak
- create a new user directopry, chmod 770 on it
- copy the ufiles of the users that need to login from the user.bak into the user (include uroot and ubsp and any other needs ufiles, like job users)