ltannous
28th December 2002, 06:55
Can' t login as normal user into baan, only root. This happened after I made some addition to a session in ttaad4188m000, I think?
I am pretty sure that it is a file permission issue.
The eror message is "not authorized to run as user bsp" connection to server lost.
evertsen
28th December 2002, 17:15
What change did you make to ttadv4188m000? Did you make this change as ROOT? Can you undo the change, convert to runtime and try again?
ltannous
29th December 2002, 01:34
I was just trying to add a session to give the users a pop up message when they login. I posted the question in baanboard development, and there was a reply to use this session and I did. Not even sure if this acutally created the problem. I tried removing all, and converting to run time, but no change. Do you know what file in UNIX may have the permission problem?
evertsen
29th December 2002, 07:36
Look at $BSE/bin/bshell6.1 and I think there's a baan program that is supposed correct permissions on all Baan files. I think it is $BSE/bin/binperm6.1 (I'm sure about the filename but not the location).
That being said... I've seen this message before but only related to the job daemon. The following quote is from a Baan support case
"This message means that the USER variable in the rc.startjobdm script has been set to a Baan/Triton user, but that you didn't log on as the related Unix user. This can be checked in the session "Maintain user data" (ttaad2100m000). Only the unix user mentioned in this session is allowed to start the jobdaemon when the parameter USER is set to the accompanying Baan/Triton user."
kereni
29th December 2002, 10:11
Look at $BSE/lib/bms_mask file permissions.
kereni
ltannous
30th December 2002, 02:21
The sesison ttadv4188m000 Maintain BMS Mask is where I originally entered the following
Mask Session/Object Automatic add Boot
Mask
pollmess ottstppollmess Yes Yes
Could there be a session/object in this session that may be causing the issue?
UNIX bshell.log
2002-12-29[19:29:17]:E:ltannous: ******* S T A R T of Error message *******
2002-12-29[19:29:17]:E:ltannous: Log message called from /port.6.1c.06.05/vobs/t
t/lib/al_1/al_fpath.c: #187 keyword: sopen
2002-12-29[19:29:17]:E:ltannous: Pid 22844 Uid 236 Euid 236 Gid 125 Egid 125
2002-12-29[19:29:17]:E:ltannous: user_type S language 2 user_name ltannous tty
locale ISO88591/NULL
2002-12-29[19:29:17]:E:ltannous: Errno 13 (Permission denied) bdb_errno 0
2002-12-29[19:29:17]:E:ltannous: Log_mesg:
2002-12-29[19:29:17]:E:ltannous: Error during sopen(${BSE}/lib/user/ultannous;${
BSE_REM}!${BSE}/lib/user/ultannous, )
2002-12-29[19:29:17]:E:ltannous: ******* E N D of Error message *******
2002-12-29[19:29:17]:E:ltannous:
2002-12-29[19:29:17]:E:ltannous: ******* S T A R T of Error message *******
2002-12-29[19:29:17]:E:ltannous: Log message called from /port.6.1c.06.05/vobs/t
t/lib/ds_1/ds_bcnct.c: #181 keyword: DsSendNAck
2002-12-29[19:29:17]:E:ltannous: Pid 22844 Uid 236 Euid 236 Gid 125 Egid 125
2002-12-29[19:29:17]:E:ltannous: user_type S language 2 user_name ltannous tty o
te locale ISO88591/NULL
2002-12-29[19:29:17]:E:ltannous: Errno 0 bdb_errno 0
2002-12-29[19:29:17]:E:ltannous: Log_mesg: Not authorized to run as user 'ltanno
us'
2002-12-29[19:29:17]:E:ltannous: ******* E N D of Error message *******
kereni
30th December 2002, 09:58
Please check the permissions of $BSE/lib/user/u* files. Someone maybe run create runtime for users as user 'root'.
evertsen
30th December 2002, 18:12
"${BSE}/lib/user/ultannous" as the log message states, it's this file or a directory in this path. chmod -r 755 $BSE/lib/user should fix it.
ltannous
30th December 2002, 23:26
Tried the suggestions, no luck. .........
Just figued it out. I change all the owner ship in lib directory to bsp and that worked.
Thanks for all the help.